出库单展示当前库存数量

master
zhangdi 2 days ago
parent 4578665d0c
commit 618df2d4a1
  1. 14
      src/views/firstOrder/components/outDialog.vue

@ -172,7 +172,14 @@
{{ scope.row.applicationQuantity || 0 }}
</template>
</el-table-column>
<el-table-column
prop="num"
label="当前库存"
>
<template slot-scope="scope">
<span>{{ scope.row.num }}</span>
</template>
</el-table-column>
<el-table-column
prop="outboundQuantity"
label="已出库数量"
@ -534,9 +541,7 @@ export default {
if (this.sizeForm.options == 1 && this.inBatchForm.optionType == "NY") {
if (
columnIndex === 0 ||
columnIndex === 1 ||
columnIndex === 5 ||
columnIndex === 6
columnIndex === 1
) {
const key = `${row.materialCode}-${row.materialName}`;
const rows = this.sizeForm.inTableData.filter(
@ -894,6 +899,7 @@ export default {
this.sizeForm.inTableData[index].materialName = select.materialName;
this.sizeForm.inTableData[index].type = select.type;
this.sizeForm.inTableData[index].unit = select.unit;
this.sizeForm.inTableData[index].num = select.num;
this.getStatistics();
},
//

Loading…
Cancel
Save