diff --git a/src/views/modules/eam/eamProjectInfo.vue b/src/views/modules/eam/eamProjectInfo.vue index bcc1cd2..f606546 100644 --- a/src/views/modules/eam/eamProjectInfo.vue +++ b/src/views/modules/eam/eamProjectInfo.vue @@ -1618,6 +1618,42 @@ import {searchBusinessInfo7} from "../../../api/factory/site"; fixed: '', columnWidth: 100, }, + { + userId: this.$store.state.user.name, + functionId: 401003, + serialNumber: '401003Table2CustomerNo', + tableId: "401003Table2", + tableName: "项目信息表", + columnProp: "customerNo", + headerAlign: "center", + align: "left", + columnLabel: "客户编码", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 100 + }, + { + userId: this.$store.state.user.name, + functionId: 401003, + serialNumber: '401003Table2CustomerDesc', + tableId: "401003Table2", + tableName: "项目信息表", + columnProp: "customerDesc", + headerAlign: "center", + align: "left", + columnLabel: "客户名称", + columnHidden: false, + columnImage: false, + columnSortable: false, + sortLv: 0, + status: true, + fixed: '', + columnWidth: 150 + }, { userId: this.$store.state.user.name, functionId: 401003, diff --git a/src/views/modules/part/partCostInformation.vue b/src/views/modules/part/partCostInformation.vue index c9df68d..252bb65 100644 --- a/src/views/modules/part/partCostInformation.vue +++ b/src/views/modules/part/partCostInformation.vue @@ -175,7 +175,7 @@ - 保存 + {{ isLoading ? '保存中...' : '保存'}} 关闭 @@ -210,6 +210,7 @@ export default { // 导入 titleCon: '文件导入', visible: false, + isLoading: false, fileList: [], // 条件查询 searchData: { @@ -1049,6 +1050,7 @@ export default { // 保修当前的数据 saveUploadFile () { + this.isLoading = true // 判断文件是否上传 if (null == this.fileList || 0 === this.fileList.length) { this.$message.error("请先上传文件!") @@ -1061,10 +1063,13 @@ export default { savePartCostComponentByExcel(formData).then(({data}) => { if (data.code === 0) { this.$message.success(data.msg) + this.getDataList() // 关闭窗口并刷新页面 this.closeUploadDialog() + this.isLoading = false } else { this.$message.warning(data.msg) + this.isLoading = false } }) },