From bdd84cc48ba7b2527584c44d174da8e7d20c5375 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期三, 18 九月 2024 16:37:13 +0800
Subject: [PATCH] 增加对申请入库时对平库库位的校验

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

diff --git a/HTML/views/SystemSettings/InterfaceDetail.html b/HTML/views/SystemSettings/InterfaceDetail.html
index 7ad6f30..90a6e5c 100644
--- a/HTML/views/SystemSettings/InterfaceDetail.html
+++ b/HTML/views/SystemSettings/InterfaceDetail.html
@@ -331,7 +331,7 @@
 					InterfaceNo: id
 				};
 				sendData(IP + "/Basis/GetInterfaceList", param, 'post', function (res) {
-					if (res.code == 200) {
+					if (res.code == 0) {
 						var data = res.data.Items[0];
 						$("input[name='InterfaceNo']").val(data.InterfaceNo);
 						$("input[name='InterfaceName']").val(data.InterfaceName);
@@ -347,7 +347,7 @@
 							InterfaceNo: id
 						};
 						sendData(IP + "/Basis/GetInterfaceDetailList", paramDetail, 'post', function (res) {
-							if (res.code == 200) { //鎴愬姛
+							if (res.code == 0) { //鎴愬姛
 								var data = res.data.Items;
 								//椤甸潰璧嬪��
 								$.extend(infoOptions, {
@@ -533,7 +533,7 @@
 						if (id == null) {
 							// 娣诲姞
 							sendData(IP + "/Basis/AddInterface", item2, 'post', function (res) {
-								if (res.code == 200) { //鎴愬姛
+								if (res.code == 0) { //鎴愬姛
 									layer.msg(res.msg, {
 										icon: 1,
 										time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -553,7 +553,7 @@
 						else {
 							// 缂栬緫
 							sendData(IP + "/Basis/EditInterface", item2, 'post', function (res) {
-								if (res.code == 200) { //鎴愬姛
+								if (res.code == 0) { //鎴愬姛
 									layer.msg(res.msg, {
 										icon: 1,
 										time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級

--
Gitblit v1.8.0