入库单据管理

This commit is contained in:
liuhanqing
2025-05-20 15:24:14 +08:00
parent 3b2aff264e
commit 575b7f46d5
16 changed files with 2827 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询入库单据列表
export function listStockIn(query) {
return request({
url: '/in/stockIn/list',
method: 'get',
params: query
})
}
// 查询入库单据详细
export function getStockIn(stockinGuid) {
return request({
url: '/in/stockIn/' + stockinGuid,
method: 'get'
})
}
// 新增入库单据
export function addStockIn(data) {
return request({
url: '/in/stockIn',
method: 'post',
data: data
})
}
// 修改入库单据
export function updateStockIn(data) {
return request({
url: '/in/stockIn',
method: 'put',
data: data
})
}
// 删除入库单据
export function delStockIn(stockinGuid) {
return request({
url: '/in/stockIn/' + stockinGuid,
method: 'delete'
})
}

View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询入库单据子表列表
export function listStockInDetail(query) {
return request({
url: '/in/stockInDetail/list',
method: 'get',
params: query
})
}
// 查询入库单据子表详细
export function getStockInDetail(stockinDetailId) {
return request({
url: '/in/stockInDetail/' + stockinDetailId,
method: 'get'
})
}
// 新增入库单据子表
export function addStockInDetail(data) {
return request({
url: '/in/stockInDetail',
method: 'post',
data: data
})
}
// 修改入库单据子表
export function updateStockInDetail(data) {
return request({
url: '/in/stockInDetail',
method: 'put',
data: data
})
}
// 删除入库单据子表
export function delStockInDetail(stockinDetailId) {
return request({
url: '/in/stockInDetail/' + stockinDetailId,
method: 'delete'
})
}