From fcc6cfbade3fe16d56c64ae09f56aafbebe4a490 Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Fri, 21 Jan 2022 15:19:42 +0800 Subject: [PATCH] shebei --- hb_client/src/api/equipment.js | 10 +- hb_client/src/api/wpm.js | 12 +- hb_client/src/router/index.js | 12 +- hb_client/src/views/em/detection.vue | 591 ++++++----- hb_client/src/views/em/equipment.vue | 16 +- hb_client/src/views/em/record.vue | 79 +- hb_client/src/views/mtm/productprocess.vue | 13 +- hb_client/src/views/qm/processtest.vue | 79 -- hb_client/src/views/qm/product.vue | 2 +- hb_client/src/views/qm/unproduct.vue | 294 ++++++ hb_client/src/views/sam/order.vue | 4 +- hb_client/src/views/sam/sales.vue | 2 +- hb_client/src/views/wpm/operationdo.vue | 53 +- hb_client/src/views/wpm/productjy.vue | 1075 +++++++++----------- 14 files changed, 1210 insertions(+), 1032 deletions(-) create mode 100644 hb_client/src/views/qm/unproduct.vue diff --git a/hb_client/src/api/equipment.js b/hb_client/src/api/equipment.js index 2eadc6b..d4707e9 100644 --- a/hb_client/src/api/equipment.js +++ b/hb_client/src/api/equipment.js @@ -36,34 +36,34 @@ export function deleteEquipment(id, data) { } export function getEquipmentrecordList(query) { return request({ - url: '/em/equipmentrecord/', + url: '/em/echeck_record/', method: 'get', params: query }) } export function getEquipmentrecordAll() { return request({ - url: '/em/equipmentrecord/', + url: '/em/echeck_record/', method: 'get' }) } export function createEquipmentrecord(data) { return request({ - url: '/em/equipmentrecord/', + url: '/em/echeck_record/', method: 'post', data }) } export function updateEquipmentrecord(id, data) { return request({ - url: `/em/equipmentrecord/${id}/`, + url: `/em/echeck_record/${id}/`, method: 'put', data }) } export function deleteEquipmentrecord(id, data) { return request({ - url: `/em/equipmentrecord/${id}/`, + url: `/em/echeck_record/${id}/`, method: 'delete', data }) diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js index 76affca..5653ac6 100644 --- a/hb_client/src/api/wpm.js +++ b/hb_client/src/api/wpm.js @@ -357,4 +357,14 @@ export function getCard(id) { url: `/wpm/wproduct/${id}/card/`, method: 'GET', }) -} \ No newline at end of file +} + +//指派发货订单 + +export function toorder(data) { + return request({ + url: '/wpm/wproduct/to_order/', + method: 'post', + data + }) +} diff --git a/hb_client/src/router/index.js b/hb_client/src/router/index.js index f849876..61be661 100644 --- a/hb_client/src/router/index.js +++ b/hb_client/src/router/index.js @@ -273,12 +273,6 @@ export const asyncRoutes = [ name: 'record', component: () => import('@/views/em/record'), meta: { title: '校准检定记录', icon: 'example', perms: ['em_record'] } - }, - { - path: 'detection ', - name: 'detection ', - component: () => import('@/views/em/detection'), - meta: { title: '运维记录', icon: 'example', perms: ['em_detection'] } } ] }, @@ -399,6 +393,12 @@ export const asyncRoutes = [ name: 'producttest', component: () => import('@/views/qm/producttest'), meta: { title: '成品检验', icon: 'example', perms: ['index_manage'] } + }, + { + path: 'unproduct', + name: 'unproduct', + component: () => import('@/views/qm/unproduct'), + meta: { title: '不合格品', icon: 'example', perms: ['index_manage'] } } ] diff --git a/hb_client/src/views/em/detection.vue b/hb_client/src/views/em/detection.vue index 4091991..c45bf3c 100644 --- a/hb_client/src/views/em/detection.vue +++ b/hb_client/src/views/em/detection.vue @@ -2,109 +2,116 @@
- 新增设备 - - 搜索 - 重置 -
- + 新增设备 + + 搜索 + 重置 +
- + - + - + - + - + - + - + - + + + + + + + + - + - - + + - + - - + + - + - + - + - - - + @@ -33,14 +35,17 @@ @@ -58,9 +63,12 @@ 批量入库 - + >批量入库 + + 批量选择订单 + + - - - + + - + @@ -88,19 +95,32 @@ {{ actstate_[scope.row.act_state] }} - - - + + + + + + + + + + + @@ -115,8 +135,17 @@ - - + + - + @@ -187,18 +183,20 @@ /> - - - + + + - + @@ -230,164 +221,11 @@ 确 定 - - + - - + - + + + + + + + + + + + +