From bacddddca04649bc0ea0e8a88330270b8a0c78ec Mon Sep 17 00:00:00 2001 From: shilixia <2309368887@qq.com> Date: Thu, 10 Feb 2022 16:07:08 +0800 Subject: [PATCH] ciagoudingdanxiang --- hb_client/src/api/inm.js | 19 ++ hb_client/src/api/pum.js | 11 +- hb_client/src/views/inm/fifo.vue | 126 +++++++++-- hb_client/src/views/inm/fifodetail.vue | 282 +++++++++++++++++++------ hb_client/src/views/wpm/worktask.vue | 6 +- 5 files changed, 358 insertions(+), 86 deletions(-) diff --git a/hb_client/src/api/inm.js b/hb_client/src/api/inm.js index 61fa722..a4ff215 100644 --- a/hb_client/src/api/inm.js +++ b/hb_client/src/api/inm.js @@ -36,6 +36,16 @@ export function getInventoryList(query) { params: query }) } +//其他入库 + +export function createInother(data) { + return request({ + url: '/inm/fifo/in_other/', + method: 'post', + data + }) +} +//采购入库 export function createInventory(data) { return request({ url: '/inm/fifo/in_pur/', @@ -43,6 +53,15 @@ export function createInventory(data) { data }) } +//采购订单项入库 +export function createfifoitem(data) { + return request({ + url: '/inm/fifoitem/', + method: 'post', + data + }) +} + //仓库对应的物料 export function getfifodetailList(query) { return request({ diff --git a/hb_client/src/api/pum.js b/hb_client/src/api/pum.js index 2a807b4..c0a3c18 100644 --- a/hb_client/src/api/pum.js +++ b/hb_client/src/api/pum.js @@ -58,4 +58,13 @@ export function deletePuorderItem(id, data) { method: 'delete', data }) -} \ No newline at end of file +} + +//采购订单项目详情 + +export function getpuorder(id) { + return request({ + url: `/pum/pu_order_item/${id}/`, + method: 'get' + }) +} diff --git a/hb_client/src/views/inm/fifo.vue b/hb_client/src/views/inm/fifo.vue index 9483733..b2aeab7 100644 --- a/hb_client/src/views/inm/fifo.vue +++ b/hb_client/src/views/inm/fifo.vue @@ -2,8 +2,11 @@
+ 新增采购入库 新增出入库记录新增其他入库 + - + + - - + + +