diff --git a/src/views/modules/eamReport/productPart.vue b/src/views/modules/eamReport/productPart.vue index ef4c44e..f65add0 100644 --- a/src/views/modules/eamReport/productPart.vue +++ b/src/views/modules/eamReport/productPart.vue @@ -37,7 +37,7 @@ export default { sku: '', productDesc: '' }, - exportName: "成品物料编码" + this.dayjs().format('YYYYMMDDHHmmss'), + exportName: "成品物料模块" + this.dayjs().format('YYYYMMDDHHmmss'), dataList: [], dataListSelections: [], total: 0, @@ -345,6 +345,8 @@ export default { this.$message.success(data.msg) this.handleQuery() } else { + this.modalData.sku = '' + this.modalData.productDesc = '' this.$message.error(data.msg) } }).catch() @@ -382,7 +384,7 @@ export default { this.queryParams.page = 1 this.queryParams.pageCount = -1 excel.exportTable({ - url: "/pms/qc/queryEquipmentFolderLocationList", + url: "/pms/qc/queryProductPartList", columnMapping: this.columns,//可以直接用table,不需要的列就剔除 mergeSetting: [],//需要合并的列 params: this.queryParams,