Commit 65570695 authored by 14699's avatar 14699

'fix-问题修复'

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