mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-06-10 05:57:50 +08:00
【修复】修复分销等级删除失败的问题。
This commit is contained in:
@@ -205,6 +205,17 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//执行单个删除
|
||||||
|
function doDelete(obj) {
|
||||||
|
layer.confirm('确定删除吗?删除后将无法恢复。', function (index) {
|
||||||
|
coreHelper.Post("Api/CoreCmsDistributionGrade/DoDelete", { id: obj.data.id }, function (e) {
|
||||||
|
if (debug) { console.log(e); } //开启调试返回数据
|
||||||
|
table.reloadData('LAY-app-CoreCmsDistributionGrade-tableBox');
|
||||||
|
layer.msg(e.msg);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
//监听 表格复选框操作
|
//监听 表格复选框操作
|
||||||
|
|
||||||
layui.form.on('switch(switch_isDefault)', function (obj) {
|
layui.form.on('switch(switch_isDefault)', function (obj) {
|
||||||
|
|||||||
Reference in New Issue
Block a user