From bbe56bf9f6e66b3c1d0085838a6c16b76b0924f5 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 01 Oct 2021 20:36:58 +0800
Subject: [PATCH] add reset pwd

---
 src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html b/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
index 38b58f6..7dc5a75 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html
@@ -23,7 +23,7 @@
                                 <div class="layui-col-lg6">
                                     <label class="layui-form-label febs-form-item-require">所属分类:</label>
                                     <div class="layui-input-block">
-                                        <select name="categoryId" class="categary-update-category" >
+                                        <select name="categoryId" class="categary-addPeoduct" >
                                             <option value="">请选择</option>
                                         </select>
                                     </div>
@@ -106,7 +106,7 @@
                             <div class="layui-form-item">
                                 <label class="layui-form-label febs-form-item-require">商品详情:</label>
                                 <div class="layui-input-block">
-                                    <textarea id="lay_edit" name = "goodsDetails" class="layui-textarea"></textarea>
+                                    <textarea id="lay_edit" lay-verify="goodsDetails" name = "goodsDetails" class="layui-textarea"></textarea>
                                 </div>
                             </div>
                             <div class="layui-row layui-col-space10 layui-form-item">
@@ -156,10 +156,10 @@
 
 
         //(下拉框)
-        $.get(ctx + 'admin/goodsCategory/categorys/tree', function (data) {
+        $.get(ctx + 'admin/goodsCategory/categorys/allTree', function (data) {
             for (var k in data)
             {
-                $(".categary-update-category").append("<option value='" + data[k].parentId + "'>" + data[k].name + "</option>");
+                $(".categary-addPeoduct").append("<option value='" + data[k].parentId + "'>" + data[k].name + "</option>");
             }
             layui.use('form', function () {
                 var form = layui.form;
@@ -190,7 +190,7 @@
             }
         });
 
-        //多图片上传
+        //图片上传
         upload.render({
             elem: '#test2'
             ,url: ctx + 'admin/goods/uploadFileBase64' //改成您自己的上传接口

--
Gitblit v1.9.1