Browse Source

添加备注 2024/8/7

hella_vue3
王志国 4 weeks ago
parent
commit
af8d109dee
  1. 2
      src/pages/deliver/coms/comScanDeliverPack.vue

2
src/pages/deliver/coms/comScanDeliverPack.vue

@ -171,6 +171,7 @@ const getFromLocationList = () => {
} }
const fromLocationUpdate = (fromlocation) => { const fromLocationUpdate = (fromlocation) => {
const location = fromLocationList.value.find((r) => r == fromlocation) const location = fromLocationList.value.find((r) => r == fromlocation)
// --
// if (location == undefined) { // if (location == undefined) {
// showErrorMessage(`${fromlocation}`) // showErrorMessage(`${fromlocation}`)
// } // }
@ -231,6 +232,7 @@ const afterGetBalance = (label, balance, packageInfo) => {
const lot = label.batch const lot = label.batch
const item = toLocation.value.Items.find((r) => r.itemCode == itemCode) const item = toLocation.value.Items.find((r) => r.itemCode == itemCode)
let fromLocation = item.Locations.find((l) => l.fromLocationCode == fromLocationCode.value) let fromLocation = item.Locations.find((l) => l.fromLocationCode == fromLocationCode.value)
// --
if(!fromLocation){ if(!fromLocation){
fromLocation = { fromLocation = {
Batchs:[{ Batchs:[{

Loading…
Cancel
Save