jialh
2025-08-21 a5596b414e7d105c25f78e3bd1ada65353da45e2
更新
1个文件已修改
33 ■■■■■ 已修改文件
public/components/property/payFeeOrderConfirm/payFeeOrderConfirm.js 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/components/property/payFeeOrderConfirm/payFeeOrderConfirm.js
@@ -6,7 +6,7 @@
                accountAmount: 0.0,
                payType: '',
            },
            qrcodeUrl: 'https://www.baidu.com/',
            qrcodeUrl: '',
            feeIds:[]
        },
@@ -20,13 +20,13 @@
                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);
@@ -38,19 +38,28 @@
        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('请求失败处理');