From 563f14617f4b5ee57e8d550bf3c1e34103263106 Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期六, 18 四月 2026 15:18:03 +0800
Subject: [PATCH] 优化扫码出库功能,增强前端页面交互体验,更新API接口以支持更灵活的出库状态处理

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

diff --git a/src/main.js b/src/main.js
index b430cfd..ae84a56 100644
--- a/src/main.js
+++ b/src/main.js
@@ -9,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() {
@@ -21,9 +20,6 @@
   app.use(store)
   app.use(uviewPlus)
   app.use(plugins)
-  // 绉婚櫎浠ヤ笅琛� Vant 娉ㄥ唽
-  // app.use(Vant)
-  
   // 娉ㄥ唽鍏ㄥ眬缁勪欢
   setupGlobalComponents(app)
 
@@ -41,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