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/FunSetting.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/HTML/views/SystemSettings/FunSetting.html b/HTML/views/SystemSettings/FunSetting.html
index e631df5..c264676 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 == 200)
+ if (res.code == 0)
{ //鎴愬姛
var list = res.data;
$.extend(infoOptions, {
@@ -125,7 +125,7 @@
$(".approvalBtndel").hide();
});
console.log(res)
- if (res.code == 200) { //鎴愬姛
+ if (res.code == 0) { //鎴愬姛
for (var k = 0; k < res.data.length; k++) {
if (res.data[k].MenuName == "娣诲姞璁惧畾") {
$(function() {
@@ -256,7 +256,7 @@
doing = false;
sendData(IP + "/basis/AddFunSettings", param, 'post',function(res) {
console.log(res);
- if (res.code == 200)
+ if (res.code == 0)
{ //鎴愬姛
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 == 200)
+ if (res.code == 0)
{ //鎴愬姛
layer.msg(res.msg, {
icon: 1,
@@ -400,7 +400,7 @@
doing = false;
sendData(IP + "/basis/ExitFunSettings", param, 'post',
function(res) {
- if (res.code == 200)
+ if (res.code == 0)
{ //鎴愬姛
layer.msg("淇敼鎴愬姛", {
icon: 1,
--
Gitblit v1.8.0