Browse Source

代码维护 2024/8/7

pull/1/head
王志国 3 months ago
parent
commit
9fd445780a
  1. 2
      src/pages/deliver/coms/comScanDeliverPack.vue

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

@ -268,7 +268,7 @@ const afterGetBalance = (label, balance, packageInfo) => {
const record = batch.Records.find((r) => r.packingNumber == packingCode) const record = batch.Records.find((r) => r.packingNumber == packingCode)
if (record == undefined) { if (record == undefined) {
// //
if (batch.Recommends.length > 0) { if (batch.Recommends && batch.Recommends.length > 0) {
const recommend = batch.Recommends.find((r) => r.packingNumber == packingCode) const recommend = batch.Recommends.find((r) => r.packingNumber == packingCode)
if (recommend != undefined) { if (recommend != undefined) {
addRecord(batch, label, balance, packageInfo) addRecord(batch, label, balance, packageInfo)

Loading…
Cancel
Save