import {request} from '../utils/request.js'
|
import qs from 'qs'
|
//查询出库单下的发货物料信息
|
export function getOutMaterial(data) {
|
return request({
|
// url: `/delivery/detail/query?MaterialCode=${data.MaterialCode}&OrderNo=${data.OrderNo}`,
|
url: `/delivery/detail/query?${qs.stringify(data)}`,
|
method: 'get'
|
})
|
}
|
|
|
export function getOrderMaterial(data) {
|
return request({
|
url: `/delivery/detail/query`,
|
method: 'get',
|
data
|
})
|
}
|
|
// 查询可发货物料信息列表,Kitting单专用
|
export function getOrderKtting(data) {
|
return request({
|
url: `/delivery/detail/queryForKitting?${qs.stringify(data)}`,
|
method: 'get',
|
data
|
})
|
}
|
|
export function getOrderMaterialDo(data) {
|
return request({
|
url: `/delivery/detail/query`,
|
method: 'get',
|
data
|
})
|
}
|
export function getAllOrder(data) {
|
return request({
|
url: `/delivery/orderno/query`,
|
method: 'get',
|
data
|
})
|
}
|
// 分拣
|
export function getAllOrderDo(data) {
|
return request({
|
url: `/api/wmsOrderMovement/page`,
|
method: 'post',
|
data
|
})
|
}
|
// 发货 4.26
|
export function getAllOrderDelivery(data) {
|
return request({
|
url: `/delivery/orderno/queryDo`,
|
method: 'get',
|
data
|
})
|
}
|
//添加发货记录
|
export function addDeliverRecord(data) {
|
return request({
|
url: '/delivery/record/add',
|
method: 'post',
|
data
|
})
|
}
|
|
//删除图片
|
export function deletePicture(data) {
|
return request({
|
url: `/api/sysFile/delete?${qs.stringify(data)}`,
|
method: 'post'
|
})
|
}
|
|
//取货 增加取货波次号的选择
|
export function getQuhuoOrderDo(data) {
|
return request({
|
url: `/Sorting/getPickUpDoListByPO`,
|
method: 'post',
|
data
|
})
|
}
|
|
|
//取货 增加工序、产品类型的选择
|
export function getPickUpDoListByPOForProductType(data) {
|
return request({
|
url: `/Sorting/getPickUpDoListByPOForProductType`,
|
method: 'post',
|
data
|
})
|
}
|
|
|
//分拣 增加工序、产品类型的选择
|
export function getDoListByPOForProductType(data) {
|
return request({
|
url: `/Sorting/getDoListByPOForProductType`,
|
method: 'post',
|
data
|
})
|
}
|
|
//取货撤销 增加工序、产品类型的选择
|
export function getSortNoListForCancelPickForProductType(data) {
|
return request({
|
url: `/Sorting/getSortNoListForCancelPickForProductType`,
|
method: 'post',
|
data
|
})
|
}
|
|
|
//取货撤销 增加取货波次号的选择
|
export function getSortNoListForCancelPick(data) {
|
return request({
|
url: `/Sorting/getSortNoListForCancelPick`,
|
method: 'post',
|
data
|
})
|
}
|
|
|
//分拣撤销 增加工序、产品类型的选择
|
export function getSortNoListForCancelSortForProductType(data) {
|
return request({
|
url: `/Sorting/getSortNoListForCancelSortForProductType`,
|
method: 'post',
|
data
|
})
|
}
|
|
|
//分拣撤销 增加取货波次号的选择
|
export function getSortNoListForCancelSort(data) {
|
return request({
|
url: `/Sorting/getSortNoListForCancelSort`,
|
method: 'post',
|
data
|
})
|
}
|