From 9bfcc2dcdd7496a7a391776a03e7abd946661a2d Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期六, 20 七月 2024 16:44:20 +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