Browse Source

申购记录新增涨幅比

master
ltlzx 4 years ago
parent
commit
adccfd1e51
  1. 3
      i18n/lang/en.json
  2. 3
      i18n/lang/zh-CN.json
  3. 3
      i18n/lang/zh-TW.json
  4. 10
      pages/purchase/bill.vue
  5. 3
      pages/purchase/index.vue

3
i18n/lang/en.json

@ -65,7 +65,8 @@
"c2":"Version number",
"c3":"Openable",
"c4":"Estimated margin",
"c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time."
"c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.",
"c6":"Proportion of increase"
},
"base": {
"a0": "Title",

3
i18n/lang/zh-CN.json

@ -65,7 +65,8 @@
"c2":"版本号",
"c3": "可开",
"c4": "预估保证金",
"c5": "您的划转订单已提交成功,请耐心等待,划转结果会以短信或邮件的方式通知。请注意查收,如有疑问请及时联系客服"
"c5": "您的划转订单已提交成功,请耐心等待,划转结果会以短信或邮件的方式通知。请注意查收,如有疑问请及时联系客服",
"c6":"涨幅比例"
},
"base": {
"a0": "标题",

3
i18n/lang/zh-TW.json

@ -65,7 +65,8 @@
"c2":"版本號",
"c3":"可開",
"c4":"預估保證金",
"c5":"您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服"
"c5":"您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服",
"c6":"漲幅比例"
},
"base": {
"a0": "標題",

10
pages/purchase/bill.vue

@ -26,6 +26,10 @@
<div class="label fn-sm">{{$t('common.a5')}}</div>
<div class="color-light">{{item.subscription_currency_amount}}</div>
</div>
<div class="row d-flex m-y-xs justify-between">
<div class="label fn-sm">{{$t('common.c6')}}</div>
<div class="color-light">{{ ( ((issue_price-(item.payment_amount/item.subscription_currency_amount))/issue_price)*100 ).toFixed(2) }}%</div>
</div>
</div>
</div>
</ul>
@ -47,6 +51,7 @@ export default {
ContractAccount: this.$t('transfer.a5'),
FinancialAccount: this.$t('transfer.a7'),
},
issue_price:null
};
},
computed: {
@ -75,6 +80,9 @@ export default {
});
},
},
created() {},
created() {
console.info(this.$route)
this.issue_price=this.$route.query.issue_price
},
};
</script>

3
pages/purchase/index.vue

@ -4,7 +4,7 @@
<!-- 申购数据和申购周期 -->
<v-header class="nav-head" :border="false" :title="$t('invite.a0')">
<template #right>
<v-link to="/pages/purchase/bill">
<v-link :to="'/pages/purchase/bill?issue_price='+detail.issue_price">
<van-icon class="fn-20 m-t-xs" name="todo-list-o" />
</v-link>
</template>
@ -233,6 +233,7 @@ export default {
getInfo() {
Subscride.subscribe().then((res) => {
this.detail = res.data;
});
},
//

Loading…
Cancel
Save