diff --git a/inventory-web/src/api/material_base.ts b/inventory-web/src/api/material_base.ts index 4f315a1..3565b8e 100644 --- a/inventory-web/src/api/material_base.ts +++ b/inventory-web/src/api/material_base.ts @@ -71,6 +71,15 @@ export function batchSetInspection(data: { ids: number[], isInspectionRequired: }) } +// 6.1 批量设置“出库/借库需审批” +export function batchSetApprovalRequired(data: { ids: number[], isApprovalRequired: boolean }) { + return request({ + url: '/inbound/base/batch-approval', + method: 'post', + data + }) +} + // 7. 获取智能分组规格最大连号 export function getLatestSpecs() { return request({ diff --git a/inventory-web/src/views/material/list.vue b/inventory-web/src/views/material/list.vue index 284e60d..fc3b706 100644 --- a/inventory-web/src/views/material/list.vue +++ b/inventory-web/src/views/material/list.vue @@ -328,6 +328,15 @@ + + +