diff --git a/klp-ui/src/api/wms/batch.js b/klp-ui/src/api/wms/batch.js index b9036fea..b5a5419a 100644 --- a/klp-ui/src/api/wms/batch.js +++ b/klp-ui/src/api/wms/batch.js @@ -42,3 +42,22 @@ export function delBatch(batchId) { method: 'delete' }) } + +// 检测批次生成方案是否会出现死锁 +export function checkBatchLock(data) { + return request({ + url: '/klp/batch/check', + method: 'post', + data: data + }) +} + + +// 给出一个可行的批次生成方案 +export function generateBatch(data) { + return request({ + url: '/klp/batch/generate', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/klp-ui/src/components/KLPService/Renderer/CraftInfo.vue b/klp-ui/src/components/KLPService/Renderer/CraftInfo.vue new file mode 100644 index 00000000..5df9a17e --- /dev/null +++ b/klp-ui/src/components/KLPService/Renderer/CraftInfo.vue @@ -0,0 +1,26 @@ + + + \ No newline at end of file diff --git a/klp-ui/src/views/wms/work/schedulePlan/detail.vue b/klp-ui/src/views/wms/work/schedulePlan/detail.vue index 15bb0d6d..0687883b 100644 --- a/klp-ui/src/views/wms/work/schedulePlan/detail.vue +++ b/klp-ui/src/views/wms/work/schedulePlan/detail.vue @@ -17,7 +17,7 @@ - + - + - - @@ -119,14 +107,67 @@ 取 消 + + + + + + + + + + + + + + + + + + + + +