diff --git a/hb_client/src/api/wpm.js b/hb_client/src/api/wpm.js index 8bbb1c9..76affca 100644 --- a/hb_client/src/api/wpm.js +++ b/hb_client/src/api/wpm.js @@ -196,7 +196,13 @@ export function getinputList(query) { params: query }) } - +//消耗物料删除 +export function deleteOperationeinput(id) { + return request({ + url: `/wpm/operation_input/${id}/`, + method: 'delete', + }) +} //车间物料消耗 @@ -334,3 +340,21 @@ export function getcutList(query) { }) } +//军检 + +export function mtest(id,data) { + return request({ + url: `/wpm/wproduct/${id}/mtest/`, + method: 'post', + data + }) +} + +//生成流程卡 + +export function getCard(id) { + return request({ + url: `/wpm/wproduct/${id}/card/`, + method: 'GET', + }) +} \ No newline at end of file diff --git a/hb_client/src/views/dashboard/index.vue b/hb_client/src/views/dashboard/index.vue index 9a96da2..7ad7d6b 100644 --- a/hb_client/src/views/dashboard/index.vue +++ b/hb_client/src/views/dashboard/index.vue @@ -1,6 +1,8 @@ + + + + - + + + - + + + + + + + + + + + + diff --git a/hb_client/src/views/mtm/material.vue b/hb_client/src/views/mtm/material.vue index 9f65165..0caa4fb 100644 --- a/hb_client/src/views/mtm/material.vue +++ b/hb_client/src/views/mtm/material.vue @@ -79,7 +79,7 @@ >