add quantityAvailable (#566)

* add quantityAvailable

* add formatQuantity

* minimal change
pull/3759/head
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
1 changed files with 10 additions and 1 deletions

View File

@ -59,6 +59,15 @@
{{ formatQuantity(scope.row.quantityOnHand) }}
</template>
</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
:label="$t('form.productInfo.price')"
align="right"
@ -87,7 +96,7 @@
</el-table-column>
<el-table-column
label=""
width="120"
width="100"
>
<template slot-scope="scope">
<el-dropdown trigger="click">