From 51d23674a4a7659e4ca5752e7c8f462d7047337f Mon Sep 17 00:00:00 2001 From: fanfan Date: Tue, 16 Apr 2024 17:00:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/invoice/edit.vue | 6 +++--- pages/order/index.vue | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/pages/invoice/edit.vue b/pages/invoice/edit.vue index 60b8dab..40e618d 100644 --- a/pages/invoice/edit.vue +++ b/pages/invoice/edit.vue @@ -34,7 +34,7 @@ 发票抬头: - 更改抬头 + 选择发票抬头 @@ -192,7 +192,7 @@ icon: 'none', duration: 2000 }) - if (result.data.list.length.length > 0) { + if (result.data.length > 0) { uni.navigateTo({ url: "/pages/invoice/detail?id=" + result.data.list[0].id }) @@ -244,7 +244,7 @@ }, bindPickerChange1() { uni.navigateTo({ - url: "/pages/invoice/index?orderId=" + this.orderId +'&order='+(app.orderDetail?JSON.stringify(app.orderDetail):'') + url: "/pages/invoice/index?orderId=" + this.orderId +'&order='+(this.orderDetail?JSON.stringify(this.orderDetail):'') }) } } diff --git a/pages/order/index.vue b/pages/order/index.vue index bc75a97..99546de 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -94,9 +94,7 @@ - +