From 34309994d56d63f93e419210eb6065065a6b64de Mon Sep 17 00:00:00 2001 From: liugongyu <290219706@qq.com> Date: Mon, 10 Jul 2023 13:38:26 +0800 Subject: [PATCH] 补缴 聚合 支付 --- src/components/orderPay.vue | 40 ++++++++++++++++++++-------------------- src/components/parkRecord.vue | 335 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/utils/utils.js | 1 + 3 files changed, 186 insertions(+), 190 deletions(-) diff --git a/src/components/orderPay.vue b/src/components/orderPay.vue index 9a7b113..a1beab5 100644 --- a/src/components/orderPay.vue +++ b/src/components/orderPay.vue @@ -77,28 +77,28 @@ export default { this.arrearageActFee = this.$route.query.arrearageActFee // 实收 this.clientBrowser = this.$utils.clientBrowser() //支付方式 this.paySrcType = this.$route.query.paySrcType // 实收 - // this.orderId = this.$route.query.ordeID + this.orderId = this.$route.query.ordeID - // console.log(this.orderId) + console.log(this.orderId) let me = this let _order = [] - if (this.paySrcType == 103) { - this.orderId = JSON.parse(sessionStorage.getItem('pageIds')) - // this.orderId = JSON.parse(this.orderId) - console.log(this.orderId) - this.orderId.forEach(item => { - _order.push({ - orderId: item - }) - }) - this.orderId = [] - this.orderId = _order - }else{ - this.orderId = sessionStorage.getItem('pageIds') - } + // if (this.paySrcType == 103) { + // this.orderId = JSON.parse(sessionStorage.getItem('pageIds')) + // // this.orderId = JSON.parse(this.orderId) + // console.log(this.orderId) + // this.orderId.forEach(item => { + // _order.push({ + // orderId: item + // }) + // }) + // this.orderId = [] + // this.orderId = _order + // }else{ + // this.orderId = sessionStorage.getItem('pageIds') + // } console.log(this.orderId) this.appOrderTimeout = this.$route.query.appOrderTimeout // if (this.clientBrowser == "微信") { @@ -149,15 +149,15 @@ export default { orderActFee: me.arrearageActFee, // 应收 orderBigType: '100', // 订单大类型 100:停车订单 200:充值订单 300:会员卡订单 orderTotalFee: me.arrearageActFee, // 实收 - payOrderType: 101, // 支付单来源 101:停车付款单 102:停车预付单 103:停车补缴单 104 共享车位 201 余额充值单 202 押金充值单 301 会员卡购买单 302 会员卡续费 + payOrderType: this.paySrcType, // 支付单来源 101:停车付款单 102:停车预付单 103:停车补缴单 104 共享车位 201 余额充值单 202 押金充值单 301 会员卡购买单 302 会员卡续费 paySource: '3', //支付单来源 101:停车付款单 102:停车预付单 103:停车补缴单 104 共享车位 201 余额充值单 202 押金充值单 301 会员卡购买单 302 会员卡续费 - paySrcType: 101, + paySrcType: this.paySrcType, payType: this.$utils.clientBrowsePayType()==4?'36':'37', - rltOrderId: sessionStorage.getItem('pageIds'), + rltOrderId: this.orderId, sourceType: '3', orgId: this.$utils.myOrgId, - terminalSource: '7', + terminalSource: this.$utils.commonTerminalSource, }; jsondata.sign = this.$utils.signObject(jsondata) diff --git a/src/components/parkRecord.vue b/src/components/parkRecord.vue index d45c55d..3313bc0 100644 --- a/src/components/parkRecord.vue +++ b/src/components/parkRecord.vue @@ -1,6 +1,6 @@