1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

Add translation for Product Info

This commit is contained in:
Yamel Senih 2020-12-01 20:18:22 -04:00
parent 4a272296a9
commit 053a250b21
3 changed files with 31 additions and 27 deletions

View File

@ -29,7 +29,7 @@
>
<el-table-column
prop="product.value"
label="Codigo"
:label="$t('form.productInfo.code')"
/>
<el-table-column
label="Producto"
@ -38,11 +38,11 @@
<el-popover trigger="click" placement="right" width="300">
<b><i> {{ scope.row.product.name }} </i> </b>
<el-divider />
<p><b style="float: left"> Codigo :</b><spam style="float: right">{{ scope.row.product.value }}</spam></p><br>
<p><b style="float: left">Precio :</b><spam style="float: right"> {{ formatPrice(scope.row.priceStandard, scope.row.currency.iSOCode) }} </spam></p><br>
<p><b style="float: left">Tax :</b><spam style="float: right"> {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate), scope.row.currency.iSOCode) }} </spam></p><br>
<p><b style="float: left">Gran Total :</b><spam style="float: right"> {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate) + scope.row.priceStandard, scope.row.currency.iSOCode) }} </spam></p><br>
<p><b style="float: left">UPC :</b><spam style="float: right"> {{ scope.row.product.upc }} </spam></p>
<p><b style="float: left">{{ $t('form.productInfo.code') }}</b><spam style="float: right">{{ scope.row.product.value }}</spam></p><br>
<p><b style="float: left">{{ $t('form.productInfo.price') }}</b><spam style="float: right"> {{ formatPrice(scope.row.priceStandard, scope.row.currency.iSOCode) }} </spam></p><br>
<p><b style="float: left">{{ $t('form.productInfo.taxAmount') }}</b><spam style="float: right"> {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate), scope.row.currency.iSOCode) }} </spam></p><br>
<p><b style="float: left">{{ $t('form.productInfo.grandTotal') }}</b><spam style="float: right"> {{ formatPrice(getTaxAmount(scope.row.priceStandard, scope.row.taxRate.rate) + scope.row.priceStandard, scope.row.currency.iSOCode) }} </spam></p><br>
<p><b style="float: left">{{ $t('form.productInfo.upc') }}</b><spam style="float: right"> {{ scope.row.product.upc }} </spam></p>
<div slot="reference" class="name-wrapper">
{{ scope.row.product.name }}
</div>
@ -50,7 +50,7 @@
</template>
</el-table-column>
<el-table-column
label="Tax"
:label="$t('form.productInfo.taxAmount')"
align="right"
width="150"
>
@ -59,7 +59,7 @@
</template>
</el-table-column>
<el-table-column
label="Precio"
:label="$t('form.productInfo.price')"
align="right"
width="200"
>
@ -68,7 +68,7 @@
</template>
</el-table-column>
<el-table-column
label="Gran Total"
:label="$t('form.productInfo.grandTotal')"
align="right"
width="300"
>

View File

@ -363,15 +363,6 @@ export default {
editQuantities: 'Edit Quantities',
remove: 'Remove'
},
product: {
productInformation: 'Product information',
code: 'Code',
name: 'Name',
description: 'Description',
price: 'Price',
taxRate: 'Tax Rate',
quantityAvailable: 'Quantity Avalible'
},
order: {
order: 'Order',
seller: 'Seller',
@ -400,6 +391,17 @@ export default {
priceChecking: {
messageError: 'This Product Not Available',
basePrice: 'Base price'
},
productInfo: {
productInformation: 'Product information',
code: 'Code',
name: 'Name',
description: 'Description',
price: 'Price',
taxAmount: 'Tax Amount',
grandTotal: 'Grand Total',
quantityAvailable: 'Quantity Avalible',
upc: 'UPC / EAN'
}
}
}

View File

@ -338,15 +338,6 @@ export default {
editQuantities: 'Editar Cantidades',
remove: 'Eliminar'
},
product: {
productInformation: 'Información de Producto',
code: 'Código',
name: 'Nombre',
description: 'Descripción',
price: 'Precio',
taxRate: 'Tasa de Impuesto',
quantityAvailable: 'Cantidad Disponible'
},
order: {
order: 'Orden',
seller: 'Vendedor',
@ -375,6 +366,17 @@ export default {
priceChecking: {
messageError: 'Este Producto No Disponible',
basePrice: 'Precio Base'
},
productInfo: {
productInformation: 'Product information',
code: 'Código',
name: 'Nombre',
description: 'Descripción',
price: 'Precio',
taxAmount: 'Monto de Impuesto',
grandTotal: 'Total General',
quantityAvailable: 'Cantidad Disponible',
upc: 'Código de Barras'
}
}
}