From adeb8b768926ed50a3fb0857f366d6a0308d2cc0 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 29 八月 2025 17:45:57 +0800
Subject: [PATCH] 修改组件

---
 src/pages/sales/invoicingRegistration/add.vue |   29 +++++++++++++++++++----------
 1 files changed, 19 insertions(+), 10 deletions(-)

diff --git a/src/pages/sales/invoicingRegistration/add.vue b/src/pages/sales/invoicingRegistration/add.vue
index 154e2ac..b87cb7b 100644
--- a/src/pages/sales/invoicingRegistration/add.vue
+++ b/src/pages/sales/invoicingRegistration/add.vue
@@ -1,14 +1,7 @@
 <template>
   <view class="account-detail">
-    <!-- 椤甸潰澶撮儴 -->
-    <van-nav-bar
-      title="鏂板寮�绁ㄧ櫥璁�"
-      left-text="杩斿洖"
-      left-arrow
-      @click-left="goBack"
-      fixed
-      placeholder
-    />
+    <!-- 浣跨敤閫氱敤椤甸潰澶撮儴缁勪欢 -->
+    <PageHeader title="鏂板寮�绁ㄧ櫥璁�" @back="goBack" />
     
     <!-- 琛ㄥ崟鍐呭 -->
     <van-form @submit="submitForm" ref="formRef" label-width="110px" input-align="right" error-message-align="right" scroll-to-error scroll-to-error-position="center">
@@ -198,7 +191,23 @@
 
 <script setup>
 import { ref, reactive, onMounted } from 'vue'
-import { showToast, showLoadingToast, closeToast } from 'vant'
+// 鏇挎崲 toast 鏂规硶
+const showToast = (message) => {
+	uni.showToast({
+		title: message,
+		icon: 'none'
+	})
+}
+
+const showLoadingToast = (message) => {
+	uni.showLoading({
+		title: message || '鍔犺浇涓�...'
+	})
+}
+
+const closeToast = () => {
+	uni.hideLoading()
+}
 import { invoiceRegistrationSave } from '@/api/salesManagement/invoiceRegistration'
 import useUserStore from '@/store/modules/user'
 import {getSalesLedgerWithProducts} from "@/api/salesManagement/salesLedger";

--
Gitblit v1.9.3