提交
This commit is contained in:
@@ -39,22 +39,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px">
|
||||
<p
|
||||
style="
|
||||
margin: 0;
|
||||
color: #409eff;
|
||||
background: #ecf5ff;
|
||||
border-color: #b3d8ff;
|
||||
color: #505050;
|
||||
font-size: 12px;
|
||||
padding: 10px;
|
||||
box-sizing: border-box;
|
||||
"
|
||||
v-if="feeStatus == 2"
|
||||
>
|
||||
<i class="el-icon-warning" style="color: #517fd5; margin-right: 10px"></i>
|
||||
This manuscript does not require payment
|
||||
</p>
|
||||
|
||||
</div>
|
||||
<div v-for="(item, index) in tabsList" @click="jumpTab(index, item)" :class="tabName == item.refName ? 'P_style' : ''">
|
||||
<h5>
|
||||
@@ -931,24 +916,16 @@ export default {
|
||||
getDetail() {
|
||||
this.isShowCommit = false;
|
||||
this.$api
|
||||
.post('api/Order/preOrderDetail', {
|
||||
.post('api/Preaccept/getPreacceptPayment', {
|
||||
article_id: this.$route.query.id
|
||||
})
|
||||
.then((res) => {
|
||||
console.log('res at line 191:', res);
|
||||
if (res.code == 0) {
|
||||
this.articleInfo = res.data.article_detail;
|
||||
this.journalInfo = res.data.journal_detail;
|
||||
if (this.articleInfo.is_buy == 1 && this.journalInfo.fee != '0.00') {
|
||||
this.isShowCommit = true;
|
||||
this.feeStatus = 1;
|
||||
} else if (this.journalInfo.fee == '0.00' && this.articleInfo.is_buy == 1) {
|
||||
this.isShowCommit = true;
|
||||
this.feeStatus = 2;
|
||||
} else {
|
||||
this.feeStatus = 0;
|
||||
this.isShowCommit = false;
|
||||
}
|
||||
this.feeStatus=res.data.state
|
||||
this.isShowCommit=res.data.state==1?true:false
|
||||
console.log(this.isShowCommit)
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user