订单列表国际化

This commit is contained in:
joylink_cuiweidong 2019-12-09 17:25:20 +08:00
parent b7fd5b7475
commit b8563c839b
4 changed files with 13 additions and 9 deletions

View File

@ -114,5 +114,7 @@ export default {
back: 'back',
next: 'next',
transferAttribution: 'Transfer attribution',
distributionAttribution: 'Distribution attribution'
distributionAttribution: 'Distribution attribution',
goodsAmount:'Goods Amount',
operate:'operate'
};

View File

@ -113,5 +113,7 @@ export default {
back: '返回',
next: '下一步',
transferAttribution: '转赠归属',
distributionAttribution: '分发归属'
distributionAttribution: '分发归属',
goodsAmount:'商品个数',
operate:'操作'
};

View File

@ -11,11 +11,11 @@
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.commodityName')" prop="goodsName" />
<el-table-column :key="forever" :label="this.$t('orderAuthor.permanenceOrNot')" prop="forever">
<template slot-scope="scope">
{{ scope.row.forever?'是':'否' }}
{{ $ConstSelect.translate(scope.row.forever, 'Whether') }}
</template>
</el-table-column>
<el-table-column :key="goodsName" label="商品个数" prop="goodsAmount" />
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.goodsAmount')" prop="goodsAmount" />
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.itemPricing')" prop="price" />
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.startDate')" prop="startTime" />
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.purchaseMonths')" prop="monthAmount">

View File

@ -162,8 +162,8 @@ export default {
buttonClick: this.buttonClick,
type:'table',
tableList:[
{prop:'goodsName', label:'商品名称' },
{prop:'goodsAmount', label:'商品数量', isEdit:true, min:0,
{prop:'goodsName', label:this.$t('orderAuthor.commodityName') },
{prop:'goodsAmount', label:this.$t('orderAuthor.goodsAmount'), isEdit:true, min:0,
rules:{
goodsAmount:[
{
@ -177,11 +177,11 @@ export default {
]
}
},
{prop:'goodsPrice', label:'商品单价'}
{prop:'goodsPrice', label:this.$t('orderAuthor.itemPricing')}
],
operate:'操作',
operate:this.$t('orderAuthor.operate'),
operateButton:[
{name:'删除', clickFunc:this.removeGoods}
{name:this.$t('global.delete'), clickFunc:this.removeGoods}
]
},
// { prop: 'price', label: this.$t('orderAuthor.itemPricing'), type: 'number', required: false, disabled: true, min: 0, message: this.$t('orderAuthor.yuan') },