|
|
@ -475,6 +475,24 @@ |
|
|
|
//防止重复点击 |
|
|
|
this.$throttle(this.submit, 2000, this)() |
|
|
|
} else { |
|
|
|
// let record = this.creatRecord(label, balance, packageInfo); |
|
|
|
// batch.Records.push(record); |
|
|
|
// this.issueRecord.unshift(record) |
|
|
|
// this.calcBatchHandleQty(batch); |
|
|
|
// this.getfocus(); |
|
|
|
// this.$emit("afterScan"); |
|
|
|
this.detailSource.forEach(detail => { |
|
|
|
detail.Items.forEach(item => { |
|
|
|
taskQty =calc.add(taskQty,item.qty) |
|
|
|
item.Locations.forEach(lco => { |
|
|
|
lco.Batchs.forEach(batch => { |
|
|
|
batch.Records = [] |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.$refs.comScanIssuePack.clearList() |
|
|
|
|
|
|
|
this.scanPopupGetFocus() |
|
|
|
} |
|
|
|
}); |
|
|
|