From 19d17f0f0fb02f46342d70b5180e40a0ad1b66d3 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 09 十一月 2023 18:16:13 +0800
Subject: [PATCH] MrShi

---
 admin/src/components/business/BillDetailWindow.vue |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/admin/src/components/business/BillDetailWindow.vue b/admin/src/components/business/BillDetailWindow.vue
index 065573c..8cd7b44 100644
--- a/admin/src/components/business/BillDetailWindow.vue
+++ b/admin/src/components/business/BillDetailWindow.vue
@@ -4,7 +4,7 @@
     :visible.sync="visible"
     :confirm-working="isWorking"
   >
-    <NoBikeBillDetail v-if="form.type==4" ref="noBikeBillDetail"/>
+    <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