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/BaseSetting/Department.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/HTML/views/BaseSetting/Department.html b/HTML/views/BaseSetting/Department.html
index 8b257af..4c506bc 100644
--- a/HTML/views/BaseSetting/Department.html
+++ b/HTML/views/BaseSetting/Department.html
@@ -95,7 +95,7 @@
sendData(IP + "/Basis/GetDepartmentList?DepartmentName=" + DepartmentName + "&&DepartmentNo=" + DepartmentNo, {}, "get", function (res) {
console.log(res.data);
- if (res.code == 200)
+ if (res.code == 0)
{
//鎴愬姛
var list = res.data;
@@ -133,7 +133,7 @@
$(function() {
$(".approvalBtnupt").hide();
});
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
for (var k = 0; k < res.data.length; k++)
{
@@ -253,7 +253,7 @@
Demo: field.Demo,
};
sendData( IP + "/Basis/AddDepartment", param, "post", function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
layer.msg(
res.msg,
@@ -343,7 +343,7 @@
msg: cusid,
};
sendData( IP + "/Basis/DelDepartment?Id="+cusid+"",{},"get",function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
layer.msg(
res.msg,
@@ -410,7 +410,7 @@
Demo: field.Demo,
};
sendData( IP + "/Basis/ExitDepartment", param, "post", function (res) {
- if (res.code == 200) //鎴愬姛
+ if (res.code == 0) //鎴愬姛
{
layer.msg("淇敼鎴愬姛",
{
--
Gitblit v1.8.0