Browse Source

YT-2878 YT-2882 补给品盘点

intex
李俊城 3 days ago
parent
commit
07f1038e44
  1. 3
      src/mycomponents/qty/countQtyEdit.vue
  2. 8
      src/pages/count/job/countLightDetail.vue

3
src/mycomponents/qty/countQtyEdit.vue

@ -211,6 +211,9 @@
this.inventoryStatus = this.dataContent.inventoryStatus;
this.allQty = Number(this.dataContent.handleQty);
this.stdCount = Math.ceil(this.allQty / this.dataContent.packQty);
if(!this.stdCount){
this.stdCount=0
}
this.detailList = detailList;
},

8
src/pages/count/job/countLightDetail.vue

@ -19,7 +19,7 @@
</view>
<view class="page-main" style="padding-bottom: 100rpx;background-color: #F3F4F5">
<!-- <scroll-view scroll-y="true" class="page-main-scroll" @scrolltolower="scrolltolower"> -->
<view class="" style="background-color: #F3F4F5" v-for="(item, index) in showTableData" :key="item.id">
<view class="" style="background-color: #F3F4F5" v-for="(item, index) in showTableData" >
<uni-swipe-action ref="swipeAction">
<uni-swipe-action-item>
<view class="uni-flex uni-row " style="align-items: center; margin: 10rpx; border-radius: 10rpx ;">
@ -446,7 +446,7 @@
handleQty: subItem.handleQty,
uom: subItem.uom,
packUnit: subItem.packUnit,
packQty: subItem.packQty,
packQty: subItem.packQty?subItem.packQty:0,
balanceQty: subItem.balanceQty,
locationCode: subItem.locationCode
}
@ -734,7 +734,7 @@
handleQty: handleQty,
uom: uom,
packUnit: pack.packUnit,
packQty: pack.packQty,
packQty: pack.packQty?pack.packQty:0,
balanceQty: qty,
locationCode: locationCode
}
@ -817,6 +817,7 @@
r.inventoryStatus == scanItem.inventoryStatus)
scanItem.toBatch = ""
scanItem.toPackingNumber = ""
item.qty=scanItem.balanceQty
//,recordList
if (item) {
if (!item.recordList) {
@ -883,7 +884,6 @@
this.currentEditItem.handleQty = qty;
this.currentEditItem.inventoryStatus = inventoryStatus;
this.setData(this.currentEditItem);
console.log("editConfirm")
},

Loading…
Cancel
Save