From 793391c23ba45b3dab55657ecd2448d87e17f854 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 16 九月 2025 13:49:53 +0800
Subject: [PATCH] 设备巡检、智能派单
---
src/main.js | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index 021ac8f..ae84a56 100644
--- a/src/main.js
+++ b/src/main.js
@@ -2,14 +2,17 @@
import plugins from './plugins'
import store from './store'
import uviewPlus from 'uview-plus'
+import { setupGlobalComponents } from './components'
import { createSSRApp } from 'vue'
import directive from './directive' // directive
import { useDict } from '@/utils/dict'
-import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi'
-
+import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels, formatDateToYMD } from '@/utils/ruoyi'
+import {
+ calculateTaxExclusiveTotalPrice,
+} from "@/utils/summarizeTable.js";
export function createApp() {
@@ -17,6 +20,8 @@
app.use(store)
app.use(uviewPlus)
app.use(plugins)
+ // 娉ㄥ唽鍏ㄥ眬缁勪欢
+ setupGlobalComponents(app)
// #ifndef MP-WEIXIN
// 寰俊灏忕▼搴忎腑涓嶆敮鎸佽嚜瀹氫箟鎸囦护
@@ -31,6 +36,8 @@
app.config.globalProperties.addDateRange = addDateRange
app.config.globalProperties.selectDictLabel = selectDictLabel
app.config.globalProperties.selectDictLabels = selectDictLabels
+ app.config.globalProperties.calculateTaxExclusiveTotalPrice = calculateTaxExclusiveTotalPrice;
+ app.config.globalProperties.formatDateToYMD = formatDateToYMD;
return {
app
--
Gitblit v1.9.3