| | |
| | | let process = titleUploadData.value.thisProcess |
| | | let laminating = titleUploadData.value.laminating |
| | | equalByOrderNum.forEach((row) =>{ |
| | | if (laminating == 'laminating'){ |
| | | if (laminating != ''){ |
| | | row.completedQuantity= brokenRow.value.quantity*1-maxQuantity |
| | | } |
| | | }) |
| | |
| | | let laminating = titleUploadData.value.laminating |
| | | if (column.property==='completedQuantity') { |
| | | xGrid.value.getTableData().fullData.forEach((item, index) =>{ |
| | | if(item.order_number===row.order_number && laminating == 'laminating'){ |
| | | if(item.order_number===row.order_number && laminating != ''){ |
| | | item.completedQuantity=row.completedQuantity |
| | | } |
| | | }) |
| | |
| | | const arr = xGrid.value.getTableData().fullData |
| | | //根据是否合片工序过滤 |
| | | const returnArr = |
| | | laminating === "laminating" |
| | | laminating != "" |
| | | ? arr.filter((obj, index, self) => |
| | | self.findIndex((t) => t.order_number === obj.order_number) === index |
| | | ) |