From e129f7e30651ebd25a0567bf37ad3dcb683a52a9 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Thu, 16 Dec 2021 16:28:11 +0800 Subject: [PATCH] xiugai --- hb_client/src/api/sam.js | 6 + hb_client/src/router/index.js | 22 +++- hb_client/src/views/em/detection.vue | 7 +- hb_client/src/views/em/equipment.vue | 5 +- hb_client/src/views/em/record.vue | 6 +- hb_client/src/views/inm/fifo.vue | 10 +- hb_client/src/views/inm/fifodetail.vue | 1 + hb_client/src/views/inm/inventory.vue | 5 +- hb_client/src/views/inm/materialbatch.vue | 8 +- hb_client/src/views/inm/product.vue | 8 +- hb_client/src/views/inm/warehouse.vue | 10 +- hb_client/src/views/inm/wproduct.vue | 8 +- hb_client/src/views/mtm/material.vue | 6 +- hb_client/src/views/mtm/materialDetail.vue | 1 + hb_client/src/views/mtm/materialdo.vue | 1 + hb_client/src/views/mtm/process.vue | 1 + hb_client/src/views/mtm/productprocess.vue | 24 ++-- hb_client/src/views/mtm/step.vue | 4 + hb_client/src/views/pm/plan.vue | 16 ++- hb_client/src/views/pm/resources.vue | 6 +- hb_client/src/views/pm/work.vue | 4 +- hb_client/src/views/qm/product.vue | 6 +- hb_client/src/views/sam/contract.vue | 25 +++- hb_client/src/views/sam/contractdetail.vue | 129 +++++++++++++++++++++ hb_client/src/views/sam/customer.vue | 5 +- hb_client/src/views/sam/order.vue | 21 +++- hb_client/src/views/sam/orderdetail.vue | 127 ++++++++++++++++++++ hb_client/src/views/sam/review.vue | 6 +- hb_client/src/views/sam/sales.vue | 10 +- hb_client/src/views/wpm/need.vue | 3 +- hb_client/src/views/wpm/operation.vue | 4 +- hb_client/src/views/wpm/operationdo.vue | 3 + hb_client/src/views/wpm/worktask.vue | 4 +- 33 files changed, 430 insertions(+), 72 deletions(-) create mode 100644 hb_client/src/views/sam/contractdetail.vue create mode 100644 hb_client/src/views/sam/orderdetail.vue diff --git a/hb_client/src/api/sam.js b/hb_client/src/api/sam.js index 037a628..540441f 100644 --- a/hb_client/src/api/sam.js +++ b/hb_client/src/api/sam.js @@ -36,6 +36,12 @@ export function getContractList(query) { params: query }) } +export function getContract(id) { + return request({ + url: `/sam/contract/${id}/`, + method: 'get' + }) +} export function createContract(data) { return request({ url: '/sam/contract/', diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index 321c51f..f5f751f 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -276,13 +276,21 @@ export const asyncRoutes = [ path: 'customer', name: 'customer', component: () => import('@/views/sam/customer'), - meta: { title: '客户信息', icon: 'example', perms: ['index_manage'] } + meta: { title: '客户管理', icon: 'example', perms: ['index_manage'] } }, { path: 'contract', name: 'contract', component: () => import('@/views/sam/contract'), - meta: { title: '合同信息', icon: 'example', perms: ['index_manage'] } + meta: { title: '合同管理', icon: 'example', perms: ['index_manage'] } + } + , + { + path: 'contractdetail/:id', + name: 'contractdetail', + component: () => import('@/views/sam/contractdetail'), + meta: { title: '合同详情', perms: ['vendor_manage'] }, + hidden: true } , @@ -290,9 +298,17 @@ export const asyncRoutes = [ path: 'order', name: 'order', component: () => import('@/views/sam/order'), - meta: { title: '订单信息', icon: 'example', perms: ['index_manage'] } + meta: { title: '订单管理', icon: 'example', perms: ['index_manage'] } } + , + { + path: 'orderdetail/:id', + name: 'orderdetail', + component: () => import('@/views/sam/orderdetail'), + meta: { title: '订单详情', perms: ['vendor_manage'] }, + hidden: true + }, { path: 'sales', name: 'sales', diff --git a/hb_client/src/views/em/detection.vue b/hb_client/src/views/em/detection.vue index 2f5461f..4091991 100644 --- a/hb_client/src/views/em/detection.vue +++ b/hb_client/src/views/em/detection.vue @@ -29,7 +29,7 @@ - + @@ -104,6 +104,7 @@ 编辑 diff --git a/hb_client/src/views/em/equipment.vue b/hb_client/src/views/em/equipment.vue index 6346164..2138828 100644 --- a/hb_client/src/views/em/equipment.vue +++ b/hb_client/src/views/em/equipment.vue @@ -29,7 +29,7 @@ - + @@ -113,6 +113,7 @@ 编辑 diff --git a/hb_client/src/views/em/record.vue b/hb_client/src/views/em/record.vue index bf1999e..afc20ef 100644 --- a/hb_client/src/views/em/record.vue +++ b/hb_client/src/views/em/record.vue @@ -29,7 +29,7 @@ - + @@ -72,6 +73,7 @@ 编辑 diff --git a/hb_client/src/views/inm/fifo.vue b/hb_client/src/views/inm/fifo.vue index b0e0a92..1225521 100644 --- a/hb_client/src/views/inm/fifo.vue +++ b/hb_client/src/views/inm/fifo.vue @@ -28,7 +28,7 @@ > - + @@ -70,11 +70,13 @@