入库单据管理
This commit is contained in:
44
ruoyi-ui/src/api/in/stockIn.js
Normal file
44
ruoyi-ui/src/api/in/stockIn.js
Normal 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'
|
||||
})
|
||||
}
|
||||
44
ruoyi-ui/src/api/in/stockInDetail.js
Normal file
44
ruoyi-ui/src/api/in/stockInDetail.js
Normal 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'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user