From 5d51aeded717c667a22096174168e4e5e59bde39 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 22 八月 2025 15:38:57 +0800
Subject: [PATCH] 1.来票登记开发联调
---
src/main.js | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main.js b/src/main.js
index 021ac8f..c866fb5 100644
--- a/src/main.js
+++ b/src/main.js
@@ -2,6 +2,9 @@
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'
@@ -9,6 +12,9 @@
import { useDict } from '@/utils/dict'
import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'
+import {
+ calculateTaxExclusiveTotalPrice,
+} from "@/utils/summarizeTable.js";
@@ -17,6 +23,10 @@
app.use(store)
app.use(uviewPlus)
app.use(plugins)
+ app.use(Vant)
+
+ // 娉ㄥ唽鍏ㄥ眬缁勪欢
+ setupGlobalComponents(app)
// #ifndef MP-WEIXIN
// 寰俊灏忕▼搴忎腑涓嶆敮鎸佽嚜瀹氫箟鎸囦护
@@ -31,6 +41,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