From d07d31c1b8e5595fa8892c7f5bbd5e9e8c5cd939 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 28 Sep 2021 14:34:06 +0800
Subject: [PATCH] 20210927

---
 src/main/resources/templates/febs/views/modules/goods/goodsAddNew.html |    8 ++++----
 1 files changed, 4 insertions(+), 4 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..3f97646 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;

--
Gitblit v1.9.1