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