From 5289e9842a8889f4128d95501ae80e1e93f4d6ac Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sun, 26 Sep 2021 17:35:41 +0800
Subject: [PATCH] fix
---
src/main/resources/templates/febs/views/modules/product/categoryUpdate.html | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/product/categoryUpdate.html b/src/main/resources/templates/febs/views/modules/product/categoryUpdate.html
index fba11ee..cd8573b 100644
--- a/src/main/resources/templates/febs/views/modules/product/categoryUpdate.html
+++ b/src/main/resources/templates/febs/views/modules/product/categoryUpdate.html
@@ -36,8 +36,8 @@
<div class="layui-form-item">
<label class="layui-form-label">父类:</label>
<div class="layui-input-inline">
- <select name="parentId" class="categary-update-category">
- <option value="'+[[${member}]].parentId+'">请选择</option>
+ <select name="parentId" class="categary-update-category" id="categarySelect">
+ <option value="">请选择</option>
</select>
</div>
</div>
@@ -93,6 +93,7 @@
}
layui.use('form', function () {
var form = layui.form;
+ $("#categarySelect").val(member.parentId)
form.render();
});
});
@@ -135,7 +136,7 @@
form.on('submit(categary-update-form-submit)', function (data) {
febs.post(ctx + 'admin/goodsCategory/updateCategory', data.field, function () {
layer.closeAll();
- febs.alert.success('新增成功');
+ febs.alert.success('操作成功');
$('#febs-user').find('#reset').click();
});
return false;
--
Gitblit v1.9.1