Browse Source

2026-01-30

工程变更申请页面【详情】优化
master
fengyuan_yang 4 weeks ago
parent
commit
48fbcf928b
  1. 73
      src/views/modules/changeManagement/changeRecord.vue

73
src/views/modules/changeManagement/changeRecord.vue

@ -89,7 +89,7 @@
label="操作">
<template slot-scope="scope">
<el-link v-if="authUpdate && scope.row.changeStatus !== '已完成'" style="cursor: pointer" @click="updateModal(scope.row)">编辑</el-link>
<el-link v-if="authUpdate && scope.row.changeStatus == '已完成'" style="cursor: pointer" @click="showModal()">详情</el-link>
<el-link v-if="authUpdate && scope.row.changeStatus == '已完成'" style="cursor: pointer" @click="showModal(scope.row)">详情</el-link>
<el-link v-if="authIssue && scope.row.changeStatus === '草稿'" style="cursor: pointer" @click="issueModal(scope.row)">下达</el-link>
<el-link v-if="authDelete && scope.row.changeStatus === '草稿'" style="cursor: pointer" @click="deleteChangeRecord(scope.row)">删除</el-link>
</template>
@ -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
},
//

Loading…
Cancel
Save