|
|
@@ -41,7 +41,8 @@
|
|
|
<span @click="onJumpToUpload">{{!fpUrl ? '去上传电子发票' : '已上传电子发票'}}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="taxContent">代缴综合费率{{item.kaifabao_rate}}%, 预计到账¥{{calcOkMoney(item)}}元</div>
|
|
|
+ <div class="taxContent">代缴综合费率{{calcRate(item)}}%, 预计到账¥{{calcOkMoney(item)
|
|
|
+ }}元</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -124,7 +125,10 @@
|
|
|
},
|
|
|
methods: {
|
|
|
calcOkMoney(item) {
|
|
|
- return Math.floor(this.vCoins * (100 - item.kaifabao_rate)) / 100
|
|
|
+ return Math.floor(this.vCoins * (100 - item.kaifabao_rate - item.original_rate)) / 100
|
|
|
+ },
|
|
|
+ calcRate(item) {
|
|
|
+ return Math.round((Number(item.kaifabao_rate) + Number(item.original_rate)) * 100) / 100
|
|
|
},
|
|
|
getWithdrawType() {
|
|
|
this.$axios.post('/api/kaifabao/getBuckleConfigList').then(res => {
|