From a546b70a863e44c2e8735b3cfc9da45a781b735f Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期五, 03 十一月 2023 10:10:33 +0800 Subject: [PATCH] #托盘码下架 --- src/main/webapp/static/js/orderCheck/orderCheck.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/orderCheck/orderCheck.js b/src/main/webapp/static/js/orderCheck/orderCheck.js index 29fc78f..6f40753 100644 --- a/src/main/webapp/static/js/orderCheck/orderCheck.js +++ b/src/main/webapp/static/js/orderCheck/orderCheck.js @@ -421,7 +421,7 @@ json.data = selectList; console.log(json); - if ( tp == 2 || tp == ''){ + if ( tp == 3 || tp == ''){ $.ajax({ url: baseUrl+"/orderCheck/create/auth", headers: {'token': localStorage.getItem('token')}, @@ -430,6 +430,7 @@ method: 'POST', async: false, success: function (res) { + xxDataList = [] if (res.code === 200){ for (var i =0;i<res.data.length;i++){ xxDataList.push(res.data[i]); @@ -444,7 +445,7 @@ } } }) - }else if (tp == 3){ + }else if (tp == 2){ $.ajax({ url: baseUrl+"/orderCheck/create/loc/auth", headers: {'token': localStorage.getItem('token')}, @@ -773,7 +774,7 @@ layer.closeAll(); layer.load(1, {shade: [0.1,'#fff']}); // location.href = "http://192.168.4.121:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo; - location.href = "http://47.97.1.152:58080/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo; + location.href = baseUrl+"/orderCheck/printExport/auth?orderNo="+data.orderNo; layer.closeAll('loading'); }); } -- Gitblit v1.9.1