From a1fa84b13ffdf8f9ba9f474466bbe915d27522c7 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Thu, 15 Apr 2021 23:20:24 +0800
Subject: [PATCH] modify
---
zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html | 13 +++++++------
1 files changed, 7 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..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,7 +118,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