Browse Source

YT-1076计划外入库任务,编辑页面包装数量,标包量,库存余额,库存数量不显示

intex
zhang_li 3 days ago
parent
commit
b3bcedf5d4
  1. 16
      src/mycomponents/detail/comRecommendDetailCard.vue
  2. 11
      src/pages/unPlanned/job/receiptJobDetail.vue

16
src/mycomponents/detail/comRecommendDetailCard.vue

@ -38,7 +38,10 @@
</view>
</uni-collapse-item>
</uni-collapse>
<balance-qty-edit ref="qtyEdit" :settingParam="settingParam" :queryBalance="queryBalance" @confirm="confirm"></balance-qty-edit>
<!-- <balance-qty-edit ref="qtyEdit" :settingParam="settingParam" :queryBalance="queryBalance" @confirm="confirm"></balance-qty-edit> -->
<recommend-qty-edit ref="recommendQtyEdit" :dataContent="editItem" :handleQty="editItem.qty" @confirm="confirm" :settingParam='settingParam'
:isShowStatus="isShowStatus"></recommend-qty-edit>
<win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation'
:locationAreaTypeList="locationAreaTypeList"></win-scan-location>
<comMessage ref="message"></comMessage>
@ -48,7 +51,8 @@
<script>
import itemCompareQty from '@/mycomponents/item/itemCompareQty.vue'
import recommend from '@/mycomponents/recommend/recommend.vue'
import balanceQtyEdit from '@/mycomponents/qty/balanceQtyEdit.vue'
// import balanceQtyEdit from '@/mycomponents/qty/balanceQtyEdit.vue'
import recommendQtyEdit from '@/mycomponents/qty/recommendQtyEdit.vue'
import winScanLocation from "@/mycomponents/scan/winScanLocation.vue"
import {
getDetailOption,
@ -60,8 +64,9 @@
components: {
itemCompareQty,
recommend,
balanceQtyEdit,
winScanLocation
// balanceQtyEdit,
winScanLocation,
recommendQtyEdit
},
props: {
dataContent: {
@ -159,7 +164,8 @@
},
edit(item) {
this.editItem = item;
this.$refs.qtyEdit.openEditPopup(item.balance, item.handleQty);
// this.$refs.qtyEdit.openEditPopup(item.balance, item.handleQty);
this.$refs.recommendQtyEdit.openTaskEditPopup(item.qty,item.handleQty,item.labelQty);
},
detail(item) {

11
src/pages/unPlanned/job/receiptJobDetail.vue

@ -290,9 +290,11 @@
batch:batch,
handleQty:Number(result.label.qty),
qty:detail.qty,
// toLocationCode:locationCode,
toLocationCode:locationCode,
// inventoryStatus:inventoryStatus,
// toInventoryStatus:inventoryStatus,
packQty:Number(result.package.packQty),
packUnit:result.package.packUnit,
balance:{},
isRecommend:false,
isNewAdd:"newAdd"
@ -311,8 +313,13 @@
itemDetail.handleQty = Number(result.label.qty);
// itemDetail.toLocationCode = this.toLocationCode ? this.toLocationCode : itemDetail
// .toLocationCode;
itemDetail.packQty = result.package.packQty
itemDetail.packQty = Number(result.package.packQty)
itemDetail.packUnit = result.package.packUnit
itemDetail.labelQty = Number(result.label.qty);
itemDetail.balance={}
itemDetail.balance.packQty = Number(result.package.packQty)
itemDetail.balance.packUnit = result.package.packUnit
this.continueScan()
}
}

Loading…
Cancel
Save