From 77861fcc5ee1c4f8e7c6412b373cb438c7313930 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 03 九月 2025 10:06:26 +0800
Subject: [PATCH] 头部样式修改、适配不同机型

---
 src/pages/sales/invoicingRegistration/index.vue |   75 ++++++++-----------------------------
 1 files changed, 16 insertions(+), 59 deletions(-)

diff --git a/src/pages/sales/invoicingRegistration/index.vue b/src/pages/sales/invoicingRegistration/index.vue
index 4d2a79a..e7af8a9 100644
--- a/src/pages/sales/invoicingRegistration/index.vue
+++ b/src/pages/sales/invoicingRegistration/index.vue
@@ -30,9 +30,6 @@
 							</view>
 							<text class="item-id">{{ item.salesContractNo }}</text>
 						</view>
-						<!--							<view class="item-tag">-->
-						<!--								<text class="tag-text">{{ item.recorder }}</text>-->
-						<!--							</view>-->
 					</view>
 					<up-divider></up-divider>
 					
@@ -69,23 +66,22 @@
 					
 					<!-- 鎿嶄綔鎸夐挳鍖哄煙 -->
 					<view class="action-buttons">
-						<van-button
-							type="primary"
-							size="small" 
-							@click="handleAddInvoice(item)"
-							class="action-btn"
-							:disabled="item.entryPerson != userStore.id || item.noInvoiceAmountTotal == 0"
-						>
-							鏂板寮�绁�
-						</van-button>
-						<van-button 
-							type="default" 
-							size="small" 
-							@click="handleViewDetail(item)"
-							class="action-btn"
-						>
-							鏌ョ湅璇︽儏
-						</van-button>
+						<up-button
+			type="primary"
+			size="small"
+			@click="handleAddInvoice(item)"
+			class="action-btn"
+			:disabled="item.noInvoiceAmountTotal == 0"
+		>
+			鏂板寮�绁�
+		</up-button>
+		<up-button
+			size="small"
+			@click="handleViewDetail(item)"
+			class="action-btn"
+		>
+			鏌ョ湅璇︽儏
+		</up-button>
 					</view>
 				</view>
 			</view>
@@ -93,11 +89,6 @@
 		<view v-else class="no-data">
 			<text>鏆傛棤閿�鍞彴璐︽暟鎹�</text>
 		</view>
-		
-		<!-- 娴姩鎿嶄綔鎸夐挳 -->
-		<!-- <view class="fab-button" @click="handleInfo('add')">
-			<up-icon name="plus" size="24" color="#ffffff"></up-icon>
-		</view> -->
 	</view>
 </template>
 
@@ -114,11 +105,6 @@
 // 閿�鍞彴璐︽暟鎹�
 const ledgerList = ref([]);
 const total = ref(0);
-
-// 鍚堝悓閫夋嫨鍣ㄧ浉鍏�
-const contractList = ref([]);
-const contractLoading = ref(false);
-const contractFinished = ref(false);
 
 // 杩斿洖涓婁竴椤�
 const goBack = () => {
@@ -141,15 +127,6 @@
 // 澶勭悊鏂板寮�绁�
 const handleAddInvoice = (item) => {
 	try {
-		// 妫�鏌ユ潈闄愶細鍙湁褰曞叆浜烘墠鑳芥柊澧炲紑绁�
-		if (item.entryPerson != userStore.id) {
-			uni.showToast({
-				title: '鍙湁褰曞叆浜烘墠鑳芥柊澧炲紑绁�',
-				icon: 'none'
-			});
-			return;
-		}
-		
 		// 瀛樺偍閫変腑鐨勫悎鍚屼俊鎭�
 		uni.setStorageSync('editData', JSON.stringify(item));
 		
@@ -199,26 +176,6 @@
 	min-height: 100vh;
 	background: #f8f9fa;
 	position: relative;
-}
-
-.page-header {
-	background: #ffffff;
-	padding: 16px 20px;
-	display: flex;
-	align-items: center;
-	justify-content: space-between;
-	border-bottom: 1px solid #f0f0f0;
-	position: sticky;
-	/* 鍏煎 iOS 鍒樻捣/鐏靛姩宀涘畨鍏ㄥ尯 */
-	padding-top: env(safe-area-inset-top);
-	top: 0;
-	z-index: 100;
-}
-
-.header-left {
-	display: flex;
-	align-items: center;
-	gap: 8px;
 }
 
 .nav-icon {

--
Gitblit v1.9.3