From 8826a713798e645e42381227e9263c16c65c9f97 Mon Sep 17 00:00:00 2001
From: hwh <332078369@qq.com>
Date: 星期五, 05 七月 2024 15:04:47 +0800
Subject: [PATCH] 客户、物流、单位、包装

---
 HTML/views/BaseSetting/LogisticsInfo.html |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/HTML/views/BaseSetting/LogisticsInfo.html b/HTML/views/BaseSetting/LogisticsInfo.html
index 7d7d190..7d5959d 100644
--- a/HTML/views/BaseSetting/LogisticsInfo.html
+++ b/HTML/views/BaseSetting/LogisticsInfo.html
@@ -137,6 +137,7 @@
                     height: h1,
                     id: 'LAY-app-content-list',
                     where: param,
+					parseData: FnParseData,
                     contentType: 'application/json',
                     headers:{ToKen:$.cookie('token')},
                     // toolbar:'#toolbarDemo',
@@ -323,7 +324,7 @@
 
                             sendData(IP + "/Basis/DelsLogisticsInfo", param, 'post', function (res) {
                                 console.log(res);
-                                if (res.code == 0) { //鎴愬姛
+                                if (res.code == 200) { //鎴愬姛
                                     layer.msg(res.msg, {
                                         icon: 1,
                                         time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -375,7 +376,7 @@
                                     };
                                     sendData(IP + "/Basis/AddLogisticsInfo", param, 'post', function (res) {
                                         console.log(res);
-                                        if (res.code == 0) { //鎴愬姛
+                                        if (res.code == 200) { //鎴愬姛
                                             layer.msg(res.msg, {
                                                 icon: 1,
                                                 time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -427,7 +428,7 @@
                             };
                             sendData(IP + "/Basis/DelLogisticsInfo", param, 'post', function (res) {
                                 console.log(res);
-                                if (res.code == 0) { //鎴愬姛
+                                if (res.code == 200) { //鎴愬姛
                                     layer.msg(res.msg, {
                                         icon: 1,
                                         time: 1000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
@@ -482,7 +483,7 @@
                                     sendData(IP + "/Basis/EditLogisticsInfo", param, 'post',
                                         function (res) {
                                             console.log(res);
-                                            if(res.code == 0) { //鎴愬姛
+                                            if(res.code == 200) { //鎴愬姛
                                                 layer.msg(res.msg, {
                                                     icon: 1,
                                                     time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級

--
Gitblit v1.8.0