From d5710f1e87132fce780d80c89cf1d46d0cb55fc1 Mon Sep 17 00:00:00 2001 From: hwj Date: Thu, 26 Mar 2026 10:43:31 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B7=BB=E5=8A=A0=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E7=89=A9=E6=96=99=E6=A8=A1=E5=9D=97=EF=BC=8C=E6=89=AB?= =?UTF-8?q?=E4=B8=80=E6=89=AB=E3=80=81=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages.json | 14 + src/pages/index.vue | 5 +- src/pages_function/pages/product/detail.vue | 264 +++++++++++++ src/pages_function/pages/product/index.vue | 404 ++++++++++++++++++++ 4 files changed, 685 insertions(+), 2 deletions(-) create mode 100644 src/pages_function/pages/product/detail.vue create mode 100644 src/pages_function/pages/product/index.vue 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 @@ + + + + +