schangxiang@126.com
2025-09-18 ef0360bd1befc35cc5af197a92ce462bad3af50f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
import request from '../untils/request2024' 
import qs from 'qs'
//获取当前托盘下的组盘详情
export function getContainerRecord(containerCode){ //牧野物料查询
    let data = {
        containerCode:containerCode
    }
    return request({
        // url: `/WarehousOrder/getMaterialList?ContainerCode=${containerCode}`,
        url: `/WarehousOrder/getMaterialList?${qs.stringify(containerCode)}`,
        method: 'get'
     })
}
 
export function getMaterialList(data){ //物料查询 带库存
    return request({
        // url: `/WareMaterial/page?Code=${materialCode}&PageNo=1&PageSize=10`,
        url: `/WarehousOrder/getInventoryQuantity?${qs.stringify(data)}`,
        method: 'get',
     })
}
 
//获取容器信息
export function getContainDetail(code) {
     let data = {
        Code:code,
        PageNo:1,
        PageSize:10
    }
    return request({
        // url: `/WareContainer/page?Code=${code}&PageNo=1&PageSize: 10`,
        url: `/WareContainer/page?${qs.stringify(data)}`,
        method: 'get'
     })
 
}
 
export function getOrderNo(data){ //自动生成单号 666
    return request({
        // url: `/CriterionEnterWare/getOrderNo`,
        url: `/api/common/loadDataList`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function getContainerDetails(data){ //空托查询
    return request({
        url: `/CriterionEnterWare/getContainerDetails`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
export function getMaterialDetails(data){ //物料查询
    return request({
        url: `/CriterionEnterWare/getMaterialDetails?materialCode=${data.materialCode}`,
        method: 'post'
     })
}
export function WarematerialCode(data){ //牧野物料查询
    return request({
        url: `/CollectDelivery/page?WarematerialCode=${data.WarematerialCode}`,
        method: 'get',
        contentType:'application/json',
        data: data
     })
}
export function addGroupDisk(data){ //人工组盘
    return request({
        url: `/api/inbound/shelveStackingScan/inStackingSave`,
        method: 'post',
        data
     })
}
export function groupingTpForOnlyZP(data){ //组盘
    return request({
        url: `/api/task/bindContiner`,
        method: 'post',
        data
     })
}
export function validateDataCommon(data){ //通用验证方法
    return request({
        url: `/api/task/validateDataCommon`,
        method: 'post',
        data
     })
}
export function onlyUpdateDutyCycle(data){ //仅更新空间占比数据 【Editby shaocx,2023-05-23】
    return request({
        url: `/WarehousOrder/onlyUpdateDutyCycle`,
        method: 'post',
        data
     })
}
export function add(data){ //牧野人工组盘
    return request({
        url: `/OrderReceipt/add`,
        method: 'post',
        contentType:'application/json',
        data: data
     })
}
 
export function getBhbMaterialList(data){ //物料查询
    return request({
        url: `/api/inbound/shelveStackingScan/getBufferProductInfo`,
        method: 'post',
        data
     })
}
 
export function isPlate(data){ //物料查询
    return request({
        url: `/api/inbound/shelveStackingScan/isPlate`,
        method: 'post',
        data
     })
}
 
//分拣-区域类型
export function getArea(data) {
    return request({
        url: `/BasicEnumInfo/select`,
        method: 'get',
        data
    })
}
 
 
export function callingTpFn(data){ //呼叫托盘 1 呼叫小托盘
    return request({
        url: `/api/task/callContainer`,
        method: 'post',
        data
     })
}