物料-采购件入库页面功能实现
This commit is contained in:
19
inventory-web/src/api/inbound/buy.ts
Normal file
19
inventory-web/src/api/inbound/buy.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function getBuyList(params: any) {
|
||||
return request({ url: '/inbound/buy/list', method: 'get', params })
|
||||
}
|
||||
|
||||
export function createBuyInbound(data: any) {
|
||||
return request({ url: '/inbound/buy/submit', method: 'post', data })
|
||||
}
|
||||
|
||||
// 新增:更新接口
|
||||
export function updateBuyInbound(id: number, data: any) {
|
||||
return request({ url: `/inbound/buy/${id}`, method: 'put', data })
|
||||
}
|
||||
|
||||
// 新增:删除接口
|
||||
export function deleteBuyInbound(id: number) {
|
||||
return request({ url: `/inbound/buy/${id}`, method: 'delete' })
|
||||
}
|
||||
0
inventory-web/src/api/inbound/product.ts
Normal file
0
inventory-web/src/api/inbound/product.ts
Normal file
0
inventory-web/src/api/inbound/semi.ts
Normal file
0
inventory-web/src/api/inbound/semi.ts
Normal file
Reference in New Issue
Block a user