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