| | |
| | | accountAmount: 0.0, |
| | | payType: '', |
| | | }, |
| | | qrcodeUrl: 'https://www.baidu.com/', |
| | | qrcodeUrl: '', |
| | | feeIds:[] |
| | | |
| | | }, |
| | |
| | | console.log('payFeeOrderConfirmInfo',_data,'feeIds ', $that.feeIds); |
| | | |
| | | $that._payOweFee() |
| | | $("#doPayFeeModal").modal('show'); |
| | | |
| | | |
| | | if ($that.payFeeOrderConfirmInfo.payType === 'qrCode') { |
| | | $that.$nextTick(function () { |
| | | $that.generateQRCode($that.qrcodeUrl); |
| | | }); |
| | | } |
| | | // if ($that.payFeeOrderConfirmInfo.payType === 'qrCode') { |
| | | // $that.$nextTick(function () { |
| | | // $that.generateQRCode($that.qrcodeUrl); |
| | | // }); |
| | | // } |
| | | |
| | | if ($that.payFeeOrderConfirmInfo.payType != 'common') { |
| | | setTimeout('document.getElementById("authCode").focus()', 1000); |
| | |
| | | methods: { |
| | | _payOweFee: function () { |
| | | let param = { |
| | | params: { |
| | | // params: { |
| | | roomId: $that.payFeeOrderConfirmInfo.payerObjId, |
| | | communityId: $that.payFeeOrderConfirmInfo.communityId, |
| | | business:'oweFee', |
| | | feeIds: $that.feeIds |
| | | } |
| | | // } |
| | | }; |
| | | //发送get请求 |
| | | vc.http.apiGet('/payment.nativeQrcodePayment', |
| | | param, |
| | | vc.http.apiPost('/payment.nativeQrcodePayment', |
| | | JSON.stringify(param), { |
| | | emulateJSON: true |
| | | }, |
| | | function (json, res) { |
| | | let _data = JSON.parse(json); |
| | | console.log('nativeQrcodePayment',_data); |
| | | console.log('nativeQrcodePayment',_data.data.codeUrl); |
| | | $that.qrcodeUrl = _data.data.codeUrl; |
| | | $("#doPayFeeModal").modal('show'); |
| | | if ($that.payFeeOrderConfirmInfo.payType === 'qrCode') { |
| | | $that.$nextTick(function () { |
| | | $that.generateQRCode($that.qrcodeUrl); |
| | | }); |
| | | } |
| | | }, |
| | | function (errInfo, error) { |
| | | console.log('请求失败处理'); |