Browse Source

修改直接不显示扫描数量,只显示实际数量

hella_online_20240828
lijuncheng 3 months ago
parent
commit
ed5504cbfd
  1. 9
      src/mycomponents/item/itemQty.vue
  2. 4
      src/mycomponents/record/recordComDetailCard.vue

9
src/mycomponents/item/itemQty.vue

@ -6,7 +6,9 @@
<view>
<balance-qty v-if="isShowBalanceQty" :dataContent="dataContent"></balance-qty>
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
:handleQty="dataContent.handleQty" :isShowStatus="false" :isShowStdPack="showStdPack">
:handleQty="dataContent.handleQty"
:isShowRecommendQty="isShowRecommendQty"
:isShowStatus="false" :isShowStdPack="showStdPack">
</compare-qty>
</view>
</view>
@ -45,6 +47,11 @@
type: Boolean,
default: false
},
isShowRecommendQty: {
type: Boolean,
default: true
},
},
watch: {

4
src/mycomponents/record/recordComDetailCard.vue

@ -6,7 +6,9 @@
<uni-swipe-action>
<uni-swipe-action-item @click="removeItem($event,dataContent)" :right-options="removeOptions">
<item-qty :dataContent="dataContent" :isShowBalance="true"
:isShowBalanceQty="isShowBalanceQty"></item-qty>
:isShowBalanceQty="isShowBalanceQty"
:isShowRecommendQty="false"
></item-qty>
<view style="margin-left: 10px; margin-top: 5px;">
<pack title='父包装' v-if="dataContent.containerNumber" :packingCode='dataContent.containerNumber'></pack>
<location v-if="isShowParentToLocation" title='目标库位'

Loading…
Cancel
Save