| | |
| | | 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"); |
| | |
| | | |
| | | |
| | | 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> |