Browse Source

修改盘点显示错误

wms3.0_pda
lijuncheng 11 months ago
parent
commit
971c74e794
  1. 13
      mycomponents/qty/compareQty.vue
  2. 1
      pages/count/job/countDetail.vue

13
mycomponents/qty/compareQty.vue

@ -3,7 +3,7 @@
<view class="uni-flex uni-row "> <view class="uni-flex uni-row ">
<status v-show="isShowStatus" :status='dataContent.inventoryStatus'></status> <status v-show="isShowStatus" :status='dataContent.inventoryStatus'></status>
<view class="uni-flex uni-row center"> <view class="uni-flex uni-row center">
<view v-if ="Number(handleQty)>0"> <view v-if ="Number(handleQty)!=0">
<view v-if="Number(recommendQty)>Number(handleQty)" class="text_greater"> <view v-if="Number(recommendQty)>Number(handleQty)" class="text_greater">
{{Number(handleQty)}} {{Number(handleQty)}}
</view> </view>
@ -15,13 +15,13 @@
</view> </view>
</view> </view>
<view v-if="Number(handleQty)>0 " class="std_split">/</view> <view v-if="Number(handleQty)!=0" class="std_split">/</view>
<view v-if="isShowRecommendQty" class="text_recommend center"> <view v-if="isShowRecommendQty" class="text_recommend center">
{{Number(recommendQty)}} {{Number(recommendQty)}}
</view> </view>
</view> </view>
<uom v-show="Number(handleQty)>0||(isShowRecommendQty&&Number(recommendQty)>0)" :uom="dataContent.uom"></uom> <uom v-show="Number(handleQty)!=0||(isShowRecommendQty&&Number(recommendQty)>0)" :uom="dataContent.uom"></uom>
</view> </view>
<view> <view>
<std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty> <std-pack-qty v-show="isShowStdPack" :dataContent="dataContent"></std-pack-qty>
@ -80,7 +80,12 @@
} }
}, },
watch: { watch: {
handleQty: {
handler(newName, oldName) {
},
immediate: true,
deep: true
}
}, },
methods: { methods: {

1
pages/count/job/countDetail.vue

@ -230,6 +230,7 @@
data.scaned = false; data.scaned = false;
let detail = data; let detail = data;
detail.balanceQty = 0 detail.balanceQty = 0
detail.handleQty = 0;
detail.inventoryStatus = detail.inventoryStatus detail.inventoryStatus = detail.inventoryStatus
detail.fromLocationCode = this.fromLocationCode detail.fromLocationCode = this.fromLocationCode
return detail; return detail;

Loading…
Cancel
Save