diff --git a/sgzb-ui/src/views/claimAndRefund/return/returnInDetail.vue b/sgzb-ui/src/views/claimAndRefund/return/returnInDetail.vue index 5cc6f751..83b4b55b 100644 --- a/sgzb-ui/src/views/claimAndRefund/return/returnInDetail.vue +++ b/sgzb-ui/src/views/claimAndRefund/return/returnInDetail.vue @@ -669,12 +669,14 @@ export default { this.dialogData.typeMange = row.manageType this.dialogData.typeName = row.typeName this.dialogData.typeCode = row.typeCode - row.maTypeDetails.forEach(item => { - this.$set(item, 'qualifiedNum', undefined) - this.$set(item, 'serviceNum', undefined) - this.$set(item, 'scrapNum', undefined) - }) - this.dialogData.maTypeDetails = row.maTypeDetails + if(row.maTypeDetails){ + row.maTypeDetails.forEach(item => { + this.$set(item, 'qualifiedNum', undefined) + this.$set(item, 'serviceNum', undefined) + this.$set(item, 'scrapNum', undefined) + }) + this.dialogData.maTypeDetails = row.maTypeDetails + } this.numList = [row] // this.getNumList() },