|
@@ -61,7 +61,7 @@
|
|
|
width="500px"
|
|
|
append-to-body
|
|
|
>
|
|
|
- <giveMemberPayment :tableList="tableList" :orderNo="orderNo" :codeUrl="codeUrl" @close="onPaymentClose" />
|
|
|
+ <giveMemberPayment :tableList="tableList" v-on="$listeners" :orderNo="orderNo" :codeUrl="codeUrl" @close="onPaymentClose" />
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -97,6 +97,12 @@ export default {
|
|
|
try {
|
|
|
const res = await cloudPay(this.tableList)
|
|
|
console.log(res)
|
|
|
+ if(res.data.amount == 0 && res.data.orderNo) {
|
|
|
+ this.$message.success('您已成功缴费')
|
|
|
+ this.onPaymentClose(true)
|
|
|
+ this.$listeners.getList()
|
|
|
+ return
|
|
|
+ }
|
|
|
const payForm = this.payForm
|
|
|
// // 二维码页面, 唤起支付页面
|
|
|
const { orderNo, sign, amount, orderBody, orderSubject } = res.data.payMap
|