From a1d526f1de490246a7b58460f5ca4f1fefbde45a Mon Sep 17 00:00:00 2001 From: hwh <332078369@qq.com> Date: 星期四, 13 六月 2024 08:33:00 +0800 Subject: [PATCH] 出库标签打印 --- HTML_09/views/SystemSettings/Dictionary.html | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/HTML_09/views/SystemSettings/Dictionary.html b/HTML_09/views/SystemSettings/Dictionary.html index 1b4c80d..7af85bf 100644 --- a/HTML_09/views/SystemSettings/Dictionary.html +++ b/HTML_09/views/SystemSettings/Dictionary.html @@ -377,6 +377,31 @@ } } } + else if(field.Level == '0'){ + if(doing){ + doing = false; + sendData(IP + "/sys/AddDic", param, 'post',function(res) { + console.log(res); + if (res.code == 0) { //鎴愬姛 + layer.msg(res.msg, { + icon: 1, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function() { + layer.close(index); //鍏抽棴寮瑰眰 + refreshTable($("#DictName").val(),$("#ParentNo").val(),$("#Level").val(), $("#IsEdit").val(), $("#IsAdd").val()); + doing = true; + }); + } + else + { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function() {doing = true;}); + } + }); + } + } }); submit.trigger('click'); -- Gitblit v1.8.0