|
@ -26,8 +26,7 @@ |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<view class=""> |
|
|
<win-com-scan ref="comscan" placeholder="箱标签" @getResult="onScan" :clearResult="true" |
|
|
<win-com-scan ref="comscan" placeholder="箱标签" @getResult="onScan" :clearResult="true" |
|
|
headerType="HPQ,HMQ" |
|
|
headerType="HPQ,HMQ" :isShowHistory="false"> |
|
|
:isShowHistory="false"> |
|
|
|
|
|
</win-com-scan> |
|
|
</win-com-scan> |
|
|
|
|
|
|
|
|
<view style="width: 100%;"> |
|
|
<view style="width: 100%;"> |
|
@ -418,9 +417,7 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
selectBalanceItem(balance) { |
|
|
selectBalanceItem(balance) { |
|
|
if(balance){ |
|
|
this.afterGetBalance(balance, balance, this.packageInfo); |
|
|
this.afterGetBalance(this.label, balance, this.packageInfo); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
afterGetBalance(label, balance, packageInfo) { |
|
|
afterGetBalance(label, balance, packageInfo) { |
|
@ -434,7 +431,7 @@ |
|
|
that.fromLocationCode = balance.locationCode; |
|
|
that.fromLocationCode = balance.locationCode; |
|
|
let fromLocation = item.Locations.find(l => l.fromLocationCode == that.fromLocationCode); |
|
|
let fromLocation = item.Locations.find(l => l.fromLocationCode == that.fromLocationCode); |
|
|
//如果库存余额中的库位与任务推荐的不一致 |
|
|
//如果库存余额中的库位与任务推荐的不一致 |
|
|
if (fromLocation ) { |
|
|
if (fromLocation) { |
|
|
let batch = fromLocation.Batchs.find(r => r.batch == lot); |
|
|
let batch = fromLocation.Batchs.find(r => r.batch == lot); |
|
|
if (batch != undefined) { |
|
|
if (batch != undefined) { |
|
|
if (batch.Records == undefined) { |
|
|
if (batch.Records == undefined) { |
|
@ -659,7 +656,7 @@ |
|
|
packageInfo |
|
|
packageInfo |
|
|
.batch + "]是父包装,是否移除子包装", res => { |
|
|
.batch + "]是父包装,是否移除子包装", res => { |
|
|
if (res) { |
|
|
if (res) { |
|
|
batch.Records=[] |
|
|
batch.Records = [] |
|
|
batch.Records.push(record); |
|
|
batch.Records.push(record); |
|
|
this.issueRecord.unshift(record) |
|
|
this.issueRecord.unshift(record) |
|
|
this.calcBatchHandleQty(batch); |
|
|
this.calcBatchHandleQty(batch); |
|
|