From 154ef170c62397cb6b0a59aeb77c6a7fb00d1ecd Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Tue, 17 Oct 2023 16:48:56 +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 --- pages/invoice/addInvoiceApply.vue | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/pages/invoice/addInvoiceApply.vue b/pages/invoice/addInvoiceApply.vue index 25c2d78..39f4863 100644 --- a/pages/invoice/addInvoiceApply.vue +++ b/pages/invoice/addInvoiceApply.vue @@ -59,6 +59,9 @@ + + + @@ -156,10 +159,10 @@ }, _submitInvoice: function() { let _that = this; - if(!_that.detailIds || _that.detailIds.length < 1){ + if (!_that.detailIds || _that.detailIds.length < 1) { uni.showToast({ - icon:'none', - title:'未选择缴费记录' + icon: 'none', + title: '未选择缴费记录' }); return; } @@ -174,17 +177,22 @@ oiId: _that.oiId, detailIds: _that.detailIds, communityId: getCommunityId(), - }).then(_data =>{ + }).then(_data => { uni.showToast({ - icon:'none', - title:_data.msg + icon: 'none', + title: _data.msg }) if (_data.code == 0) { uni.navigateTo({ - url:'/pages/invoice/invoiceApply' + url: '/pages/invoice/invoiceApply' }) } }) + }, + _toSettings:function(){ + uni.navigateTo({ + url:'/pages/invoice/invoice' + }) } } }