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.inventoryStatus = this.dataContent.inventoryStatus;
this.allQty = Number(this.dataContent.handleQty); this.allQty = Number(this.dataContent.handleQty);
this.stdCount = Math.ceil(this.allQty / this.dataContent.packQty); this.stdCount = Math.ceil(this.allQty / this.dataContent.packQty);
if(!this.stdCount){
this.stdCount=0
}
this.detailList = detailList; this.detailList = detailList;
}, },

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

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

Loading…
Cancel
Save