From f62c14852b92b1470710efd0070ee0ff27f10ef6 Mon Sep 17 00:00:00 2001 From: 13713575202 <1345916905@qq.com> Date: Fri, 30 May 2025 11:41:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A4=8F=E6=BB=A8=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=88=86=E6=8B=A3=E5=8C=85=E8=A3=85=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sub-operation-service/src/router/index.js | 6 + .../src/views/packaging/details.vue | 359 ++++++++++++++++++ .../src/views/packaging/index.vue | 9 +- .../src/views/packaging/sorting.vue | 9 +- 4 files changed, 375 insertions(+), 8 deletions(-) create mode 100644 sub-operation-service/src/views/packaging/details.vue diff --git a/sub-operation-service/src/router/index.js b/sub-operation-service/src/router/index.js index be10e20..cb2d0d5 100644 --- a/sub-operation-service/src/router/index.js +++ b/sub-operation-service/src/router/index.js @@ -236,6 +236,12 @@ export const constantRoutes = [ name: 'packagingMain', meta: { title: '包装首页' }, }, + { + path: '/sub-operation-service/packaging/details', + component: () => import('@/views/packaging/details.vue'), + name: 'detailsMain', + meta: { title: '详情页' }, + }, ], }, { diff --git a/sub-operation-service/src/views/packaging/details.vue b/sub-operation-service/src/views/packaging/details.vue new file mode 100644 index 0000000..1d545c9 --- /dev/null +++ b/sub-operation-service/src/views/packaging/details.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/sub-operation-service/src/views/packaging/index.vue b/sub-operation-service/src/views/packaging/index.vue index edad294..460137b 100644 --- a/sub-operation-service/src/views/packaging/index.vue +++ b/sub-operation-service/src/views/packaging/index.vue @@ -222,10 +222,11 @@ const currentChange = (current) => { }; const toLink = (row) => { - // router.push({ - // path: '/sub-operation-service/warehouse-detail', - // query: { id: row?.id ?? '100' }, - // }); + row.data = ['高品质', '食品级', '塑料']; + router.push({ + path: '/sub-operation-service/packaging/details', + query: row, + }); };