|
@@ -41,6 +41,9 @@
|
|
|
<template #total="{ item }">
|
|
|
<div>{{ getTotal(item) }}</div>
|
|
|
</template>
|
|
|
+ <template #quantity="{ item }">
|
|
|
+ <div>{{ item.quantity + item.lockQuantity }}</div>
|
|
|
+ </template>
|
|
|
</byTable>
|
|
|
</el-card>
|
|
|
</el-col>
|
|
@@ -176,7 +179,7 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "结存单价",
|
|
|
prop: "balanceUnitPrice",
|
|
|
- width: 120,
|
|
|
+ width: 110,
|
|
|
align: "right",
|
|
|
},
|
|
|
},
|
|
@@ -184,15 +187,29 @@ const config = computed(() => {
|
|
|
attrs: {
|
|
|
label: "结存总价",
|
|
|
slot: "total",
|
|
|
- width: 160,
|
|
|
+ width: 140,
|
|
|
align: "right",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
- label: "库存",
|
|
|
+ label: "锁定库存",
|
|
|
+ prop: "lockQuantity",
|
|
|
+ width: 110,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ attrs: {
|
|
|
+ label: "可用库存",
|
|
|
prop: "quantity",
|
|
|
- width: 120,
|
|
|
+ width: 110,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ attrs: {
|
|
|
+ label: "库存",
|
|
|
+ slot: "quantity",
|
|
|
+ width: 110,
|
|
|
},
|
|
|
},
|
|
|
props.selectStatus
|