|
@@ -57,6 +57,7 @@
|
|
|
<el-table-column align="center" label="产品名称" prop="materialName" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="单位" prop="unit" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
+ <el-table-column align="center" label="原预留数量" prop="oldNum" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="预留数量" prop="reservedNum" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="订单数量" prop="qty" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
<el-table-column align="center" label="预留仓库" prop="correspondName" min-width="100" show-overflow-tooltip></el-table-column>
|
|
@@ -140,7 +141,7 @@ export default {
|
|
|
getDetail({id: this.listItem.id}).then(res => {
|
|
|
if(res.data.reservedOrderItems) {
|
|
|
res.data.reservedOrderItems.forEach(item => {
|
|
|
- item.sums1 = ['reservedNum', 'qty'];
|
|
|
+ item.sums1 = ['oldNum', 'reservedNum', 'qty'];
|
|
|
item.sums2 = [];
|
|
|
})
|
|
|
}
|