From 207823b94f5627fae49d29b51b5ce7186a70c8e0 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期六, 04 一月 2025 09:59:48 +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