审稿页面显示
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
{{ item.name }}
|
||||
</h5>
|
||||
<p v-if="index == 0">
|
||||
|
||||
<span style="color: #f56c6c; font-weight: 700" v-if="feeStatus == 0">
|
||||
<i class="el-icon-warning" style="margin-right: 10px"></i>Manuscript unpaid
|
||||
</span>
|
||||
@@ -89,6 +90,7 @@
|
||||
|
||||
<el-table-column prop="" :label="$t('pendingPayment.Paymentstatus')">
|
||||
<template slot-scope="scope">
|
||||
|
||||
<span v-if="feeStatus == 0" style="color: #f56c6c"><b>Manuscript unpaid</b></span>
|
||||
<span v-if="feeStatus == 1" style="color: #67c23a"><b>Paid already</b></span>
|
||||
<span v-if="feeStatus == 2" style="color: #67c23a"><b>No payment required</b></span>
|
||||
@@ -731,9 +733,11 @@ export default {
|
||||
paystation_currency: res.data.order && res.data.order.paystation ? res.data.order.paystation.currency : ''
|
||||
};
|
||||
|
||||
if (this.article_pay_info.is_buy == 1) {
|
||||
if (this.article_pay_info.is_buy == 1) {
|
||||
if (Number(this.article_pay_info.fee) == 0) {
|
||||
|
||||
this.feeStatus = 2;
|
||||
|
||||
} else {
|
||||
this.feeStatus = 1;
|
||||
}
|
||||
@@ -741,8 +745,8 @@ export default {
|
||||
this.feeStatus = 0;
|
||||
}
|
||||
this.tableData = [{ ...this.article_pay_info }];
|
||||
this.feeStatus = res.data.state;
|
||||
this.isShowCommit = res.data.state == 1 ? true : false;
|
||||
|
||||
this.isShowCommit = this.article_pay_info.is_buy == 1 ? true : false;
|
||||
console.log(this.isShowCommit);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user