From 7f12ce3148e7f2a1e2cf2e238c7b4800bf38e0eb Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 05 二月 2026 10:17:27 +0800
Subject: [PATCH] 进销存升级app: 1.编辑来票台账时,修改来票数1为3后,未来票数由9变为6,并且还有提示请输入数据 2.供应商往来数据跟web端展示数据不符

---
 src/main.js |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/main.js b/src/main.js
index c866fb5..ae84a56 100644
--- a/src/main.js
+++ b/src/main.js
@@ -2,8 +2,6 @@
 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'
 
 
@@ -11,11 +9,10 @@
 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() {
@@ -23,8 +20,6 @@
   app.use(store)
   app.use(uviewPlus)
   app.use(plugins)
-  app.use(Vant)
-  
   // 娉ㄥ唽鍏ㄥ眬缁勪欢
   setupGlobalComponents(app)
 
@@ -42,6 +37,7 @@
   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