物料-采购件入库页面功能实现

This commit is contained in:
dxc
2026-01-27 15:50:23 +08:00
parent 2f8a5c55b1
commit 3afea217b7
45 changed files with 1522 additions and 2756 deletions

View 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' })
}

View File

View File