From 34bfa7df61921f7d1798fc08db0b8d81828da96b Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期二, 02 七月 2024 08:07:57 +0800
Subject: [PATCH] 物料、部门、功能设定

---
 HTML/views/SystemSettings/FunSetting.html |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HTML/views/SystemSettings/FunSetting.html b/HTML/views/SystemSettings/FunSetting.html
index b826016..e631df5 100644
--- a/HTML/views/SystemSettings/FunSetting.html
+++ b/HTML/views/SystemSettings/FunSetting.html
@@ -104,7 +104,7 @@
 						GroupNo: GroupNo
 					};
 					sendData(IP + "/Basis/GetFunSettingList?FunSetName="+FunSetName+"&&IsEnable="+IsEnable+"&&GroupNo="+GroupNo, {}, 'get', function(res) {
-						if (res.code == 0)
+						if (res.code == 200)
 						{ //鎴愬姛
 							var list = res.data;
 							$.extend(infoOptions, {
@@ -256,7 +256,7 @@
 											doing = false;
 											sendData(IP + "/basis/AddFunSettings", param, 'post',function(res) {
 												console.log(res);
-												if (res.code == 0)
+												if (res.code == 200)
 												{ //鎴愬姛
 													layer.msg(res.msg, {
 														icon: 1,
@@ -340,7 +340,7 @@
 								doing = false;
 								sendData(IP + "/Basis/DelFunSettings?Id="+data.Id+"", {} , 'get', function(res) {
 									console.log(res);
-									if (res.code == 0)
+									if (res.code == 200)
 									{ //鎴愬姛
 										layer.msg(res.msg, {
 											icon: 1,
@@ -400,7 +400,7 @@
 										doing = false;
 										sendData(IP + "/basis/ExitFunSettings", param, 'post',
 										function(res) {
-											if (res.code == 0)
+											if (res.code == 200)
 											{ //鎴愬姛
 												layer.msg("淇敼鎴愬姛", {
 													icon: 1,

--
Gitblit v1.8.0