Browse Source

修改翻包扫描不是推荐的错误提示

hella_online_20240906
lijuncheng 3 months ago
parent
commit
77d3c37551
  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); let record = batch.Records.find(r => r.packingNumber == packingCode);
if (record == undefined) { if (record == undefined) {
// //
if (batch.Recommends.length > 0) { if (batch.Recommends != undefined &&batch.Recommends.length > 0) {
let recommend = batch.Recommends.find(r => r.packingNumber == packingCode); let recommend = batch.Recommends.find(r => r.packingNumber == packingCode);
if (recommend != undefined) { if (recommend != undefined) {
that.addRecord(batch, label, balance, packageInfo) that.addRecord(batch, label, balance, packageInfo)

Loading…
Cancel
Save