Commit 65570695 authored by 14699's avatar 14699

'fix-问题修复'

parent 7f2b4dfc
......@@ -178,8 +178,8 @@ const payMoney = () => {
payType: checked.value,
cashflowId: props.payInfoObj.cashflowId
}
if(checked.value == 'WECHAT_PAY'){
Toast.fail('微信支付当前暂不支持!')
if(checked.value == 'UNION_PAY'){
Toast.fail('云闪付(银行卡)当前暂不支持!')
} else {
goPayApp(info)
}
......@@ -195,7 +195,7 @@ const goPayApp = async (param) => {
if(param.payType == 'WECHAT_PAY'){
paramsData = {
"channel":"01",
appPayRequest:res.rows[0].appPayRequest
"appPayRequest":res.rows[0].appPayRequest
}
} else if(param.payType == 'ALI_PAY'){
paramsData = {
......
......@@ -17,7 +17,7 @@
</template>
<script setup>
import { Collapse, CollapseItem, Cell, CellGroup, NavBar } from 'vant'
import { Collapse, CollapseItem, Cell, CellGroup, NavBar, Toast} from 'vant'
import Notice from '@/components/Notice.vue'
import {ref, reactive} from "vue";
import api from "../api";
......
......@@ -53,7 +53,7 @@
<script setup>
import RepayPlan from '@/components/RepayPlan.vue'
import Pay from '../components/Pay.vue'
import { Icon, Dialog } from 'vant'
import { Icon, Dialog, Toast} from 'vant'
import {goBack} from '../../../utils/globalFun';
import {ref} from "vue";
import { useRoute, useRouter } from "vue-router";
......@@ -72,9 +72,9 @@ const route = useRoute()
const router = useRouter();
const handleClick = (item) => {
Toast.fail('当前暂不支持进行APP支付!')
// showModal.value = true
// payInfo = {cashflowId:item.cashflowId,payAmount:item.obligation,cfItem:item.cfItem}
// Toast.fail('当前暂不支持进行APP支付!')
showModal.value = true
payInfo = {cashflowId:item.cashflowId,payAmount:item.obligation,cfItem:item.cfItem}
}
const handleColse = (param) => {
......@@ -84,7 +84,6 @@ const handleColse = (param) => {
// 支付成功回调
const paySuccessFunction = (result) => {
showModal.value = false;
//{"resultCode":"1000","resultMsg":"用户取消了云闪付支付"}
let message = '支付成功!'
Dialog.confirm({
title: '提示',
......
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