Browse Source

修改盘点显示

wms3.0_pda
lijuncheng 8 months ago
parent
commit
76dcf9ef75
  1. 2
      mycomponents/recommend/recommendCount.vue
  2. 14
      pages/count/coms/comCountDetailCard.vue

2
mycomponents/recommend/recommendCount.vue

@ -16,7 +16,7 @@
<!-- {{detail.scaned}} -->
<compare-qty :dataContent="detail" :recommendQty="Number(detail.qty)"
:isShowRecommendQty="isShowRecommendQty" :isShowStatus="isShowRecommendQty || detail.scaned==true"
:handleQty="Number(detail.handleQty)" :isShowStdPack="true">
:handleQty="Number(detail.handleQty)" :isShowStdPack="false">
</compare-qty>
<view class="uni-flex uni-row" style="vertical-align:center" v-if="isDevlement()">
<text style="font-size: 30rpx;color: #2979ff; " @click="copy">复制采购</text>

14
pages/count/coms/comCountDetailCard.vue

@ -6,10 +6,10 @@
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="removeData($event,dataContent)" :right-options="removeOptions">
<item-qty v-if="settingParam.isOpenCount=='TRUE'" :dataContent="dataContent"
:handleQty="dataContent.handleQty" :isShowBalanceQty="true">
:handleQty="dataContent.handleQty" :isShowBalanceQty="false">
</item-qty>
<item-qty v-else :dataContent="dataContent" :handleQty="dataContent.handleQty"
:isShowBalanceQty="false" :showRecommendQty="false" :showStdPack="true">
:isShowBalanceQty="true" :showRecommendQty="false" :showStdPack="true">
</item-qty>
</uni-swipe-action-item>
</uni-swipe-action>
@ -105,10 +105,16 @@
methods: {
removeData(e, dataContent) {
if (e.content.text == "清空") {
this.$refs.comMessage.showQuestionMessage("确定清空物料及箱码信息?",
this.$refs.comMessage.showQuestionMessage("确定清空该物料下面扫描的信息吗?",
res => {
if (res) {
this.$emit('removeItem')
dataContent.handleQty = 0;
dataContent.subList.forEach(res=>{
res.scaned = false;
res.handleQty= 0
})
this.$emit('clear')
// this.$emit('removeItem', this.dataContent)
}
});

Loading…
Cancel
Save