Commit ffd60de4 authored by FE-安焕焕's avatar FE-安焕焕 👣

修改支付问题

parent 555d000a
<template>
<div class="pay-type-list">
<p class="type-title">{{ value.title }}</p>
<p class="type-title b-b">{{ value.title }}</p>
<payGroupItem
v-if="value.isGroupPay"
v-model="payList"
......
<template>
<div class="payCardItem">
<div :class="['type-item', 'b-t']" @click="changePayType(value)">
<div :class="['type-item', { 'b-t': !isGroupPay }]" @click="changePayType(value)">
<div class="type-item-content">
<div class="type-item-content-info">
<cr-image :src="value.icon" class="icon" mode="aspectFit" width="39" height="39" />
......
......@@ -186,7 +186,7 @@ export default {
return this.isRiskLimit();
},
amount() {
return this.payType === WECHAT_PAY || !this.selectedCoupon.faceValue
return IS_THIRD_PAY(this.payType) || !this.selectedCoupon.faceValue
? this.displayInfo.orderAmt
: (this.displayInfo.orderAmt - this.selectedCoupon.faceValue).toFixed(2);
},
......@@ -393,7 +393,7 @@ export default {
}
this.isDetention = false;
/* 设置密码 */
if (this.payType === CREDIT_PAY && !this.creditPayInfo.hasPwd) {
if (IS_CREDIT_PAY(this.payType) && !this.creditPayInfo.hasPwd) {
this.retrieveLink();
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment