From 5fb5b6883895eed6b79a9b20a8bff748134e9cfb Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期三, 27 十二月 2023 12:38:31 +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