提交 去掉paypal
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
</div>
|
||||
<div class="SettlementInstallmentOptionArea">
|
||||
<div class="optionArea">
|
||||
<div
|
||||
<!-- <div
|
||||
class="installmentOption"
|
||||
:class="selectedPaymentMethod == 'PayPal' ? 'isSelect' : ''"
|
||||
@click="selectPaymentMethod('PayPal')"
|
||||
@@ -92,7 +92,7 @@
|
||||
</div>
|
||||
<div v-if="selectedPaymentMethod === 'PayPal'" class="checkmark">✔</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<div
|
||||
class="installmentOption"
|
||||
:class="selectedPaymentMethod == 'Paystation' ? 'isSelect' : ''"
|
||||
@@ -184,7 +184,8 @@ export default {
|
||||
articleInfo: {},
|
||||
journalInfo: {},
|
||||
total: '',
|
||||
selectedPaymentMethod: 'PayPal', // 默认选中 PayPal
|
||||
// selectedPaymentMethod: 'PayPal', // 默认选中 PayPal
|
||||
selectedPaymentMethod: 'Paystation', // 默认选中 PayPal
|
||||
articleId: this.$route.query.id,
|
||||
urlList: {
|
||||
detail: 'api/Order/preOrderDetail',
|
||||
@@ -239,10 +240,12 @@ export default {
|
||||
.then((res) => {
|
||||
console.log('res at line 222:', res);
|
||||
if (res.code == 0) {
|
||||
|
||||
window.location.href = res.data.paystation.payme_url; loading.close();
|
||||
this.$router.push(res.data.paystation.payment_url)
|
||||
// window.location.href = res.data.paystation.payment_url;
|
||||
loading.close();
|
||||
} else {
|
||||
this.$message.error(res.data.msg);
|
||||
loading.close()
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user