Browse Source

修改直接发料按批次编辑

intex
lijuncheng 1 week ago
parent
commit
35d86a215e
  1. 5
      src/pages/issue/record/directIssueByBatch.vue

5
src/pages/issue/record/directIssueByBatch.vue

@ -81,7 +81,6 @@
createItemInfo, createItemInfo,
createDetailInfo, createDetailInfo,
calcHandleQty, calcHandleQty,
createDetailInfoForLabel
} from '@/common/record.js'; } from '@/common/record.js';
import { import {
@ -252,7 +251,7 @@
}) })
if (item == undefined) { if (item == undefined) {
var itemp = createItemInfo(balance, pack); var itemp = createItemInfo(balance, pack);
let newDetail = createDetailInfoForLabel(balance, pack,label); let newDetail = createDetailInfo(balance, pack,label);
itemp.subList.push(newDetail); itemp.subList.push(newDetail);
this.detailSource.push(itemp) this.detailSource.push(itemp)
} else { } else {
@ -264,7 +263,7 @@
} }
}) })
if (detail == undefined) { if (detail == undefined) {
let newDetail = createDetailInfoForLabel(balance, pack,label); let newDetail = createDetailInfo(balance, pack,label);
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
detail.handleQty =calc.add(detail.handleQty, result.label.qty) detail.handleQty =calc.add(detail.handleQty, result.label.qty)

Loading…
Cancel
Save