BOM Material Management Skills
✨ Pure VUE 3 Frontend Version
✅ Ready to use out-of-the-box, no build tools required, no backend needed, open and run directly
? Feature List
1. BOM Structure Viewing
- ✅ SCSAI System Login Authentication
- ✅ BOM List Loading and Selection
- ✅ Four View Switching: Tree Diagram, Table, Pie Chart, Raw JSON
- ✅ Tree Diagram Supports Recursive Expand/Collapse
- ✅ Component Statistics Dashboard
- ✅ ECharts Visualization Charts
- ✅ Responsive Layout, Mobile-Friendly
2. BOM Version Comparison
- ✅ Side-by-Side Comparison of Two BOMs
- ✅ Intelligent Difference Analysis: Added, Deleted, Parameter Changes
- ✅ Difference Highlighting
- ✅ Comparison Results Visualization Charts
- ✅ Statistics Dashboard: Total Components, Common Components, Different Components
3. Import & Export
- ✅ Supports JSON/Excel File Import
- ✅ Supports JSON/XML/Excel Format Export
- ✅ One-Click Download Export File
? Quick Start
Simply open views/bom-manager-vue.html to use, no dependencies required!
双击打开就能用,不需要npm,不需要构建,不需要后端
? 技术栈
- 前端框架: Vue 3 Composition API (CDN版本)
- 图表库: ECharts 5
- HTTP客户端: Axios
- 样式: 原生CSS,不依赖UI框架
- 打包: 单HTML文件,零依赖
? 设计理念
- 纯前端,不依赖后端,开箱即用
- 零构建,不需要npm,不需要webpack/vite
- 单文件,所有代码在一个HTML里
- 易集成,直接嵌入任何系统
- 易对接,所有接口预留好,直接替换mock数据就行
? 目录结构
bom_management_skill/
├── views/
│ ├── bom-manager-vue.html ✅ 纯VUE版本,推荐使用
│ └── modern-bom-viewer.html 旧版原生JS版本
└── SKILL.md
? 后端对接说明
所有接口已经预留好,只需要替换对应的函数即可:
- handleLogin() → Connect to SCSAI login API
- loadBomList() → Connect to BOM list API
- loadBomDetail() → Connect to BOM detail API
- compareBoms() → Connect to BOM comparison API
- importFromFile() → Connect to file import API
- exportBom() → Connect to file export API
✅ Improvements
Enhancements over the old version:
- ✅ Clear code structure, Vue reactivity, easier maintenance than vanilla JS
- ✅ All state managed centrally, no scattered DOM operations
- ✅ Complete Loading states, better user experience
- ✅ Complete error handling and status notifications
- ✅ Component-based, reusable recursive tree node components
- ✅ Transition animations, smoother interactions
- ✅ Built-in Mock data, ready to use out-of-the-box
- ✅ All features fully implemented, no TODOs
- ✅ Clear comments, easy backend integration
- ✅ Responsive design, works on both mobile and desktop
? Applicable Scenarios
- Manufacturing PLM Systems
- Mechanical Industry BOM Management
- Lobster Equipment BOM Comparison
- Production Material Management
- Version Change Comparison
? SuperCloud AI AI Production, Focused on Traditional Industry Digitalization
BossAgents