From 443879af9fee68f691d22db25c63ee28b68eeb1d Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Wed, 24 Jul 2024 17:22:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=87=87=E8=B4=AD=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=95=B0=E6=8D=AE=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/Common/dictcommons.js | 10 + src/router/index.js | 27 +- src/views/purchase/purchaseOrder/index.vue | 279 +++++-- .../purchaseOrder/purchaseOrderAdd.vue | 494 ++++++++++-- .../purchaseOrder/purchaseOrderInfo.vue | 63 +- .../purchaseOrder/relation/chooseproducts.vue | 18 +- src/views/purchase/purchaseReview/index.vue | 746 ++++++++++++++++++ .../purchaseReview/purchaseOrderInfo.vue | 225 ++++++ 8 files changed, 1679 insertions(+), 183 deletions(-) create mode 100644 src/views/purchase/purchaseReview/index.vue create mode 100644 src/views/purchase/purchaseReview/purchaseOrderInfo.vue diff --git a/src/api/Common/dictcommons.js b/src/api/Common/dictcommons.js index 84e828c..7ed2774 100644 --- a/src/api/Common/dictcommons.js +++ b/src/api/Common/dictcommons.js @@ -17,6 +17,16 @@ export function getTypeValueList(data) { }) } +// 根据当前登录用户的全路径查询相应部门下的所有人 +export function selAllByOrgSidPath(data) { + return request({ + url: '/oms/apiadmin/sysstafforg/selAllByOrgSidPath', + method: 'post', + params: data + }) +} + + // 根据部门sid获取客户信息 export function chooseCustomerList(data) { return request({ diff --git a/src/router/index.js b/src/router/index.js index aef7a4a..beee66e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -51,17 +51,15 @@ export const constantRoutes = [ meta: { title: '客户管理' }, - children: [ - { - path: '/customerInformation/customerInformation', - component: () => import('@/views/customerManagement/customerInformation/customerInformation'), - name: 'CustomerInformation', - meta: { - title: '客户信息管理', - noCache: true - } + children: [{ + path: '/customerInformation/customerInformation', + component: () => import('@/views/customerManagement/customerInformation/customerInformation'), + name: 'CustomerInformation', + meta: { + title: '客户信息管理', + noCache: true } - ] + }] }, { path: '/salesOrder', @@ -112,6 +110,15 @@ export const constantRoutes = [ title: '采购订单', noCache: true } + }, + { + path: '/purchaseReview/index', + component: () => import('@/views/purchase/purchaseReview/index'), + name: 'PurchaseReview', + meta: { + title: '订单审核', + noCache: true + } } ] }, diff --git a/src/views/purchase/purchaseOrder/index.vue b/src/views/purchase/purchaseOrder/index.vue index ce31736..18e6862 100644 --- a/src/views/purchase/purchaseOrder/index.vue +++ b/src/views/purchase/purchaseOrder/index.vue @@ -9,10 +9,7 @@