From 4bc6f264cbcdaf42c0febf00888d9441ad594be3 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 13 Apr 2021 21:22:39 +0800 Subject: [PATCH] 20210413 后台订单管理修改 --- zq-erp/src/main/resources/templates/views/admin/shop/logisticsImport-form.html | 12 +++++------- 1 files changed, 5 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..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,8 +116,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