From 4a9e93384bd9bf10d1bf7303e2bd0018a58262c1 Mon Sep 17 00:00:00 2001 From: yuejiayang <146344614+YangLei105@users.noreply.github.com> Date: Wed, 4 Dec 2024 16:32:32 +0800 Subject: [PATCH] =?UTF-8?q?2024.12.04=20=E7=89=A9=E6=96=99=E6=88=90?= =?UTF-8?q?=E6=9C=AC=E5=AF=BC=E5=85=A5=E3=80=81=E8=AF=A2=E4=BB=B7=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=96=87=E6=A1=A3=E3=80=81=E9=82=AE=E4=BB=B6=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E9=93=BE=E6=8E=A5=E4=BC=98=E5=8C=96=EF=BC=8C=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=94=B6=E9=9B=86=E6=89=80=E6=9C=89=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=85=A8=E5=B7=A5=E5=BA=8FSOP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/eam/eamProjectInfo.vue | 36 +++++++++++++++++++ .../modules/part/partCostInformation.vue | 7 +++- 2 files changed, 42 insertions(+), 1 deletion(-) 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 } }) },