平台件项目库修改bug
This commit is contained in:
@@ -1207,7 +1207,12 @@
|
|||||||
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
for (let i = 0; i < this.selectedRowKeysList.length; i++) {
|
||||||
if (this.selectedRowKeysList[i].flowStatus == 'List to be released' ||
|
if (this.selectedRowKeysList[i].flowStatus == 'List to be released' ||
|
||||||
this.selectedRowKeysList[i].flowStatus == 'Review and pass') {
|
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 {
|
} else {
|
||||||
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
notConditions.push(this.selectedRowKeysList[i].inspectionItem)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -109,7 +109,7 @@
|
|||||||
let newUrl = this.$router.resolve({
|
let newUrl = this.$router.resolve({
|
||||||
path: '/platformItemLibraryDetails',
|
path: '/platformItemLibraryDetails',
|
||||||
query: {
|
query: {
|
||||||
id: item.projectLibraryId,
|
id: item.id,
|
||||||
projectName: item.projectName+'-'+item.projectVersion,
|
projectName: item.projectName+'-'+item.projectVersion,
|
||||||
projectNameId: item.projectName,
|
projectNameId: item.projectName,
|
||||||
targetMarket: item.targetMarket,
|
targetMarket: item.targetMarket,
|
||||||
|
|||||||
Reference in New Issue
Block a user