Browse Source

增加总数量显示

hella_online_20240829
niexiting 4 months ago
parent
commit
e9c98c38f8
  1. 18
      src/pages/count/job/fuzzyCountDetail.vue

18
src/pages/count/job/fuzzyCountDetail.vue

@ -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) {

Loading…
Cancel
Save