Files
bj_power/bj_power_workstation/frontend/vite.config.js
T
SunYF 68f50ee46e refactor(wms): 合并库存表为统一inventory,重构业务逻辑
1. 合并inventory_batch与serial_number为统一inventory表,用manage_mode区分结构件批次/精密件SN
2. 移除冗余的material_type字段与相关逻辑
3. 重构库存查询、检验、入库出库等业务逻辑适配新表结构
4. 调整前端路由与菜单,拆分基础数据为区域维护和物料档案
5. 优化入库校验逻辑,避免空单问题
6. 调整Vite构建配置,关闭自动清空输出目录
7. 为各模块添加详细中文注释,统一业务术语
8. 生成并更新Ent自动代码文件
2026-09-02 08:21:11 +08:00

18 lines
414 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// 构建输出到 Go 服务内嵌目录 ../web/staticemptyOutDir 清空旧产物)
export default defineConfig({
plugins: [vue()],
build: {
outDir: '../web/static',
emptyOutDir: false
},
server: {
port: 8893,
proxy: {
'/api': 'http://127.0.0.1:8892',
'/pdfopen': 'http://127.0.0.1:8892'
}
}
})