From f1bcbcb10006807787247219df78e0408742604b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 22 八月 2025 10:59:09 +0800
Subject: [PATCH] 1.采购台账开发联调

---
 src/pages/sales/salesAccount/detail.vue |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/src/pages/sales/salesAccount/detail.vue b/src/pages/sales/salesAccount/detail.vue
index d5b2522..bca5e36 100644
--- a/src/pages/sales/salesAccount/detail.vue
+++ b/src/pages/sales/salesAccount/detail.vue
@@ -1,10 +1,7 @@
 <template>
   <view class="account-detail">
-    <!-- 椤堕儴鏍囬鏍� -->
-    <view class="header">
-      <up-icon name="arrow-left" size="20" color="#333" @click="goBack" />
-      <text class="title">鍙拌处璇︽儏</text>
-    </view>
+    <!-- 浣跨敤閫氱敤椤甸潰澶撮儴缁勪欢 -->
+		<PageHeader title="鍙拌处璇︽儏" @back="goBack" />
 
          <!-- 琛ㄥ崟鍖哄煙 -->
 		<van-form @submit="onSubmit" label-width="110px" input-align="right" style="margin-top: 10px" error-message-align="right" scroll-to-error scroll-to-error-position="center">
@@ -428,7 +425,8 @@
 	modelList({ id: value }).then((res) => {
 		modelOptions.value = res.map(user => ({
 			text: user.model,
-			value: user.id
+			value: user.id,
+			unit: user.unit,
 		}));
 	});
 };
@@ -612,7 +610,7 @@
 };
 const setUserInfo = () => {
 	form.value.entryPerson = userStore.id;
-	form.value.entryPersonName = userStore.name;
+	form.value.entryPersonName = userStore.nickName;
 	// 璁剧疆褰撳ぉ鏃ユ湡
 	const today = new Date()
 	const year = today.getFullYear()
@@ -792,9 +790,6 @@
   font-weight: 600;
   color: #333;
 }
-.add-btn {
-  border-radius: 0.25rem;
-}
 .product-card {
 	background: #FFFFFF;
 	box-shadow: 0 0 1.25rem 0 rgba(0,57,117,0.08);
@@ -842,9 +837,6 @@
 }
 .product-form {
   margin-bottom: 1rem;
-}
-.del-btn {
-  border-radius: 0.25rem;
 }
 .footer-btns {
   position: fixed;

--
Gitblit v1.9.3