Browse Source

修改翻包扫描不是推荐批次报错问题

hella_online_20240911
lijuncheng 2 months ago
parent
commit
6b8d695913
  1. 2
      src/pages/package/coms/comScanPackagePack.vue

2
src/pages/package/coms/comScanPackagePack.vue

@ -242,7 +242,7 @@ import { getDirectoryItemArray } from '@/common/directory';
let record = batch.Records.find(r => r.packingNumber == packingCode);
if (record == undefined) {
//
if (batch.Recommends.length > 0) {
if (batch.Recommends&&batch.Recommends.length > 0) {
let recommend = batch.Recommends.find(r => r.packingNumber == packingCode);
if (recommend != undefined) {
that.addRecord(batch, label, balance, packageInfo)

Loading…
Cancel
Save