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 @@ + + + + +