From ed259c9a45b8a6600713ac4d201025d85213d5c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 24 Jun 2026 14:18:55 +0800 Subject: [PATCH] 1 --- src/api/warehouse/availabilityControlId.js | 13 + .../warehouse/availabilityControlId.vue | 302 +++++++++++++++++- 2 files changed, 314 insertions(+), 1 deletion(-) diff --git a/src/api/warehouse/availabilityControlId.js b/src/api/warehouse/availabilityControlId.js index 2deb020..3268d2d 100644 --- a/src/api/warehouse/availabilityControlId.js +++ b/src/api/warehouse/availabilityControlId.js @@ -93,3 +93,16 @@ export function deleteById(id) { }) } +/** + * 校验处理单元是否允许指定操作 - rqrq + * @param {Object} data 参数:site、unitId、type + * @returns {Promise} + */ +export function checkPartOperationAllowed(data) { + return httpRequest({ + url: httpRequest.adornUrl('/warehouse/availabilityControlId/checkPartOperationAllowed'), + method: 'post', + data: httpRequest.adornData(data) + }) +} + diff --git a/src/views/modules/warehouse/availabilityControlId.vue b/src/views/modules/warehouse/availabilityControlId.vue index d124973..c64e901 100644 --- a/src/views/modules/warehouse/availabilityControlId.vue +++ b/src/views/modules/warehouse/availabilityControlId.vue @@ -19,6 +19,7 @@ 查询 重置 新增 + 校验测试 @@ -60,6 +61,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -156,11 +292,60 @@ 取消 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +