diff --git a/hb_client/src/api/pm.js b/hb_client/src/api/pm.js index e25b788..ec7fe91 100644 --- a/hb_client/src/api/pm.js +++ b/hb_client/src/api/pm.js @@ -71,4 +71,13 @@ export function issuesubplan(id) { method: 'post', }) +} + +//领料需求单,库存数量 +export function createPick_need(id, data) { + return request({ + url: `/pm/subproduction_plan/${id}/pick_need/`, + method: 'post', + data + }) } \ No newline at end of file diff --git a/hb_client/src/views/inm/fifo.vue b/hb_client/src/views/inm/fifo.vue index 982bb4b..52175ca 100644 --- a/hb_client/src/views/inm/fifo.vue +++ b/hb_client/src/views/inm/fifo.vue @@ -259,6 +259,7 @@ export default { }) }, addConditions () { + if(this.inventory.details.length<=10) { this.inventory.details.push({ material:'', // 物料 @@ -285,6 +286,14 @@ export default { }, handleCreate() { + this.inventory.details=[ + { + material:'', // 物料 + count:'',//数量 + batch:'',//批次 + + } + ]; this.inventory = Object.assign({}, defaulteinventory); this.dialogType = "new"; this.dialogVisible = true; diff --git a/hb_client/src/views/mtm/material.vue b/hb_client/src/views/mtm/material.vue index 0fb5b3e..46e8971 100644 --- a/hb_client/src/views/mtm/material.vue +++ b/hb_client/src/views/mtm/material.vue @@ -235,6 +235,16 @@ export default { }, { value: '套', label: '套' + }, + { + value: '个', + label: '个' + }, { + value: 'm2', + label: 'm2' + }, { + value: '瓶', + label: '瓶' }, ], listQuery: { diff --git a/hb_client/src/views/wpm/worktask.vue b/hb_client/src/views/wpm/worktask.vue index 4643349..281ed91 100644 --- a/hb_client/src/views/wpm/worktask.vue +++ b/hb_client/src/views/wpm/worktask.vue @@ -50,7 +50,21 @@ - + + + - + + + + + + + + + + +
+ 取消 + 确认 +
+