diff --git a/src/i18n/langs/en/orderAuthor.js b/src/i18n/langs/en/orderAuthor.js index 13c021cd7..64bc9efa4 100644 --- a/src/i18n/langs/en/orderAuthor.js +++ b/src/i18n/langs/en/orderAuthor.js @@ -114,5 +114,7 @@ export default { back: 'back', next: 'next', transferAttribution: 'Transfer attribution', - distributionAttribution: 'Distribution attribution' + distributionAttribution: 'Distribution attribution', + goodsAmount:'Goods Amount', + operate:'operate' }; diff --git a/src/i18n/langs/zh/orderAuthor.js b/src/i18n/langs/zh/orderAuthor.js index 88567b5b1..0313eea4b 100644 --- a/src/i18n/langs/zh/orderAuthor.js +++ b/src/i18n/langs/zh/orderAuthor.js @@ -113,5 +113,7 @@ export default { back: '返回', next: '下一步', transferAttribution: '转赠归属', - distributionAttribution: '分发归属' + distributionAttribution: '分发归属', + goodsAmount:'商品个数', + operate:'操作' }; diff --git a/src/views/orderauthor/order/detail.vue b/src/views/orderauthor/order/detail.vue index 3d6b83434..0da07a4be 100644 --- a/src/views/orderauthor/order/detail.vue +++ b/src/views/orderauthor/order/detail.vue @@ -11,11 +11,11 @@ - + diff --git a/src/views/orderauthor/order/draft.vue b/src/views/orderauthor/order/draft.vue index 76969a3d4..cf4b03ca8 100644 --- a/src/views/orderauthor/order/draft.vue +++ b/src/views/orderauthor/order/draft.vue @@ -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') },