|
@ -342,7 +342,7 @@ |
|
|
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&&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) |
|
|