| | |
| | | for (let i in arr) { |
| | | let item = { |
| | | outsourcingOrderNumber: this.editRow.infomation.outsourcingOrderNumber, |
| | | materialNumber: arr[i].id, |
| | | materialNumber: arr[i].number, |
| | | materialName: arr[i].name, |
| | | amount: 1, |
| | | unit: arr[i].unit ? arr[i].unit : 1, |
| | |
| | | specs: arr[i].specs ? arr[i].specs : "" |
| | | } |
| | | console.log(arr, "8989") |
| | | isPush = this.getIsPush(this.productTableList.tableInfomation, arr[i].id) |
| | | isPush = this.getIsPush(this.productTableList.tableInfomation, arr[i].number) |
| | | if (isPush) { |
| | | this.productTableList.tableInfomation.splice(this.productTableList.tableInfomation.length, 0, item) |
| | | } |