|
|
@ -81,7 +81,6 @@ |
|
|
|
createItemInfo, |
|
|
|
createDetailInfo, |
|
|
|
calcHandleQty, |
|
|
|
createDetailInfoForLabel |
|
|
|
} from '@/common/record.js'; |
|
|
|
|
|
|
|
import { |
|
|
@ -252,7 +251,7 @@ |
|
|
|
}) |
|
|
|
if (item == undefined) { |
|
|
|
var itemp = createItemInfo(balance, pack); |
|
|
|
let newDetail = createDetailInfoForLabel(balance, pack,label); |
|
|
|
let newDetail = createDetailInfo(balance, pack,label); |
|
|
|
itemp.subList.push(newDetail); |
|
|
|
this.detailSource.push(itemp) |
|
|
|
} else { |
|
|
@ -264,7 +263,7 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
if (detail == undefined) { |
|
|
|
let newDetail = createDetailInfoForLabel(balance, pack,label); |
|
|
|
let newDetail = createDetailInfo(balance, pack,label); |
|
|
|
item.subList.push(newDetail); |
|
|
|
} else { |
|
|
|
detail.handleQty =calc.add(detail.handleQty, result.label.qty) |
|
|
|