平台件项目库修改bug

This commit is contained in:
zyx.net
2023-09-28 17:33:03 +08:00
parent bb062d4eb4
commit 3ad9f77b93
2 changed files with 7 additions and 2 deletions
@@ -1207,7 +1207,12 @@
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
if (this.selectedRowKeysList[i].flowStatus == 'List to be released' ||
this.selectedRowKeysList[i].flowStatus == 'Review and pass') {
ids.push(this.selectedRowKeysList[i].id)
if (this.selectedRowKeysList[i].projectCertificationInventoryEOS && (this.selectedRowKeysList[i].projectCertificationInventoryEOS.length > 0 || this.selectedRowKeysList[i].projectCertificationInventoryEOS !== null)) {
this.failedMessage(this.selectedRowKeysList[i].serialNumber + this.$t('platformitemhasbeenassociated') )
return
}else{
ids.push(this.selectedRowKeysList[i].id)
}
} else {
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
}
@@ -109,7 +109,7 @@
let newUrl = this.$router.resolve({
path: '/platformItemLibraryDetails',
query: {
id: item.projectLibraryId,
id: item.id,
projectName: item.projectName+'-'+item.projectVersion,
projectNameId: item.projectName,
targetMarket: item.targetMarket,