From 0464969366317154fdbb51e106ca778b855bdd08 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期六, 17 八月 2024 15:45:28 +0800 Subject: [PATCH] Merge branch 'master' into wxw --- HTML/views/BaseSetting/Materials.html | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HTML/views/BaseSetting/Materials.html b/HTML/views/BaseSetting/Materials.html index 4b67082..a28aba1 100644 --- a/HTML/views/BaseSetting/Materials.html +++ b/HTML/views/BaseSetting/Materials.html @@ -275,7 +275,7 @@ $(function() { $(".approvalBtnupt").hide(); }); - if (res.code == 200) //鎴愬姛 + if (res.code == 0) //鎴愬姛 { for (var k = 0; k < res.data.length; k++) { if (res.data[k].MenuName == "娣诲姞鐗╂枡") @@ -459,7 +459,7 @@ doing = false; sendData(IP + "/Basis/AddMate", param, 'post',function(res) { console.log(res); - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 @@ -559,7 +559,7 @@ doing = false; sendData(IP + "/Basis/DelMate?Id="+data.Id+"", {} , 'get', function(res) { console.log(res); - if (res.code == 200) { //鎴愬姛 + if (res.code == 0) { //鎴愬姛 layer.msg(res.msg, { icon: 1, time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 @@ -641,7 +641,7 @@ doing = false; sendData(IP + "/Basis/ExitMate", param, 'post', function(res) { - if (res.code == 200) //鎴愬姛 + if (res.code == 0) //鎴愬姛 { layer.msg("淇敼鎴愬姛", { icon: 1, -- Gitblit v1.8.0