From 6da9914114ef6873be9f23a1dcf026256815a223 Mon Sep 17 00:00:00 2001 From: Yangk Date: Thu, 5 Mar 2026 15:23:22 +0800 Subject: [PATCH] =?UTF-8?q?feat(oa/erp):=20=E6=B7=BB=E5=8A=A0=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=AE=A1=E7=90=86=E5=8F=B0=E8=B4=A6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在合同订单页面添加订单名称链接跳转到订单台账 - 新增订单管理台账页面,包含合同信息、发货信息、回款信息展示 --- src/router/index.ts | 6 + .../erp/contractInfo/contractOrderIndex.vue | 105 ++--- src/views/oa/erp/orderLedger/index.vue | 381 ++++++++++++++++++ 3 files changed, 446 insertions(+), 46 deletions(-) create mode 100644 src/views/oa/erp/orderLedger/index.vue diff --git a/src/router/index.ts b/src/router/index.ts index 37caac6..b293147 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -140,6 +140,12 @@ export const constantRoutes: RouteRecordRaw[] = [ component: () => import('@/views/oa/erp/projectLedger/index.vue'), name: 'ProjectLedger', meta: { title: '项目台账', activeMenu: '/oa/erp/projectInfo' } + }, + { + path: 'orderLedger/:projectId', + component: () => import('@/views/oa/erp/orderLedger/index.vue'), + name: 'OrderLedger', + meta: { title: '订单管理台账', activeMenu: '/contract/contractInfo/contractOrder' } } ] }, diff --git a/src/views/oa/erp/contractInfo/contractOrderIndex.vue b/src/views/oa/erp/contractInfo/contractOrderIndex.vue index 6dcc49f..19d8c1f 100644 --- a/src/views/oa/erp/contractInfo/contractOrderIndex.vue +++ b/src/views/oa/erp/contractInfo/contractOrderIndex.vue @@ -36,11 +36,11 @@ - - - - - + + + + + 搜索 重置 @@ -51,41 +51,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -96,13 +96,19 @@ - - - - - + + + + + + + + - @@ -343,6 +349,13 @@ const handleLedger = (row: ProjectInfoVO) => { router.push(`/oa/erp/projectLedger/${_projectId}`); }; +/** 订单管理台账 */ +const handleOrderLedger = (row: ProjectInfoVO) => { + const _projectId = row?.projectId; + if (!_projectId) return; + router.push(`/oa/erp/orderLedger/${_projectId}`); +}; + /** 删除按钮操作 */ const handleDelete = async (row?: ProjectInfoVO) => { const _projectIds = row?.projectId || ids.value; diff --git a/src/views/oa/erp/orderLedger/index.vue b/src/views/oa/erp/orderLedger/index.vue new file mode 100644 index 0000000..62fef00 --- /dev/null +++ b/src/views/oa/erp/orderLedger/index.vue @@ -0,0 +1,381 @@ + + + + +