diff --git a/src/api/model/wpm.js b/src/api/model/wpm.js index d81f0365..e199471d 100644 --- a/src/api/model/wpm.js +++ b/src/api/model/wpm.js @@ -517,6 +517,18 @@ export default { return await http.get(`${config.API_URL}/wpm/wmaterial/`, data); }, }, + create: { + name: "手动创建车间库存", + req: async function (data) { + return await http.post(`${config.API_URL}/wpm/wmaterial/`, data); + }, + }, + delete: { + name: "删除车间库存", + req: async function (id) { + return await http.delete(`${config.API_URL}/wpm/wmaterial/${id}/`); + }, + }, batchs: { name: "获取车间出现过的批次号", req: async function (data) { diff --git a/src/views/wpm_bx/inmIn.vue b/src/views/wpm_bx/inmIn.vue index 0ed59434..7901261c 100644 --- a/src/views/wpm_bx/inmIn.vue +++ b/src/views/wpm_bx/inmIn.vue @@ -3,6 +3,7 @@
领料 + 来料 报废 合批
@@ -156,6 +157,7 @@ >