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 @@ 取消 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +