You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
import request from '@/utils/request'
|
|
|
|
// 查询出库单列表
|
|
export function listOutList(query) {
|
|
return request({
|
|
url: '/material/outList/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询出库单详细
|
|
export function getOutList(id) {
|
|
return request({
|
|
url: '/material/outList/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增出库单
|
|
export function addOutList(data) {
|
|
return request({
|
|
url: '/material/outList',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改出库单
|
|
export function updateOutList(data) {
|
|
return request({
|
|
url: '/material/outList',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除出库单
|
|
export function delOutList(id) {
|
|
return request({
|
|
url: '/material/outList/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
export function addOrUpdateOutList(data) {
|
|
return request({
|
|
url: '/material/outList/addOrUpdate',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
|
|
//查询出库单及详细
|
|
export function getOutListAndOutListDel(waterNum) {
|
|
return request({
|
|
url: '/material/outList/byWaterNum/' + waterNum,
|
|
method: 'get'
|
|
})
|
|
}
|