You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.2 KiB
JavaScript

import request from '@/utils/request'
// 查询包材出库单列表
export function listOutorder(query) {
return request({
url: '/wms/outorder/list',
method: 'get',
params: query
});
}
// 查询包材出库单详细
export function getOutorder(ID) {
return request({
url: '/wms/outorder/' + ID,
method: 'get'
});
}
// 新增包材出库单
export function addOutorder(data) {
return request({
url: '/wms/outorder',
method: 'post',
data: data
});
}
// 修改包材出库单
export function updateOutorder(data) {
return request({
url: '/wms/outorder',
method: 'put',
data: data
});
}
// 删除包材出库单
export function delOutorder(ID) {
return request({
url: '/wms/outorder/' + ID,
method: 'delete'
});
}
// 仓库列表
export function getlistCK(data) {
return request({
url: '/wms/order/listCK',
method: 'post',
data: data
});
}
// 列表
export function PurchaseOrderOutboundPda(data) {
return request({
url: '/wms/order/PurchaseOrderOutboundPda',
method: 'post',
data: data
});
}
// 新增
export function addPurchaseOrderOutbound(data) {
return request({
url: '/wms/order/addPurchaseOrderOutbound',
method: 'post',
data: data
});
}