diff --git a/src/views/modules/changeManagement/changeRecord.vue b/src/views/modules/changeManagement/changeRecord.vue index bc4602a..2775291 100644 --- a/src/views/modules/changeManagement/changeRecord.vue +++ b/src/views/modules/changeManagement/changeRecord.vue @@ -89,7 +89,7 @@ label="操作"> @@ -3983,9 +3983,78 @@ this.modalDisableFlag = true this.showModalFlag = false }, - showModal(){ + + // 详情模态框(只读模式,参考编辑功能加载数据) + showModal (row) { + this.modalData = { + site: row.site, + changeNo: row.changeNo, + applicantId: row.applicantId, + applicantName: row.applicantName, + applicationDepartmentId: row.applicationDepartmentId, + applicationDepartmentName: row.applicationDepartmentName, + applyDate: row.applyDate, + ecnType: row.ecnType, + changeImpact: row.changeImpact, + changeImpactDesc: row.changeImpactDesc, + ecnStage: row.ecnStage, + changeType: row.changeType, + tpEngineerId: row.tpEngineerId, + tpEngineerName: row.tpEngineerName, + changePhaseInDate: row.changePhaseInDate, + dfIsProduct: row.dfIsProduct, + printing: row.printing, + manufacturingCostIsChange: row.manufacturingCostIsChange, + changeRequestDesc: row.changeRequestDesc, + isReQuote: row.isReQuote, + ulCertificationRequirements: row.ulCertificationRequirements, + ulContinueToMeetDemand: row.ulContinueToMeetDemand, + gpCertificationRequirements: row.gpCertificationRequirements, + gpContinueToMeetDemand: row.gpContinueToMeetDemand, + updateBy: this.$store.state.user.name, + detailList: [], + ecnTypeData: [], + industrialEngineerId: row.industrialEngineerId, + industrialEngineerName: row.industrialEngineerName, + changeStatus: row.changeStatus, + cqcOperatorId: row.cqcOperatorId, + cqcOperatorName: row.cqcOperatorName, + faiOperatorId: row.faiOperatorId, + faiOperatorName: row.faiOperatorName, + nodeConclusion: '', + rejectOpinion: '', + stepId: row.stepId, + rejectFlag: row.rejectFlag, + rejectStepId: row.rejectStepId, + isReject: row.isReject, + menuId: this.$route.meta.menuId, + userName: this.$store.state.user.name, + nodeId: row.nodeId, + buNo: row.buNo, + createBy2: row.createBy2, + tpProcessControl: row.tpProcessControl, + csProcessControl: row.csProcessControl + } + this.changeTitle = '变更申请详情-' + this.modalData.changeNo + // 查选择的ECN种类 + this.getChangeChooseEcnType() + // 查变更单明细 + this.changeRequestDetailSearch() + // 查变更单库存成本影响 + this.inventoryCostImpactSearch() + // 查变更单TP&执行信息 + this.tpExecutionInfoSearch() + // 查变更单会签信息 + this.countersignatureSearch() + // 查询DelegateAccess人员列表 + this.searchDelegateAccessByUser() + // 回显已选择的DelegateAccess人员 + this.searchDelegateAccess() + this.activeName = 'basicInformation' + // 设置为只读模式 this.showModalFlag = true this.modalFlag = true + this.modalDisableFlag = true }, // 下达