From 23c3bc31f574ee9573c8045edad0233b55a0ffa6 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Thu, 11 Nov 2021 22:43:13 +0800
Subject: [PATCH] fix

---
 zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html b/zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html
index 7ad2f92..a1ea86c 100644
--- a/zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html
@@ -98,15 +98,16 @@
             layer.closeAll('loading');
             console.log(data)
             if (data.status == "200") {
-                layer.open({
-                    title: '导入快递单',
-                    content: data.info
-                });
+                parent.layer.close(parent.layer.getFrameIndex(window.name));
+                parent.myGrid.serchData();
             } else {
                 layer.open({
-                    title: '导入快递单',
+                    title: '导入快递单,部分失败',
                     content: data.info
                 });
+                var url = basePath + "/admin/shopOrder/exportLogisticsImportExcel";
+                window.open(url);
+                parent.myGrid.serchData();
             }
             $("#showFileName").val('');
             var file = $("#chanceUploadId");
@@ -117,8 +118,7 @@
 
 
     function download() {
-        //window.location.href=  "https://xcshop.csxuncong.com/uploadefile/image/logisticsImport.xls";
-        window.location.href=  "http://xcshop.csxuncong.com/uploadfile/image/logisticsImport.xls";
+        window.location.href=basePath + "/uploadfile/image/logisticsImport.xls";
     }
 </script>
 </body>

--
Gitblit v1.9.1