Commit 32c85d752c8334721917c1ac763abe478822ec02
1 parent
5951956d
处理报错问题;
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/QuoQuotation/QuotationPackTableTree/QuotationPackTableTree.js
| @@ -6757,9 +6757,9 @@ class QuotationPackTableTree extends Component { | @@ -6757,9 +6757,9 @@ class QuotationPackTableTree extends Component { | ||
| 6757 | } | 6757 | } |
| 6758 | } | 6758 | } |
| 6759 | } else { /* packData没数据时 */ | 6759 | } else { /* packData没数据时 */ |
| 6760 | - const packDataRow = this.handlePackDataAdd(slaveItem, 0, tableDataRow.sId, 'add'); | 6760 | + const packDataRow = this.handlePackDataAdd(slaveDataRow, 0, tableDataRow.sId, 'add'); |
| 6761 | packDataRow.dCombineQty = tableDataRow.dSinglePQty; | 6761 | packDataRow.dCombineQty = tableDataRow.dSinglePQty; |
| 6762 | - packDataRow.dFactProductQty = commonUtils.isNull(slaveItem.dProductQty, 0); /* 排版数为1时,实际生产数 = 产品数 */ | 6762 | + packDataRow.dFactProductQty = commonUtils.isNull(slaveDataRow.dProductQty, 0); /* 排版数为1时,实际生产数 = 产品数 */ |
| 6763 | if (tableDataRow.dSinglePQty > 0) { | 6763 | if (tableDataRow.dSinglePQty > 0) { |
| 6764 | const { sId, sProductNo, dProductQty, dCombineQty, dFactProductQty,sCombinePartsName }= packDataRow; | 6764 | const { sId, sProductNo, dProductQty, dCombineQty, dFactProductQty,sCombinePartsName }= packDataRow; |
| 6765 | const tableCombineSelectedData =[]; | 6765 | const tableCombineSelectedData =[]; |