diff --git a/src/api/wms/expectout/index.ts b/src/api/wms/expectout/index.ts index 87868ace8..819320553 100644 --- a/src/api/wms/expectout/index.ts +++ b/src/api/wms/expectout/index.ts @@ -45,6 +45,11 @@ export const deleteExpectout = async (id: number) => { return await request.delete({ url: `/wms/expectout/delete?id=` + id }) } +// 批量删除预计出库存 +export const deleteExpectoutIds = async (ids: String) => { + return await request.delete({ url: `/wms/expectout/delete?ids=` + ids }) +} + // 导出预计出库存 Excel export const exportExpectout = async (params) => { if (params.isSearch) { diff --git a/src/views/wms/inventoryManage/expectout/index.vue b/src/views/wms/inventoryManage/expectout/index.vue index 11c60c94b..1810539c6 100644 --- a/src/views/wms/inventoryManage/expectout/index.vue +++ b/src/views/wms/inventoryManage/expectout/index.vue @@ -132,6 +132,7 @@ const buttonBaseClick = (val, item) => { const butttondata = [ // defaultButtons.mainListEditBtn({hasPermi:'wms:expectout:update'}), // 编辑 // defaultButtons.mainListDeleteBtn({hasPermi:'wms:expectout:delete'}), // 删除 + defaultButtons.mainListDeleteBtn({hasPermi:'wms:expectout:deleteIds'}), // 批量删除 ] // 列表-操作按钮事件