✨ ERP:增加入库单的审批功能

This commit is contained in:
YunaiV committed 2024-02-06 23:28:48 +08:00
1 parent 5bdf0fc0ff
commit 115c30ea40
4 files changed
+107 -23

No files matched your search

+18 -2
View File
@@ -34,9 +34,25 @@ export const StockInApi = {
return await request.put({ url: `/erp/stock-in/update`, data })
},
// 更新其它入库单的状态
updateStockInStatus: async (id: number, status: number) => {
return await request.put({
url: `/erp/stock-in/update-status`,
params: {
id,
status
}
})
},
// 删除其它入库单
deleteStockIn: async (id: number) => {
return await request.delete({ url: `/erp/stock-in/delete?id=` + id })
deleteStockIn: async (ids: number[]) => {
return await request.delete({
url: `/erp/stock-in/delete`,
params: {
ids: ids.join(',')
}
})
},
// 导出其它入库单 Excel