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

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

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