diff --git a/src/api/orderIssure/soIssueNotify.js b/src/api/orderIssure/soIssueNotify.js index b41b2d6..bad5dd9 100644 --- a/src/api/orderIssure/soIssueNotify.js +++ b/src/api/orderIssure/soIssueNotify.js @@ -52,5 +52,8 @@ export const getShopOrderFromIFSWithOrderNo = data => createAPI(`/orderIssure/ne export const getSOSBOMForIssureNew = data => createAPI(`/orderIssure/newIssure/getSOSBOMForIssureNew`,'post',data) +// 新增Excel上传接口 +export const uploadNotifyExcel = data => createAPI(`/orderIssure/newIssure/uploadNotifyExcel`,'post',data) + diff --git a/src/views/modules/orderIssure/newSoIssueNotify.vue b/src/views/modules/orderIssure/newSoIssueNotify.vue index e05360d..702e70b 100644 --- a/src/views/modules/orderIssure/newSoIssueNotify.vue +++ b/src/views/modules/orderIssure/newSoIssueNotify.vue @@ -1661,8 +1661,12 @@ export default { }) return } + let data={ + site: this.notifyData.site, + notifyNo: this.notifyData.notifyNo + } this.$nextTick(() => { - this.$refs.walUploadExcel.init() + this.$refs.walUploadExcel.init(data) }) }, // 删除 diff --git a/src/views/modules/orderIssure/walmart_upload_excel.vue b/src/views/modules/orderIssure/walmart_upload_excel.vue index a73d9f0..17f1af9 100644 --- a/src/views/modules/orderIssure/walmart_upload_excel.vue +++ b/src/views/modules/orderIssure/walmart_upload_excel.vue @@ -1,156 +1,181 @@ - + - 下载文件模板 + 下载文件模板 + :before-upload="beforeUploadHandle" :on-change="onChange" :auto-upload="false" :disabled="uploading" style="text-align: left;"> - 将文件拖到此处,或点击上传 + + {{ uploading ? '正在上传中,请稍候...' : '将文件拖到此处,或点击上传' }} + - 保存 - 关闭 + + {{ uploading ? '上传中...' : '保存' }} + + 关闭