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/Packag.html | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/HTML/views/BaseSetting/Packag.html b/HTML/views/BaseSetting/Packag.html
index 2335d89..3b39ef5 100644
--- a/HTML/views/BaseSetting/Packag.html
+++ b/HTML/views/BaseSetting/Packag.html
@@ -138,6 +138,7 @@
url: url,
method: 'post',
where: where,
+
contentType: 'application/json',
headers:{ToKen:$.cookie('token')},
page: true,
@@ -149,7 +150,7 @@
$(".delClass").hide();
});
sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) {
- if (res.code == 200) { //鎴愬姛
+ if (res.code == 0) { //鎴愬姛
for (var k = 0; k < res.data.length; k++) {
if (res.data[k].MenuName == "缂栬緫鍖呰") {
$(function() {
@@ -282,7 +283,7 @@
$(".delClass").hide();
});
sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) {
- if (res.code == 200) { //鎴愬姛
+ if (res.code == 0) { //鎴愬姛
for (var k = 0; k < res.data.length; k++) {
if (res.data[k].MenuName == "娣诲姞鍖呰")
{
@@ -334,7 +335,7 @@
doing = false;
sendData(IP + "/Basis/GetPackagList", param, 'post', function (res) {
console.log(res);
- if (res.code == 200) { //鎴愬姛
+ if (res.code == 0) { //鎴愬姛
layer.msg(res.msg, {
icon: 1,
time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
--
Gitblit v1.8.0