mat/frontend
caoqianming e8e122ca61 refactor: 抽取 FactoryForm / MaterialForm 共享组件
供应商与材料的编辑表单和详情展示复用同一组件(mode: edit|view 切换),
减少字段级重复。材料详情由抽屉改为独立页,与供应商保持一致的交互模式。

- 新增 views/factory/FactoryForm.vue:9 个字段、USCC 正则校验、区域级联、edit/view 双模式
- 新增 views/material/MaterialForm.vue:30+ 字段、自载 choices/categories/brands/factories、宣传页上传、edit/view 双模式
- FactoryManage/FactoryDetail 瘦身到壳层
- MaterialManage 编辑抽屉改 el-dialog,删除内嵌详情抽屉
- MaterialManage "详情" 跳转到 /materials/:id
- 顺带从前端移除供应商"经销商"/"产品分类"字段展示(后端字段保留)
2026-04-24 11:13:53 +08:00
..
public fix:替换空数据材料导入表 2026-03-19 11:29:22 +08:00
src refactor: 抽取 FactoryForm / MaterialForm 共享组件 2026-04-24 11:13:53 +08:00
.env.development feat: add material categories and polish UI 2026-03-10 16:40:21 +08:00
.env.production feat: add pagination locale and table max height 2026-03-11 11:30:19 +08:00
index.html fix:系统名称更改 2026-04-09 14:37:48 +08:00
package-lock.json refactor: remove unplugin-auto-import, use global ElementPlus registration and fix dialog layout shift 2026-03-13 12:30:50 +08:00
package.json refactor: remove unplugin-auto-import, use global ElementPlus registration and fix dialog layout shift 2026-03-13 12:30:50 +08:00
vite.config.js refactor: remove unplugin-auto-import, use global ElementPlus registration and fix dialog layout shift 2026-03-13 12:30:50 +08:00