From 7eebd7981c1f5d2c569556d1e87f7818cef18cce Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 21 八月 2025 13:15:15 +0800
Subject: [PATCH] 1.样式修改

---
 src/pages/sales/invoiceLedger/index.vue |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/src/pages/sales/invoiceLedger/index.vue b/src/pages/sales/invoiceLedger/index.vue
index 60a3533..bc90b96 100644
--- a/src/pages/sales/invoiceLedger/index.vue
+++ b/src/pages/sales/invoiceLedger/index.vue
@@ -1,14 +1,7 @@
 <template>
 	<view class="sales-account">
-		<!-- 椤甸潰澶撮儴 -->
-		<van-nav-bar
-			title="寮�绁ㄥ彴璐�"
-			left-text="杩斿洖"
-			left-arrow
-			@click-left="goBack"
-			fixed
-			placeholder
-		/>
+		<!-- 浣跨敤閫氱敤椤甸潰澶撮儴缁勪欢 -->
+		<PageHeader title="寮�绁ㄥ彴璐�" @back="goBack" />
 
 		<!-- 鎼滅储鍜岀瓫閫夊尯鍩燂紙淇濇寔涓庨攢鍞彴璐﹂鏍间竴鑷达級 -->
 		<view class="search-filter-section">
@@ -103,6 +96,7 @@
 						<van-button
 							type="danger"
 							size="small"
+							plain
 							class="action-btn"
 							:disabled="item.invoicePerson !== userStore.nickName"
 							@click="handleDelete(item)"
@@ -112,6 +106,7 @@
 						<van-button
 							type="default"
 							size="small"
+							plain
 							class="action-btn"
 							v-if="item.invoiceFileName"
 							@click="openFileActions(item.commonFiles || [])"
@@ -121,7 +116,6 @@
 						<van-button
 							type="primary"
 							size="small"
-							plain
 							class="action-btn"
 							v-else
 							:disabled="item.invoicePerson !== userStore.nickName"
@@ -230,6 +224,7 @@
 	commitFile,
 	delInvoiceLedgerByRegProductId
 } from '@/api/salesManagement/invoiceLedger.js'
+import {onShow} from "@dcloudio/uni-app";
 
 const userStore = useUserStore()
 
@@ -518,7 +513,7 @@
 	}
 }
 
-onMounted(() => {
+onShow(() => {
 	getList()
 })
 </script>

--
Gitblit v1.9.3