From 1e4e6e8aa4b738320bf8b5a0ee43aa62ca2c13e7 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 14 Apr 2021 14:46:36 +0800
Subject: [PATCH] finish paiban add proj

---
 zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html |   11 +++++------
 1 files changed, 5 insertions(+), 6 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 030bd6e..fc68800 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,14 @@
             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
                 });
+                parent.myGrid.serchData();
             }
             $("#showFileName").val('');
             var file = $("#chanceUploadId");
@@ -117,7 +116,7 @@
 
 
     function download() {
-        window.location.href=  "https://xcshop.csxuncong.com/templates/logisticsImport.xls";
+        window.location.href=basePath + "/uploadfile/image/logisticsImport.xls";
     }
 </script>
 </body>

--
Gitblit v1.9.1