退料接收判断

This commit is contained in:
zzyuan 2024-04-22 14:28:40 +08:00
parent 3e1db1b125
commit 9d072eea63
1 changed files with 8 additions and 6 deletions

View File

@ -669,12 +669,14 @@ export default {
this.dialogData.typeMange = row.manageType this.dialogData.typeMange = row.manageType
this.dialogData.typeName = row.typeName this.dialogData.typeName = row.typeName
this.dialogData.typeCode = row.typeCode this.dialogData.typeCode = row.typeCode
row.maTypeDetails.forEach(item => { if(row.maTypeDetails){
this.$set(item, 'qualifiedNum', undefined) row.maTypeDetails.forEach(item => {
this.$set(item, 'serviceNum', undefined) this.$set(item, 'qualifiedNum', undefined)
this.$set(item, 'scrapNum', undefined) this.$set(item, 'serviceNum', undefined)
}) this.$set(item, 'scrapNum', undefined)
this.dialogData.maTypeDetails = row.maTypeDetails })
this.dialogData.maTypeDetails = row.maTypeDetails
}
this.numList = [row] this.numList = [row]
// this.getNumList() // this.getNumList()
}, },