From bf02f5affad72f04cd46642e8ba4bbb8ac3e45a4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 6 Sep 2023 09:59:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/fee/qrcode-owe-fee.vue | 21 +++++++++++++++ pages.json | 9 +++++++ pages/fee/cashier.vue | 45 +++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 pages/fee/cashier.vue diff --git a/components/fee/qrcode-owe-fee.vue b/components/fee/qrcode-owe-fee.vue index 6573ddc..b0eae85 100644 --- a/components/fee/qrcode-owe-fee.vue +++ b/components/fee/qrcode-owe-fee.vue @@ -112,6 +112,27 @@ }, onPayFee: function() { + if(!this.feeIds || this.feeIds.length < 1){ + uni.showToast({ + icon:'none', + title:'未选择费用' + }) + return; + } + let _objData = { + business: "oweFee", + communityId: this.communityId, + ownerId: this.ownerId, + feeName: '物业费', + receivedAmount: this.receivableAmount, + storeId: this.storeId, + feeIds:this.feeIds + }; + + uni.setStorageSync('doing_cashier',_objData); + uni.navigateTo({ + url:'/pages/fee/cashier?money='+this.receivableAmount+"&business=oweFee" + }) }, computeAmount:function(){ diff --git a/pages.json b/pages.json index 360b162..b1f0f15 100644 --- a/pages.json +++ b/pages.json @@ -925,6 +925,15 @@ } } + ,{ + "path" : "pages/fee/cashier", + "style" : + { + "navigationBarTitleText": "收款", + "enablePullDownRefresh": false + } + + } ], "tabBar": { "color": "#272636", diff --git a/pages/fee/cashier.vue b/pages/fee/cashier.vue new file mode 100644 index 0000000..1b52a22 --- /dev/null +++ b/pages/fee/cashier.vue @@ -0,0 +1,45 @@ + + + + +