项目库已关联的不能走流程提示语

This commit is contained in:
zyx.net
2023-09-27 16:48:44 +08:00
parent 62dc584391
commit 550658aef1
@@ -2917,17 +2917,17 @@
dataSource[i].verifyFlowStatus == 'Regulatory engineer returns' ||
dataSource[i].designFlowStatus == 'List to be released' ||
dataSource[i].designFlowStatus == 'Regulatory engineer returns') {
if(dataSource[i].projectLawsInventoryEOS && (dataSource[i].projectLawsInventoryEOS.length > 0 || dataSource[i].projectLawsInventoryEOS !== null)){
// if(dataSource[i].projectLawsInventoryEOS && (dataSource[i].projectLawsInventoryEOS.length > 0 || dataSource[i].projectLawsInventoryEOS !== null)){
if (dataSource[i].regulationOwnerId) {
this.detailedSuccessList.push(dataSource[i])
} else {
this.detailedWarningList.push(
< div > { dataSource[i].serialNumber + this.$t('TheEngineerAndCertification') } < /div>)
}
}else{
this.detailedWarningList.push(
< div > { dataSource[i].serialNumber + this.$t('platformitemhasbeenassociated') } < /div>)
}
// }else{
// this.detailedWarningList.push(
// < div > { dataSource[i].serialNumber + this.$t('platformitemhasbeenassociated') } < /div>)
// }
} else {
this.detailedWarningList.push(
< div > { dataSource[i].serialNumber + ',' + this.$t('pleaseSelectinitiatedOrRejected') } < /div>)
@@ -3085,8 +3085,13 @@
dataSource[i].designFlowStatus == 'List to be checked' ||
dataSource[i].verifyFlowStatus == 'Duty Person Rejected' ||
dataSource[i].designFlowStatus == 'Duty Person Rejected') {
idList.push(dataSource[i].id)
this.rowKeysSuccessList.push(dataSource[i])
if (dataSource[i].projectLawsInventoryEOS && (dataSource[i].projectLawsInventoryEOS.length > 0 || dataSource[i].projectLawsInventoryEOS !== null)) {
this.detailedWarningList.push(
< div > { dataSource[i].serialNumber + this.$t('platformitemhasbeenassociated') } < /div>)
}else{
idList.push(dataSource[i].id)
this.rowKeysSuccessList.push(dataSource[i])
}
} else if (dataSource[i].designFlowStatus == 'NA' || dataSource[i].verifyFlowStatus == 'NA') {
this.detailedWarningList.push(
< div > { dataSource[i].serialNumber + this.$t('pleaseSelectTheDataverificationVerified') } < /div>)