1
0
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:
Elsio Sanchez 2021-01-12 17:29:02 -04:00 committed by GitHub
parent ca3cd71fe2
commit 83426e0676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">