From 36bc19fa86ff5aa9f1ae1f8a1de22d777d8a2406 Mon Sep 17 00:00:00 2001
From: jyy <jyy>
Date: Tue, 08 Jun 2021 18:12:29 +0800
Subject: [PATCH] 修改主键自增问题
---
zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html | 11 ++++++-----
1 files changed, 6 insertions(+), 5 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 c19f9d2..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: '导入快递单,部分失败',
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.xlsx";
+ window.location.href=basePath + "/uploadfile/image/logisticsImport.xls";
}
</script>
</body>
--
Gitblit v1.9.1