|
|
@ -433,13 +433,15 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
newRow['uom'] = item['uom'] |
|
|
|
newRow['checkQty'] = item['qty'] //用于保存的时候作校验 HL-5524 |
|
|
|
newRow['qty'] = item['qty'] |
|
|
|
if(item['packingNumber']&&item['packingNumber'].length>0){ |
|
|
|
newRow['packUnit'] = item['packUnit'] |
|
|
|
newRow['packQty'] = item['packQty'] |
|
|
|
}else{ |
|
|
|
newRow['packUnit'] = '' |
|
|
|
newRow['packQty'] = '' |
|
|
|
} |
|
|
|
newRow['packUnit'] = item['packUnit'] |
|
|
|
newRow['packQty'] = item['packQty'] |
|
|
|
// if(item['packingNumber']&&item['packingNumber'].length>0){ |
|
|
|
// newRow['packUnit'] = item['packUnit'] |
|
|
|
// newRow['packQty'] = item['packQty'] |
|
|
|
// }else{ |
|
|
|
// newRow['packUnit'] = '' |
|
|
|
// newRow['packQty'] = '' |
|
|
|
// } |
|
|
|
newRow['disabled_qty'] = item['packingNumber']&&item['packingNumber'].length>0 |
|
|
|
tableData.value.push(newRow) |
|
|
|
}) |
|
|
|