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 },