From 6f5925bfb9e7a645e0f262877c432078950a4001 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?yinjinlu-pc=5C=E5=B0=B9=E9=87=91=E8=B7=AF?= <411641505@qq.com> Date: Thu, 6 Feb 2025 11:44:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E5=BA=93=E4=BD=8D=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E2=80=9C=E5=85=81=E8=AE=B8=E4=BA=A7=E5=93=81=E6=B7=B7=E6=94=BE?= =?UTF-8?q?=E2=80=9D=E5=92=8C=E2=80=9C=E5=85=81=E8=AE=B8=E6=89=B9=E6=AC=A1?= =?UTF-8?q?=E6=B7=B7=E6=94=BE=E2=80=9D=E4=B8=A4=E4=B8=AA=E6=A0=87=E8=AF=86?= =?UTF-8?q?=EF=BC=9B=E4=B8=BA=E5=BA=93=E5=8C=BA=E5=A2=9E=E5=8A=A0=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E8=AE=BE=E7=BD=AE=E6=89=80=E6=9C=89=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E4=BA=A7=E5=93=81=E6=B7=B7=E6=94=BE=E5=92=8C=E6=89=B9=E6=AC=A1?= =?UTF-8?q?=E6=B7=B7=E6=94=BE=E7=9A=84=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/wm/location.js | 24 ++++++++ src/views/mes/wm/area/index.vue | 39 +++++++++++++ src/views/mes/wm/location/index.vue | 91 ++++++++++++++++++++++++++++- 3 files changed, 153 insertions(+), 1 deletion(-) diff --git a/src/api/mes/wm/location.js b/src/api/mes/wm/location.js index 09fdb18..6238649 100644 --- a/src/api/mes/wm/location.js +++ b/src/api/mes/wm/location.js @@ -43,6 +43,30 @@ export function delLocation(locationId) { }) } +// 设置库区下所有库位是否允许产品混放 +export function setProductMixing(locationId, flag){ + return request({ + url: '/mes/wm/location/setProductMixing', + method: 'post', + params: { + 'locationId': locationId, + 'flag': flag + } + }) +} + +// 设置库区下所有库位是否允许批次混放 +export function setBatchMixing(locationId, flag){ + return request({ + url: '/mes/wm/location/setBatchMixing', + method: 'post', + params: { + 'locationId': locationId, + 'flag': flag + } + }) +} + //更改库区的冻结状态 export function changeFrozenState(locationId, status) { const data = { diff --git a/src/views/mes/wm/area/index.vue b/src/views/mes/wm/area/index.vue index f2d3cf7..cd8ef42 100644 --- a/src/views/mes/wm/area/index.vue +++ b/src/views/mes/wm/area/index.vue @@ -122,6 +122,16 @@ + + + + + +