import qs from 'qs'
|
|
import {
|
request
|
} from '../utils/request.js'
|
export function getOutWarehouseDetails(data) { //查询物料
|
return request({
|
url: `/CriterionSorting/getOutWarehouseDetails?WareContainerCode=${data.WareContainerCode}&OrderNo=${data.OrderNo}`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
export function getOutWarehouse(data) { //牧野查询物料
|
return request({
|
// url: `/Sorting/getOutWarehouse?WareContainerCode=${data.WareContainerCode}`,
|
url: `/Sorting/getOutWarehouse`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
export function getOutKittingGroup(data) { //分拣列表
|
return request({
|
url: `/Sorting/getOutWarehouseForGroupBySort`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
export function getOutWarehouseGroup(data) { //牧野查询物料 --分组
|
return request({
|
// url: `/Sorting/getOutWarehouse?WareContainerCode=${data.WareContainerCode}`,
|
url: `/Sorting/getOutWarehouseForGroup`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
export function addWarehouseDetails(data) { //牧野确认分拣
|
return request({
|
url: `/Sorting/addWarehouseDetails`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
export function addWarehouseDetailsGroup(data) { //牧野确认分拣 --分组
|
return request({
|
// url: `/Sorting/addWarehouseDetailsForKitting`,
|
url: `/Sorting/ConfirmSort`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
//回库
|
export function containerReturn(data) {
|
return request({
|
url: `/Sorting/ContainerReturn`,
|
method: 'post',
|
data
|
})
|
}
|
|
//回库物料详情
|
export function getContainerDetail(data) {
|
return request({
|
url: `/task/getMaterial`,
|
method: 'post',
|
data
|
})
|
}
|
|
//获取当前区域需要分拣的容器列表
|
/**
|
* @param {Object} type A3区域 1 A1,A2区域2
|
*/
|
export function getContainerQuery(type) {
|
return request({
|
url: `/Sorting/getContainerList?Type=${type}`,
|
method: 'post'
|
})
|
}
|
|
// 分拣记录
|
export function getPickPrintQuery(data) {
|
return request({
|
url: `/Sorting/print/detail/query`,
|
method: 'post',
|
data
|
})
|
}
|
|
// 分拣记录 -斑马打印
|
export function getPickPrintQueryBanMa(data) {
|
return request({
|
url: `/Sorting/print/detail/queryForKitting`,
|
method: 'post',
|
data
|
})
|
}
|
|
// 工序-一级
|
export function selectOneQuery(data) {
|
return request({
|
url: `/Sorting/getProcessList`,
|
method: 'post',
|
data
|
})
|
}
|
// 机床号 -2级
|
export function selectTwoQuery(data) {
|
return request({
|
url: `/Sorting/getEquipmentList`,
|
method: 'post',
|
data
|
})
|
}
|
//生产订单 - 发货页面 - 机床号 -2级 - 可发货的机床号列表
|
export function selectTwoQueryDelivery(data) {
|
return request({
|
url: `/delivery/orderno/queryForKitting`,
|
method: 'get',
|
data
|
})
|
}
|
// 机床号下的编号 -3级
|
export function selectThereQuery(data) {
|
return request({
|
url: `/Sorting/getContainerList`,
|
method: 'post',
|
data
|
})
|
}
|
//下架单明细
|
export function getwmsOrderMovementDetails(data) {
|
return request({
|
url: `/api/wmsOrderMovementDetails/page`,
|
method: 'post',
|
data
|
})
|
}
|
export function getOutWarehousePO(data) {
|
return request({
|
url: `/api/wmsSort/getSortList`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
|
export function addWarehouseDetailsPO(data) {
|
return request({
|
url: `/api/WmsSort/SortConfirm`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
|
//异常汇报
|
export function addSortExceptionFlagConfirm(data) {
|
return request({
|
url: `/api/WmsSort/SortExceptionFlagConfirm`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
|
|
export function addconfirmPick(data) {
|
return request({
|
url: `/Sorting/confirmPick`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
// 取货-撤销
|
export function getOutResumeGroup(data) {
|
return request({
|
url: `/WarePicking/page`,
|
method: 'get',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
// 取货-确认撤销
|
export function reSumeconfirmPick(data) {
|
return request({
|
url: `/Sorting/cancelConfirmPick`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
|
// 分拣-撤销
|
export function getOutResumeSortGroup(data) {
|
return request({
|
url: `/record/sorting/query`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
// 分拣-确认撤销
|
export function reSumeconfirmSort(data) {
|
return request({
|
url: `/Sorting/cancelconfirmSort`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
|
// 越库-撤销
|
export function getOutYekuGroup(data) {
|
return request({
|
url: `/ConfirmDeliveryAndDeliver/page`,
|
method: 'get',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|
// 越库-确认撤销
|
export function reSumeconfirmYeku(data) {
|
return request({
|
url: `/ReceivingProcess/cancelYuekuForSHQY`,
|
method: 'post',
|
contentType: 'application/json',
|
data: data
|
})
|
}
|