From a101b86d1044dc877de2cb39562bb8dad4f6802e Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Tue, 28 Sep 2021 14:38:26 +0800
Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/xc-mall
---
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