From 4fabfe4dbd2eb28d07a4350597d314958cc1c281 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期四, 09 十月 2025 11:16:43 +0800 Subject: [PATCH] 优化 --- admin/src/components/business/BillDetailWindow.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/admin/src/components/business/BillDetailWindow.vue b/admin/src/components/business/BillDetailWindow.vue index 48a51a5..8cd7b44 100644 --- a/admin/src/components/business/BillDetailWindow.vue +++ b/admin/src/components/business/BillDetailWindow.vue @@ -4,8 +4,8 @@ :visible.sync="visible" :confirm-working="isWorking" > - <NoBikeBillDetail v-if="form.type==4" ref="noBikeBillDetail"/> - <BillDetail v-else ref="billDetail"/> + <NoBikeBillDetail v-if="form.type == 4" ref="noBikeBillDetail"/> + <BillDetail v-else ref="billDetail"/> </GlobalWindow> </template> @@ -26,7 +26,7 @@ startDate: '', type: '' }, - + } }, created () { @@ -42,14 +42,15 @@ // 鏂板缓 this.form = target this.$nextTick(() => { + console.log(target) if (target.type == 4) { - this.$refs.noBikeBillDetail.reload(target) + this.$refs.noBikeBillDetail.reload({ ...target, isBikeFee: 1 }) } else { this.$refs.billDetail.reload(target) } }) }, }, - + } </script> -- Gitblit v1.9.3