From 0d8fcef83bf2c4fc9275836e7f3e8f93139b17ab Mon Sep 17 00:00:00 2001
From: jialh <1972868360@qq.com>
Date: 星期六, 30 八月 2025 23:17:41 +0800
Subject: [PATCH] 更新
---
public/components/property/payFeeOrderConfirm/payFeeOrderConfirm.js | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/public/components/property/payFeeOrderConfirm/payFeeOrderConfirm.js b/public/components/property/payFeeOrderConfirm/payFeeOrderConfirm.js
index 2420249..f420622 100644
--- a/public/components/property/payFeeOrderConfirm/payFeeOrderConfirm.js
+++ b/public/components/property/payFeeOrderConfirm/payFeeOrderConfirm.js
@@ -19,9 +19,13 @@
$that.payFeeOrderConfirmInfo.payType = _data.payType;
console.log('payFeeOrderConfirmInfo', _data, 'feeId ', $that.feeId);
- $that._payOweFee()
+ if ($that.payFeeOrderConfirmInfo.payType === 'qrCode') {
+ $that._payOweFee()
+ }else{
+ $("#doPayFeeModal").modal('show');
+ }
// if ($that.payFeeOrderConfirmInfo.payType === 'qrCode') {
// $that.$nextTick(function () {
// $that.generateQRCode($that.qrcodeUrl);
@@ -57,11 +61,11 @@
appId: "wx780f11f414d30cbf"
// }
};
- if ($that.payFeeOrderConfirmInfo.cycles=='-103'|| $that.payFeeOrderConfirmInfo.cycles=='103') {
+ if ($that.payFeeOrderConfirmInfo.cycles == '-103' || $that.payFeeOrderConfirmInfo.cycles == '103') {
param.custEndTime = $that.payFeeOrderConfirmInfo.custEndTime
- } else if ($that.payFeeOrderConfirmInfo.cycles=='-105'|| $that.payFeeOrderConfirmInfo.cycles=='105') {
+ } else if ($that.payFeeOrderConfirmInfo.cycles == '-105' || $that.payFeeOrderConfirmInfo.cycles == '105') {
param.custEndTime = $that.payFeeOrderConfirmInfo.customEndTime,
- param.custStartTime = $that.payFeeOrderConfirmInfo.customStartTime
+ param.custStartTime = $that.payFeeOrderConfirmInfo.customStartTime
}
//鍙戦�乬et璇锋眰
// vc.http.apiPost('/payment.nativeQrcodePayment',
@@ -76,6 +80,11 @@
vc.toast("璇锋眰澶辫触锛屾湭鎵惧埌鐩稿叧鏁版嵁銆傝妫�鏌ョ即璐逛俊鎭��"); // 鏄剧ず鎻愮ず淇℃伅
return; // 閫�鍑哄嚱鏁�
}
+ if (!_data.qrCode) {
+ // 澶勭悊404閿欒
+ vc.toast(_data.msg); // 鏄剧ず鎻愮ず淇℃伅
+ return; // 閫�鍑哄嚱鏁�
+ }
// console.log('nativeQrcodePayment', _data.data.body);
// const data = JSON.parse(_data.data.body);
// $that.qrcodeUrl = data.qr_code;
--
Gitblit v1.8.0