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

---
 src/main.js |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/src/main.js b/src/main.js
index fc8d022..dfd7393 100644
--- a/src/main.js
+++ b/src/main.js
@@ -2,8 +2,10 @@
 import plugins from './plugins'
 import store from './store'
 import uviewPlus from 'uview-plus'
-import Vant from 'vant';
-import 'vant/lib/index.css';
+// 绉婚櫎浠ヤ笅涓よ Vant 鐩稿叧瀵煎叆
+// import Vant from 'vant';
+// import 'vant/lib/index.css';
+import { setupGlobalComponents } from './components'
 
 
 import { createSSRApp } from 'vue'
@@ -11,6 +13,9 @@
 
 import { useDict } from '@/utils/dict'
 import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'
+import {
+  calculateTaxExclusiveTotalPrice,
+} from "@/utils/summarizeTable.js";
 
 
 
@@ -19,7 +24,11 @@
   app.use(store)
   app.use(uviewPlus)
   app.use(plugins)
-  app.use(Vant)
+  // 绉婚櫎浠ヤ笅琛� Vant 娉ㄥ唽
+  // app.use(Vant)
+  
+  // 娉ㄥ唽鍏ㄥ眬缁勪欢
+  setupGlobalComponents(app)
 
   // #ifndef MP-WEIXIN
   // 寰俊灏忕▼搴忎腑涓嶆敮鎸佽嚜瀹氫箟鎸囦护
@@ -34,6 +43,7 @@
   app.config.globalProperties.addDateRange = addDateRange
   app.config.globalProperties.selectDictLabel = selectDictLabel
   app.config.globalProperties.selectDictLabels = selectDictLabels
+  app.config.globalProperties.calculateTaxExclusiveTotalPrice = calculateTaxExclusiveTotalPrice;
 
   return {
     app

--
Gitblit v1.9.3