|
@ -34,7 +34,7 @@ |
|
|
<!-- 管理精度是批次 --> |
|
|
<!-- 管理精度是批次 --> |
|
|
<comReceiptDetailCardBacth ref='comReceiptDetailCardBacthRef' :dataContent="item" :index="index" :settingParam="jobContent" |
|
|
<comReceiptDetailCardBacth ref='comReceiptDetailCardBacthRef' :dataContent="item" :index="index" :settingParam="jobContent" |
|
|
@remove="updateData" @updateData="updateData" :locationAreaTypeList='toLocationAreaTypeList' |
|
|
@remove="updateData" @updateData="updateData" :locationAreaTypeList='toLocationAreaTypeList' |
|
|
v-if="managementType == 'BY_BATCH' || managementType =='BY_QUANTITY'"> |
|
|
v-if="managementType == 'BY_BATCH' || managementType =='BY_QUANTITY'" :isNumPackTips='true'> |
|
|
</comReceiptDetailCardBacth> |
|
|
</comReceiptDetailCardBacth> |
|
|
<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent" @remove="updateData" |
|
|
<com-receipt-detail-card :dataContent="item" :index="index" :settingParam="jobContent" @remove="updateData" |
|
|
@updateData="updateData" :locationAreaTypeList='toLocationAreaTypeList' v-else> |
|
|
@updateData="updateData" :locationAreaTypeList='toLocationAreaTypeList' v-else> |
|
@ -502,13 +502,13 @@ |
|
|
let handleQtySub = calc.sub(parseFloat(batchDetailList[i].qty),parseFloat(packAllHandleQty)) |
|
|
let handleQtySub = calc.sub(parseFloat(batchDetailList[i].qty),parseFloat(packAllHandleQty)) |
|
|
let pack = {} |
|
|
let pack = {} |
|
|
pack.packingNumber =packingNumber |
|
|
pack.packingNumber =packingNumber |
|
|
pack.packQty = result.package.packQty |
|
|
pack.packQty = Number(result.package.packQty); |
|
|
pack.packUnit = result.package.packUnit |
|
|
pack.packUnit = result.package.packUnit |
|
|
pack.qty = batchDetailList[i].qty |
|
|
pack.qty = batchDetailList[i].qty |
|
|
|
|
|
|
|
|
pack.toLocationCode = this.toLocationCode; |
|
|
pack.toLocationCode = this.toLocationCode; |
|
|
console.log(999,result.package) |
|
|
console.log(999,result.package) |
|
|
pack.labelQty = Number(result.package.packQty); |
|
|
pack.labelQty = Number(result.label.qty); |
|
|
pack.scaned = true; |
|
|
pack.scaned = true; |
|
|
// 当前批次剩余可以扫进的数量大于当前扫描的标签数量的时候直接插入当前的批次 |
|
|
// 当前批次剩余可以扫进的数量大于当前扫描的标签数量的时候直接插入当前的批次 |
|
|
if(handleQtySub >= parseFloat(qty)){ |
|
|
if(handleQtySub >= parseFloat(qty)){ |
|
|