Browse Source

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

intex
zhang_li 1 week 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> </view>
</uni-collapse-item> </uni-collapse-item>
</uni-collapse> </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' <win-scan-location ref="scanLocationCode" title="目标库位" @getLocation='getLocation'
:locationAreaTypeList="locationAreaTypeList"></win-scan-location> :locationAreaTypeList="locationAreaTypeList"></win-scan-location>
<comMessage ref="message"></comMessage> <comMessage ref="message"></comMessage>
@ -48,7 +51,8 @@
<script> <script>
import itemCompareQty from '@/mycomponents/item/itemCompareQty.vue' import itemCompareQty from '@/mycomponents/item/itemCompareQty.vue'
import recommend from '@/mycomponents/recommend/recommend.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 winScanLocation from "@/mycomponents/scan/winScanLocation.vue"
import { import {
getDetailOption, getDetailOption,
@ -60,8 +64,9 @@
components: { components: {
itemCompareQty, itemCompareQty,
recommend, recommend,
balanceQtyEdit, // balanceQtyEdit,
winScanLocation winScanLocation,
recommendQtyEdit
}, },
props: { props: {
dataContent: { dataContent: {
@ -159,7 +164,8 @@
}, },
edit(item) { edit(item) {
this.editItem = 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) { detail(item) {

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

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

Loading…
Cancel
Save