From e5bacef1255620328243ba2fdd9363ffc53d2ab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=AE=8F=E6=96=8C?= <2164406372@qq.com> Date: Fri, 28 Nov 2025 13:18:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B8=85=E7=A9=BA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/eam/eamProjectInfo.vue | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/views/modules/eam/eamProjectInfo.vue b/src/views/modules/eam/eamProjectInfo.vue index 7398e0d..1629e3b 100644 --- a/src/views/modules/eam/eamProjectInfo.vue +++ b/src/views/modules/eam/eamProjectInfo.vue @@ -450,6 +450,7 @@ + 清空 保存 关闭 @@ -468,6 +469,18 @@ + + + 文档工程师2 + IPQC-Hardtag + 前道工程师 + + + 确定 + 关闭 + + + @@ -1126,6 +1139,9 @@ import {updateColumnSize} from "../../../api/table"; docEngineerFlag:false, docEngineer2Flag:false, newCustomerFlag:false, + clearButtonFlag:false, + clearModalFlag:false, + clearRadioValue: '', modalData:{ flag:'', bu: '', @@ -3384,6 +3400,7 @@ import {updateColumnSize} from "../../../api/table"; } this.modalDisableFlag = false this.modalPartDisableFlag = false + this.clearButtonFlag = false this.modalFlag = true }, updateModal (row) { @@ -3454,6 +3471,7 @@ import {updateColumnSize} from "../../../api/table"; } this.modalDisableFlag = true this.modalPartDisableFlag = false + this.clearButtonFlag = true this.modalFlag = true }, // 删除 @@ -3482,6 +3500,20 @@ import {updateColumnSize} from "../../../api/table"; }).catch(() => { }) }, + // 清空数据 确定按钮 + clearData() { + if (this.clearRadioValue === '文档工程师2'){ + this.modalData.docEngineer2 = '' + this.modalData.docEngineer2Name = '' + } else if (this.clearRadioValue === 'IPQC-Hardtag'){ + this.modalData.ipqcHardTag = '' + this.modalData.ipqcHardTagName = '' + } else if (this.clearRadioValue === '前道工程师'){ + this.modalData.cQualityEngineer7 = '' + this.modalData.cQualityEngineer7Name = '' + } + this.clearModalFlag = false + }, saveData () { this.modalData.oriProjectId = this.modalData.projectNo this.modalData.finalCustomerId = this.modalData.customerNo @@ -4362,6 +4394,7 @@ import {updateColumnSize} from "../../../api/table"; } this.modalDisableFlag = true this.modalPartDisableFlag = true + this.clearButtonFlag = true this.modalFlag = true },