|
|
@ -44,9 +44,19 @@ |
|
|
|
<view class="page-footer" v-if="detailSource.length>0"> |
|
|
|
<view class="uni-flex u-col-center space-between padding_10" |
|
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
|
<view class=""> |
|
|
|
<view class="uni-flex u-col-center space-between padding_10"> |
|
|
|
<view> |
|
|
|
已扫描: |
|
|
|
</view> |
|
|
|
<view class="card_packing_code" style="padding: 5px; font-weight: bold ; font-size: 40rpx;"> |
|
|
|
{{detailSource.length}} |
|
|
|
</view> |
|
|
|
<view > |
|
|
|
(箱) |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class=" uni-flex uni-row"> |
|
|
|
<view class=" uni-flex uni-row space-between"> |
|
|
|
|
|
|
|
<button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -314,6 +324,10 @@ |
|
|
|
getScanResult(result) { |
|
|
|
let that = this; |
|
|
|
let packInfo = result.package; |
|
|
|
let detail = this.createDetailInfo(packInfo); |
|
|
|
this.detailSource.unshift(detail); |
|
|
|
this.scanPopupGetFocus(); |
|
|
|
return; |
|
|
|
if (this.itemRangeValue != '') { |
|
|
|
let index = this.itemRangeValue.indexOf(packInfo.itemCode) |
|
|
|
if (index < 0) { |
|
|
|