This commit is contained in:
2025-01-09 11:23:33 +08:00
parent 12e3938e23
commit ee33ce076f
7 changed files with 156 additions and 141 deletions

View File

@@ -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)
}
});
},