From 19e83bcd49f988e77d39df81192ab116bb991b18 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 07 六月 2023 10:00:51 +0800
Subject: [PATCH] #组托增加重量字段

---
 src/main/webapp/static/js/orderCheck/orderCheck.js |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/static/js/orderCheck/orderCheck.js b/src/main/webapp/static/js/orderCheck/orderCheck.js
index c27b889..29fc78f 100644
--- a/src/main/webapp/static/js/orderCheck/orderCheck.js
+++ b/src/main/webapp/static/js/orderCheck/orderCheck.js
@@ -168,6 +168,8 @@
             });
         }else if (layEvent === 'wrkTrace'){
             showWrkTrace(data.id);
+        }else if (layEvent === 'printExcel'){
+            printExcel(data);
         }
     });
     //鍗曟嵁鏄庣粏琛� 瀹℃牳鎸夐挳
@@ -764,5 +766,17 @@
         console.log(obj.data)
     })
 
+    function printExcel(data){
+        layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+
+           // window.open("http://localhost:8082/stwms/orderCheck/printExport/auth?orderNo="+data.orderNo);
+            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;
+            layer.closeAll('loading');
+        });
+    }
+
 
 });

--
Gitblit v1.9.1