Commit 2c5e3f95 authored by FE-安焕焕's avatar FE-安焕焕 👣

支付流水缺失问题

parent 6015ace2
...@@ -125,7 +125,6 @@ import { ...@@ -125,7 +125,6 @@ import {
queryPayInfo, queryPayInfo,
kaGetNextUrl kaGetNextUrl
} from '@/api/pay.api.js'; } from '@/api/pay.api.js';
import Cookies from '@/service/cookieStorage.service';
const VCC_CHANNEL = localStorage.get('vccChannel'); const VCC_CHANNEL = localStorage.get('vccChannel');
let Current_Url = null; let Current_Url = null;
export default { export default {
...@@ -210,6 +209,7 @@ export default { ...@@ -210,6 +209,7 @@ export default {
cookies.set('orderNo', { orderNo: this.orderNo }); cookies.set('orderNo', { orderNo: this.orderNo });
if (this.$route?.query?.ocrflag || cookies.get('ocrflag')) { if (this.$route?.query?.ocrflag || cookies.get('ocrflag')) {
this.payInfo = cookies.get('info') || {}; this.payInfo = cookies.get('info') || {};
this.flowOrderNo = this.payInfo?.paramsData?.flowOrderNo || '';
cookies.remove('ocrflag'); cookies.remove('ocrflag');
cookies.remove('info'); cookies.remove('info');
// 先支付再查询信息 // 先支付再查询信息
...@@ -225,7 +225,7 @@ export default { ...@@ -225,7 +225,7 @@ export default {
async queryPayInfo() { async queryPayInfo() {
const [data, error] = await queryPayInfo({ orderNo: this.orderNo }); const [data, error] = await queryPayInfo({ orderNo: this.orderNo });
if (error && codeArr.indexOf(error?.response?.businessCode) < 0) { if (error && codeArr.indexOf(error?.response?.businessCode) < 0) {
// this.payResult('Fail'); this.payResult('Fail');
return; return;
} }
this.isReady = true; this.isReady = true;
...@@ -403,6 +403,7 @@ export default { ...@@ -403,6 +403,7 @@ export default {
this.retrieveLink(); this.retrieveLink();
return; return;
} }
console.log(params, 'params');
const paramsData = { const paramsData = {
...params, ...params,
quitUrl: Current_Url, quitUrl: Current_Url,
...@@ -483,6 +484,7 @@ export default { ...@@ -483,6 +484,7 @@ export default {
isCheckAgreement: this.isCheckAgreement, isCheckAgreement: this.isCheckAgreement,
mergePayPretreatmentId: this.mergePayPretreatmentId mergePayPretreatmentId: this.mergePayPretreatmentId
}); });
this.close();
this.goOcr(); this.goOcr();
} }
}, },
......
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