Browse Source

预计出批量删除api新增

master_hella_20240701
chenfang 5 months ago
parent
commit
d6d644af35
  1. 5
      src/api/wms/expectout/index.ts
  2. 1
      src/views/wms/inventoryManage/expectout/index.vue

5
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) {

1
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'}), //
]
// -

Loading…
Cancel
Save