diff --git a/src/pages.json b/src/pages.json index b7bd3f4..a51084a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -344,6 +344,20 @@ "navigationStyle": "custom" } }, + { + "path": "product/index", + "style": { + "navigationBarTitleText": "产品物料查询", + "navigationStyle": "custom" + } + }, + { + "path": "product/detail", + "style": { + "navigationBarTitleText": "产品物料详情", + "navigationStyle": "custom" + } + }, { "path": "inspection/index", "style": { diff --git a/src/pages/index.vue b/src/pages/index.vue index 31a8833..e9917d5 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -136,7 +136,7 @@ const navList = reactive([ { name: '设备', icon: '⚙️', bgColor: '#2d5a87', path: '/pages_function/equipment' }, { name: '关键件', icon: '🔩', bgColor: '#3d7ab5', path: '/pages_function/keypart' }, { name: '备件', icon: '📦', bgColor: '#4a90c2', path: '/pages_function/spare' }, - { name: '出入库', icon: '📊', bgColor: '#5aa0d2', path: '/pages_function/warehouse' } + { name: '产品物料', icon: '🧾', bgColor: '#5aa0d2', path: '/pages_function/product' } ]); const statsData = reactive([ @@ -163,7 +163,8 @@ function handleNavClick(item) { '模具': '/pages_function/pages/mold/index', '设备': '/pages_function/pages/equipment/index', '备件': '/pages_function/pages/spare/index', - '关键件': '/pages_function/pages/keypart/index' + '关键件': '/pages_function/pages/keypart/index', + '产品物料': '/pages_function/pages/product/index' }; const url = navMap[item.name]; diff --git a/src/pages_function/pages/product/detail.vue b/src/pages_function/pages/product/detail.vue new file mode 100644 index 0000000..09791e8 --- /dev/null +++ b/src/pages_function/pages/product/detail.vue @@ -0,0 +1,264 @@ + + + + + diff --git a/src/pages_function/pages/product/index.vue b/src/pages_function/pages/product/index.vue new file mode 100644 index 0000000..cb98087 --- /dev/null +++ b/src/pages_function/pages/product/index.vue @@ -0,0 +1,404 @@ + + + + +