62 lines
1.3 KiB
JavaScript
62 lines
1.3 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询发货单明细列表
|
|
export function listDeliveryWaybillDetail(query) {
|
|
return request({
|
|
url: '/wms/deliveryWaybillDetail/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询发货单明细详细
|
|
export function getDeliveryWaybillDetail(detailId) {
|
|
return request({
|
|
url: '/wms/deliveryWaybillDetail/' + detailId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增发货单明细
|
|
export function addDeliveryWaybillDetail(data) {
|
|
return request({
|
|
url: '/wms/deliveryWaybillDetail',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改发货单明细
|
|
export function updateDeliveryWaybillDetail(data) {
|
|
return request({
|
|
url: '/wms/deliveryWaybillDetail',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除发货单明细
|
|
export function delDeliveryWaybillDetail(detailId) {
|
|
return request({
|
|
url: '/wms/deliveryWaybillDetail/' + detailId,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 批量新增发货单明细
|
|
export function batchAddDeliveryWaybillDetail(data) {
|
|
return request({
|
|
url: '/wms/deliveryWaybillDetail/batch',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 查询已绑定发货的钢卷列表
|
|
export function listBoundCoil(query) {
|
|
return request({
|
|
url: '/wms/deliveryWaybillDetail/boundCoilList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
} |