mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
add quantityAvailable (#566)
* add quantityAvailable * add formatQuantity * minimal change
This commit is contained in:
parent
ca3cd71fe2
commit
83426e0676
@ -59,6 +59,15 @@
|
|||||||
{{ formatQuantity(scope.row.quantityOnHand) }}
|
{{ formatQuantity(scope.row.quantityOnHand) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
:label="$t('form.productInfo.quantityAvailable')"
|
||||||
|
align="right"
|
||||||
|
width="100"
|
||||||
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ formatQuantity(scope.row.quantityAvailable) }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
:label="$t('form.productInfo.price')"
|
:label="$t('form.productInfo.price')"
|
||||||
align="right"
|
align="right"
|
||||||
@ -87,7 +96,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label=""
|
label=""
|
||||||
width="120"
|
width="100"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-dropdown trigger="click">
|
<el-dropdown trigger="click">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user