Blame view

ant-design-vue-jeecg/src/api/api.js 23.5 KB
pengyongcheng authored
1
import { deleteAction, getAction, httpAction, postAction, putAction } from '@/api/manage'
肖超群 authored
2
import Vue from 'vue'
pengyongcheng authored
3
import { UI_CACHE_DB_DICT_DATA } from '@/store/mutation-types'
肖超群 authored
4
5

//角色管理
pengyongcheng authored
6
7
8
9
const addRole = (params) => postAction('/sys/role/add', params)
const editRole = (params) => putAction('/sys/role/edit', params)
const checkRoleCode = (params) => getAction('/sys/role/checkRoleCode', params)
const queryall = (params) => getAction('/sys/role/queryall', params)
肖超群 authored
10
11

//用户管理
pengyongcheng authored
12
13
14
15
16
const addUser = (params) => postAction('/sys/user/add', params)
const editUser = (params) => putAction('/sys/user/edit', params)
const queryUserRole = (params) => getAction('/sys/user/queryUserRole', params)
const getUserList = (params) => getAction('/sys/user/list', params)
const frozenBatch = (params) => putAction('/sys/user/frozenBatch', params)
肖超群 authored
17
//验证用户是否存在
pengyongcheng authored
18
const checkOnlyUser = (params) => getAction('/sys/user/checkOnlyUser', params)
肖超群 authored
19
//改变密码
pengyongcheng authored
20
const changePassword = (params) => putAction('/sys/user/changePassword', params)
21
//系统激活API
pengyongcheng authored
22
const systemActivation = (params) => postAction('/sys/systemActivation', params)
肖超群 authored
23
24

//权限管理
pengyongcheng authored
25
26
27
28
29
const addPermission = (params) => postAction('/sys/permission/add', params)
const editPermission = (params) => putAction('/sys/permission/edit', params)
const getPermissionList = (params) => getAction('/sys/permission/list', params)
const getSystemMenuList = (params) => getAction('/sys/permission/getSystemMenuList', params)
const getSystemSubmenu = (params) => getAction('/sys/permission/getSystemSubmenu', params)
肖超群 authored
30
const getSystemSubmenuBatch = (params) => getAction('/sys/permission/getSystemSubmenuBatch', params)
pengyongcheng authored
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
const queryTreeList = (params) => getAction('/sys/permission/queryTreeList', params)
const queryTreeListForRole = (params) => getAction('/sys/role/queryTreeList', params)
const queryListAsync = (params) => getAction('/sys/permission/queryListAsync', params)
const queryRolePermission = (params) => getAction('/sys/permission/queryRolePermission', params)
const saveRolePermission = (params) => postAction('/sys/permission/saveRolePermission', params)
const queryPermissionsByUser = () => getAction('/sys/permission/getUserPermissionByToken')
const loadAllRoleIds = (params) => getAction('/sys/permission/loadAllRoleIds', params)
const getPermissionRuleList = (params) => getAction('/sys/permission/getPermRuleListByPermId', params)
const queryPermissionRule = (params) => getAction('/sys/permission/queryPermissionRule', params)
// 数据权限
const addDataPermission = (params) => postAction('/sys/dataPermission/add', params)
const editDataPermission = (params) => putAction('/sys/dataPermission/edit', params)
const getDataPermissionList = (params) => getAction('/sys/dataPermission/list', params)
const queryDataTreeList = (params) => getAction('/sys/dataPermission/queryDataTreeList', params)
const queryDataTreeListForRole = (params) => getAction('/sys/role/queryDataTreeList', params)
const queryRoleDataPermission = (params) => getAction('/sys/dataPermission/queryRoleDataPermission', params)
肖超群 authored
47
48

// 部门管理
pengyongcheng authored
49
50
51
52
53
54
const queryDepartTreeList = (params) => getAction('/sys/sysDepart/queryTreeList', params)
const queryDepartTreeSync = (params) => getAction('/sys/sysDepart/queryDepartTreeSync', params)
const queryIdTree = (params) => getAction('/sys/sysDepart/queryIdTree', params)
const queryParentName = (params) => getAction('/sys/sysDepart/queryParentName', params)
const searchByKeywords = (params) => getAction('/sys/sysDepart/searchBy', params)
const deleteByDepartId = (params) => deleteAction('/sys/sysDepart/delete', params)
李泰瑜 authored
55
56
肖超群 authored
57
//二级部门管理
pengyongcheng authored
58
59
60
61
62
63
const queryDepartPermission = (params) => getAction('/sys/permission/queryDepartPermission', params)
const saveDepartPermission = (params) => postAction('/sys/permission/saveDepartPermission', params)
const queryTreeListForDeptRole = (params) => getAction('/sys/sysDepartPermission/queryTreeListForDeptRole', params)
const queryDeptRolePermission = (params) => getAction('/sys/sysDepartPermission/queryDeptRolePermission', params)
const saveDeptRolePermission = (params) => postAction('/sys/sysDepartPermission/saveDeptRolePermission', params)
const queryMyDepartTreeList = (params) => getAction('/sys/sysDepart/queryMyDeptTreeList', params)
肖超群 authored
64
65

//日志管理
pengyongcheng authored
66
67
const deleteLog = (params) => deleteAction('/sys/log/delete', params)
const deleteLogList = (params) => deleteAction('/sys/log/deleteBatch', params)
68
//获得所有接口日志名称
pengyongcheng authored
69
const getApiNameList = (params) => deleteAction('/monitor/apiLog/getApiNameList', params)
肖超群 authored
70
71

//数据字典
pengyongcheng authored
72
73
74
75
76
const addDict = (params) => postAction('/sys/dict/add', params)
const editDict = (params) => putAction('/sys/dict/edit', params)
const treeList = (params) => getAction('/sys/dict/treeList', params)
const addDictItem = (params) => postAction('/sys/dictItem/add', params)
const editDictItem = (params) => putAction('/sys/dictItem/edit', params)
肖超群 authored
77
78

//字典标签专用(通过code获取字典数组)
pengyongcheng authored
79
export const ajaxGetDictItems = (code, params) => getAction(`/sys/dict/getDictItems/${code}`, params)
肖超群 authored
80
肖超群 authored
81
82
83
//从缓存中获取字典配置
function getDictItemsFromCache(dictCode) {
  if (Vue.ls.get(UI_CACHE_DB_DICT_DATA) && Vue.ls.get(UI_CACHE_DB_DICT_DATA)[dictCode]) {
pengyongcheng authored
84
    let dictItems = Vue.ls.get(UI_CACHE_DB_DICT_DATA)[dictCode]
肖超群 authored
85
    //console.log("-----------getDictItemsFromCache----------dictCode="+dictCode+"---- dictItems=",dictItems)
pengyongcheng authored
86
    return dictItems
肖超群 authored
87
88
89
90
  }
}

//系统通告
pengyongcheng authored
91
92
const doReleaseData = (params) => getAction('/sys/annountCement/doReleaseData', params)
const doReovkeData = (params) => getAction('/sys/annountCement/doReovkeData', params)
肖超群 authored
93
//获取系统访问量
pengyongcheng authored
94
95
const getLoginfo = (params) => getAction('/sys/loginfo', params)
const getVisitInfo = (params) => getAction('/sys/visitInfo', params)
肖超群 authored
96
97

// 根据部门主键查询用户信息
pengyongcheng authored
98
const queryUserByDepId = (params) => getAction('/sys/user/queryUserByDepId', params)
肖超群 authored
99
100

// 重复校验
pengyongcheng authored
101
const duplicateCheck = (params) => getAction('/sys/duplicate/check', params)
肖超群 authored
102
// 加载分类字典
pengyongcheng authored
103
const loadCategoryData = (params) => getAction('/sys/category/loadAllData', params)
肖超群 authored
104
105
const checkRuleByCode = (params) => getAction('/sys/checkRule/checkByCode', params)
//加载我的通告信息
pengyongcheng authored
106
const getUserNoticeInfo = (params) => getAction('/sys/sysAnnouncementSend/getMyAnnouncementSend', params)
肖超群 authored
107
const getTransitURL = url => `/sys/common/transitRESTful?url=${encodeURIComponent(url)}`
108
肖超群 authored
109
//根据用户编码,获取仓库信息
pengyongcheng authored
110
export const getWarehouseByUserCode = (params) => postAction('/sys/getWarehouseByUserCode', params)
肖超群 authored
111
//获取库区列表
pengyongcheng authored
112
export const getZoneList = (params) => getAction('/config/zone/getZoneList', params)
肖超群 authored
113
//获取容器类型列表
pengyongcheng authored
114
export const getContainerTypeList = (params) => getAction('/config/containerType/getContainerTypeList', params)
肖超群 authored
115
//获取库位类型列表
pengyongcheng authored
116
export const getLocationTypeList = (params) => getAction('/config/locationType/getLocationTypeList', params)
肖超群 authored
117
//获取库位类高度列表
pengyongcheng authored
118
export const getLocationHighList = (params) => postAction('/config/locationHigh/getLocationHighList', params)
肖超群 authored
119
//获取货主列表
pengyongcheng authored
120
export const getCompanyList = (params) => getAction('/config/company/getCompanyList', params)
121
//系统激活信息查询
pengyongcheng authored
122
export const querySystemActivationInfo = (params) => getAction('/sys/querySystemActivationInfo', params)
123
//获取盘点类型列表
pengyongcheng authored
124
export const getCountTypeList = (params) => getAction('/config/cycleCountPreference/getCountTypeList', params)
肖超群 authored
125
//获取承运商列表
pengyongcheng authored
126
export const getCarrierList = (params) => getAction('/config/carrier/getCarrierList', params)
肖超群 authored
127
//获取客户列表
pengyongcheng authored
128
export const getCustomerList = (params) => getAction('/config/customer/getCustomerList', params)
肖超群 authored
129
//获取供应商列表
pengyongcheng authored
130
export const getSupplierList = (params) => getAction('/config/supplier/getSupplierList', params)
肖超群 authored
131
//获取入库类型列表
pengyongcheng authored
132
export const getReceiptTypeList = (params) => getAction('/config/receiptType/getReceiptTypeList', params)
肖超群 authored
133
//获取出库类型列表
pengyongcheng authored
134
export const getShipmentTypeList = (params) => getAction('/config/shipmentType/getShipmentTypeList', params)
肖超群 authored
135
//根据物料编码查询物料信息
pengyongcheng authored
136
export const searchMaterialByCode = (params) => postAction('/config/material/searchMaterialByCode', params)
肖超群 authored
137
//根据入库单头ID查询入库单详情
pengyongcheng authored
138
export const listReceiveByReceiptId = (params) => postAction('/receipt/receiveHeader/listReceiveByReceiptId', params)
肖超群 authored
139
//创建入库任务
pengyongcheng authored
140
export const createReceiptTask = (params) => postAction('/receipt/receiptContainerHeader/createReceiptTask', params)
141
//批量创建入库任务
pengyongcheng authored
142
export const createReceiptBatchTask = (params) => postAction('/receipt/receiptContainerHeader/createReceiptBatchTask', params)
肖超群 authored
143
//完成WMS任务
pengyongcheng authored
144
export const completeTaskByWMS = (params) => postAction('/task/taskHeader/completeTaskByWMS', params)
肖超群 authored
145
//下发任务给WCS
pengyongcheng authored
146
export const execute = (params) => postAction('/task/taskHeader/execute', params)
肖超群 authored
147
//取消任务
pengyongcheng authored
148
export const cancelTask = (params) => postAction('/task/taskHeader/cancelTask?ids=' + params, params)
谭毅彬 authored
149
150

//盘点任务创建
pengyongcheng authored
151
export const createCycleCountDetailByInventory = (params) => postAction('/cycleCountDetail/cycleCountDetail/createCycleCountDetailByInventory', params)
谭毅彬 authored
152
153
//切换任务
pengyongcheng authored
154
export const switchTask = (params) => postAction('/task/taskHeader/switchTask?ids=' + params, params)
肖超群 authored
155
//自动配盘
pengyongcheng authored
156
export const autoCombination = (params) => postAction('/shipment/shipmentCombination/autoCombination', params)
肖超群 authored
157
//自动出库
pengyongcheng authored
158
export const autoShipment = (params) => postAction('/shipment/shipmentHeader/autoShipment', params)
159
//自动预配盘出库
pengyongcheng authored
160
export const autoShipmentAdvice = (params) => postAction('/shipment/shipmentHeader/autoShipmentAdvice', params)
161
//备货
pengyongcheng authored
162
export const stockUp = (params) => postAction('/shipment/shipmentHeader/stockUp', params)
肖超群 authored
163
//平库路径指引
pengyongcheng authored
164
export const autoFlatShipmentAdvice = (params) => postAction('/shipment/shipmentHeader/autoFlatShipmentAdvice', params)
165
//根据序列号扣减预配盘的库存
pengyongcheng authored
166
export const reduceInventoryDetailBySn = (params) => postAction('/shipment/shipmentCombination/reduceInventoryDetailBySn?snList=' + params, params)
肖超群 authored
167
//创建出库任务
pengyongcheng authored
168
export const createShipmentTask = (params) => postAction('/shipment/shipmentCombination/createShipmentTask', params)
肖超群 authored
169
//批量创建出库任务
pengyongcheng authored
170
export const createShipmentBatchTask = (params) => postAction('/shipment/shipmentCombination/createShipmentBatchTask', params)
肖超群 authored
171
//选择出库分拣口
pengyongcheng authored
172
export const selectSortingPort = (params) => postAction('/shipment/shipmentCombination/selectSortingPort', params)
肖超群 authored
173
//选择入库分拣口
pengyongcheng authored
174
export const selectSupplePort = (params) => postAction('/receipt/receiptContainerHeader/selectSupplePort', params)
175
//选择盘点分拣口
pengyongcheng authored
176
export const inventoryPort = (params) => postAction('/cycleCountDetail/cycleCountDetail/inventoryPort', params)
177
//创建空托盘入库任务
pengyongcheng authored
178
export const createEmptyIn = (params) => postAction('/task/taskHeader/createEmptyIn', params)
zengxiangping authored
179
//修改优先级
pengyongcheng authored
180
export const updatePriority = (params, priority) => postAction('/task/taskHeader/updatePriority?id=' + params + '&priority=' + priority, params)
181
//创建空托盘出库任务
pengyongcheng authored
182
export const createEmptyOut = (params) => postAction('/task/taskHeader/createEmptyOut', params)
肖超群 authored
183
//选择空托盘出库整出口
pengyongcheng authored
184
export const selectEmptyOutPort = (params) => postAction('/task/taskHeader/selectEmptyOutPort', params)
185
//选择空托盘组出库整出口
pengyongcheng authored
186
export const selectManyEmptyOutPort = (params) => postAction('/task/taskHeader/selectManyEmptyOutPort', params)
187
//选择出库整出口
pengyongcheng authored
188
export const selectOutPort = (params) => postAction('/task/taskHeader/selectOutPort', params)
189
//选择出库分拣口
pengyongcheng authored
190
export const selectPickPort = (params) => postAction('/task/taskHeader/selectPickPort', params)
191
//创建移库任务
pengyongcheng authored
192
export const createTransferTask = (params) => postAction('/task/taskHeader/createTransferTask', params)
193
194
//创建移库任务
export const createCantaleverTransferTask = (params) => postAction('/task/taskHeader/createCantaleverTransferTask', params)
195
//创建出库查看任务
pengyongcheng authored
196
export const createCheckOutTask = (params) => postAction('/task/taskHeader/createCheckOutTask', params)
197
//选择站台
pengyongcheng authored
198
export const selectPort = (params) => postAction('/task/taskHeader/selectPort', params)
199
//创建跨站任务
pengyongcheng authored
200
export const createOverStationTask = (params) => postAction('/task/taskHeader/createOverStationTask', params)
201
//盘点任务创建
pengyongcheng authored
202
export const stockTakeTask = (params, headerId, code) => postAction('/cycleCountDetail/cycleCountDetail/stockTakeTask?ids=' + params + '&headerId=' + headerId + '&code=' + code, code)
203
//盘盈添加
pengyongcheng authored
204
export const increaseInInventoryGain = (params) => postAction('/cycleCountDetail/cycleCountDetail/increaseInInventoryGain', params)
李泰瑜 authored
205
//盘点任务生成
pengyongcheng authored
206
export const createCycleCoutTaskByDetailId = (params, toPort) => postAction('/cycleCountDetail/cycleCountDetail/createCycleCoutTaskByDetailId?cycleId=' + params + '&toPort=' + toPort, params)
肖超群 authored
207
//盘点登记
pengyongcheng authored
208
export const confirmGapQty = (params) => postAction('/cycleCountDetail/cycleCountDetail/confirmGapQty', params)
209
//创建空托盘组入库任务
pengyongcheng authored
210
export const createManyEmptyIn = (params) => postAction('/task/taskHeader/createManyEmptyIn', params)
211
//创建空托盘组出库任务
pengyongcheng authored
212
export const createManyEmptyOut = (params) => postAction('/task/taskHeader/createManyEmptyOut', params)
肖超群 authored
213
//批量创建空托盘组出库任务
pengyongcheng authored
214
export const batchCreateEmptyOut = (params) => postAction('/task/taskHeader/batchCreateEmptyOut', params)
215
//获取容器打印数据
pengyongcheng authored
216
export const getPrintContainer = (params) => postAction('/config/container/getPrintContent?ids=' + params, params)
217
//获取容器打印数据
pengyongcheng authored
218
export const setPrintTimes = (params) => postAction('/config/container/setPrintTimes?ids=' + params, params)
219
//获取库位打印数据
pengyongcheng authored
220
export const getPrintLocation = (params) => postAction('/config/location/getPrintContent?ids=' + params, params)
221
//获取物料打印数据
pengyongcheng authored
222
export const getMaterialLocation = (params) => postAction('/config/material/getPrintContent?ids=' + params, params)
223
//获取物料类别列表
pengyongcheng authored
224
export const getMaterialTypeList = (params) => getAction('/config/materialType/getMaterialTypeList', params)
肖超群 authored
225
//根据出库单头ID查询出库单详情
pengyongcheng authored
226
export const listShipmentByShipmentDetailId = (params) => postAction('/shipment/shipmentCombination/listShipmentByShipmentDetailId', params)
肖超群 authored
227
//根据出库单详情选取库存
pengyongcheng authored
228
export const getInventoryFromShipmentDetail = (params) => getAction('/shipment/shipmentCombination/getInventoryFromShipmentDetail', params)
肖超群 authored
229
//配盘
pengyongcheng authored
230
export const combination = (params) => postAction('/shipment/shipmentCombination/combination', params)
231
//回传入库单
pengyongcheng authored
232
export const backErpReceipt = (params) => postAction('/receipt/receiptHeader/backErpReceipt', params)
233
//回传出库单
pengyongcheng authored
234
export const backErpShipment = (params) => postAction('/shipment/shipmentHeader/backErpShipment', params)
235
//合并出库单
pengyongcheng authored
236
export const mergeShipment = (params) => postAction('/shipment/shipmentHeader/mergeShipment', params)
李泰瑜 authored
237
//首页取值
pengyongcheng authored
238
239
240
241
242
export const deliveringAmount = (params) => postAction('/sys/home/deliveringAmount', params)
export const inventoryUtilization = (params) => postAction('/sys/home/inventoryUtilization', params)
export const inventoryStatus = (params) => postAction('/sys/home/inventoryStatus', params)
export const inventoryOverview = (params) => postAction('/sys/home/inventoryOverview', params)
export const getCommonData = (params) => postAction('/sys/home/getCommonData', params)
肖超群 authored
243
//执行AGV任务
pengyongcheng authored
244
export const executeAgv = (params) => postAction('/task/agvTask/execute?ids=' + params, params)
肖超群 authored
245
//完成AGV任务
pengyongcheng authored
246
export const completeAgv = (params) => postAction('/task/agvTask/complete?ids=' + params, params)
肖超群 authored
247
//取消AGV任务
pengyongcheng authored
248
export const cancelAgv = (params) => postAction('/task/agvTask/cancel?ids=' + params, params)
249
//修复空出数据
pengyongcheng authored
250
export const handleEmptyOut = (params) => postAction('/task/taskHeader/handleEmptyOut?id=' + params, params)
251
//修复取货错数据
pengyongcheng authored
252
export const handlePickupError = (params) => postAction('/task/taskHeader/handlePickupError?id=' + params, params)
253
//修复重入数据
pengyongcheng authored
254
export const handleDoubleIn = (params) => postAction('/task/taskHeader/handleDoubleIn?id=' + params, params)
255
//查询用户角色
pengyongcheng authored
256
export const queryWarehouse = (params) => getAction('/config/sysUserWarehouse/queryWarehouse', params)
257
//查询所有仓库
pengyongcheng authored
258
export const getAllWarehouseList = (params) => getAction('/config/warehouse/getAllWarehouseList', params)
肖超群 authored
259
//查询所有库区
pengyongcheng authored
260
export const getAllZoneList = (params) => getAction('/config/zone/getAllZoneList', params)
261
262

//入库单提交审核
pengyongcheng authored
263
export const createReceiptAuditFlow = (params) => getAction('/audit/audit/createReceiptAuditFlow', params)
264
//入库单审核
pengyongcheng authored
265
export const auditReceipt = (params) => getAction('/audit/audit/auditReceipt', params)
266
//查询审核流程进度
pengyongcheng authored
267
export const searchAuditFlow = (params) => getAction('/audit/audit/searchAuditFlow', params)
268
269
//出库单提交审核
pengyongcheng authored
270
export const createShipmentAuditFlow = (params) => getAction('/audit/audit/createShipmentAuditFlow', params)
271
//出库单审核
pengyongcheng authored
272
export const auditShipment = (params) => getAction('/audit/audit/auditShipment', params)
273
274

//查询是否开启审核流程
pengyongcheng authored
275
export const getDocumentAduitFlow = (params) => getAction('/config/parameterConfiguration/getDocumentAduitFlow', params)
276
//库位监控-快速入库
pengyongcheng authored
277
export const flatQuickReceipt = (params) => postAction('/receipt/receiveHeader/flatQuickReceipt', params)
肖超群 authored
278
//快速入库
pengyongcheng authored
279
export const quickReceipt = (params) => postAction('/task/taskHeader/quickReceipt', params)
肖超群 authored
280
//快速出库,批量快速出整托
pengyongcheng authored
281
export const shipmentInventoryHeader = (params) => postAction('/inventory/inventoryHeader/shipmentInventoryHeader', params)
肖超群 authored
282
//快速出库,批量快速出库存详情
pengyongcheng authored
283
export const shipmentInventoryDetail = (params) => postAction('/inventory/inventoryHeader/shipmentInventoryDetail', params)
肖超群 authored
284
285
//悬臂库快速出库,批量快速出库存详情
export const cantaleverShipmentInventoryDetail = (params) => postAction('/inventory/inventoryHeader/cantaleverShipmentInventoryDetail', params)
286
//平库快速出库,通过库存ID
pengyongcheng authored
287
export const flatQuickShipment = (params) => postAction('/shipment/shipmentCombination/flatQuickShipment', params)
肖超群 authored
288
//呼叫入库托盘
pengyongcheng authored
289
export const callReceiptBox = (params) => postAction('/receipt/receiptHeader/callbox', params)
肖超群 authored
290
//批量呼叫入库托盘
pengyongcheng authored
291
export const batchCallReceiptBox = (params) => postAction('/receipt/receiptHeader/batchCallBox', params)
肖超群 authored
292
//呼叫出库托盘
pengyongcheng authored
293
export const callShipmentBox = (params) => postAction('/shipment/shipmentHeader/callbox', params)
肖超群 authored
294
//根据收货ID查询收货单
pengyongcheng authored
295
export const listReceiveByReceiveId = (params) => postAction('/receipt/receiveHeader/listReceiveByReceiveId', params)
肖超群 authored
296
//收货
pengyongcheng authored
297
export const receive = (params) => postAction('/receipt/receiveHeader/receive', params)
肖超群 authored
298
//全部收货
pengyongcheng authored
299
export const receiveHeader = (params) => postAction('/receipt/receiveHeader/receiveHeader?id=' + params, params)
肖超群 authored
300
//越库
pengyongcheng authored
301
export const crossDocking = (params) => postAction('/receipt/receiptHeader/crossDocking?id=' + params, params)
肖超群 authored
302
//收货详情转质检
pengyongcheng authored
303
export const receiveDetailToQuality = (params) => postAction('/receipt/receiveHeader/receiveDetailToQuality?id=' + params, params)
肖超群 authored
304
//入库质检
pengyongcheng authored
305
export const qualityTesting = (params) => postAction('/receipt/qualityHeader/qualityTesting', params)
肖超群 authored
306
//全部转质检
pengyongcheng authored
307
export const receiveHeaderToQuality = (params) => postAction('/receipt/receiveHeader/receiveHeaderToQuality?id=' + params, params)
肖超群 authored
308
//生成库内质检任务
pengyongcheng authored
309
export const qualityInventoryDetail = (params) => postAction('/inventory/inventoryHeader/qualityInventoryDetail', params)
肖超群 authored
310
//质检登记
pengyongcheng authored
311
export const qualityRegister = (params) => postAction('/task/taskHeader/qualityRegister', params)
肖超群 authored
312
//创建出库任务,AGV去接
pengyongcheng authored
313
export const createShipmentTaskByAgv = (params) => postAction('/shipment/shipmentCombination/createShipmentTaskByAgv', params)
肖超群 authored
314
//批量创建出库任务,AGV去接
pengyongcheng authored
315
export const createBatchShipmentTaskByAgv = (params) => postAction('/shipment/shipmentCombination/createBatchShipmentTaskByAgv', params)
肖超群 authored
316
//创建出库任务和AGV去接
pengyongcheng authored
317
export const createShipmentTaskAndAgvTask = (params) => postAction('/shipment/shipmentCombination/createShipmentTaskAndAgvTask', params)
肖超群 authored
318
//完成平库出库
pengyongcheng authored
319
export const completeFlatShipment = (params) => postAction('/shipment/shipmentCombination/completeFlatShipment', params)
320
//平库入库
pengyongcheng authored
321
export const flatReceipt = (params) => postAction('/receipt/receiveHeader/flatReceipt', params)
肖超群 authored
322
//生成序列号物料
pengyongcheng authored
323
export const createSerialMaterial = (params) => postAction('/config/materialSn/batchAdd', params)
肖超群 authored
324
//合托
pengyongcheng authored
325
export const batchCreateCheckOut = (params) => postAction('/task/taskHeader/batchCreateCheckOut', params)
肖超群 authored
326
//增加库存
pengyongcheng authored
327
export const addInventoryDetail = (params) => postAction('/inventory/inventoryDetail/addInventoryDetail', params)
肖超群 authored
328
//增加库存数量
pengyongcheng authored
329
export const increaseInventoryDetail = (params) => postAction('/inventory/inventoryDetail/increaseInventoryDetail', params)
肖超群 authored
330
//扣减库存数量
pengyongcheng authored
331
export const reduceInventoryDetail = (params) => postAction('/inventory/inventoryDetail/reduceInventoryDetail', params)
xcq authored
332
// 根据库位编码查询库存详情
pengyongcheng authored
333
export const getInventoryDetailByLocationCode = (params) => getAction('/inventory/inventoryDetail/list', params)
肖超群 authored
334
//快速出库
pengyongcheng authored
335
export const quickShipment = (params) => postAction('/task/taskHeader/quickShipment', params)
肖超群 authored
336
//出库复核
pengyongcheng authored
337
export const shipmentCheck = (params) => postAction('/shipment/shipmentCombination/shipmentCheck', params)
肖超群 authored
338
//查询盘点明细子表
pengyongcheng authored
339
export const listCycleDetailChildByDetailId = (params) => postAction('/cycleCountDetail/cycleCountDetail/listCycleDetailChildByDetailId', params)
肖超群 authored
340
//平库上架
pengyongcheng authored
341
export const flatOnShell = (params) => postAction('/receipt/receiveHeader/flatOnShell', params)
342
//查询库存详情
pengyongcheng authored
343
export const queryInventoryDetailListByMainIds = (params) => postAction('/inventory/inventoryDetail/getInventoryDetailListByInventoryDetailIds', params)
344
//根据出库单头ID查询出库单详情
pengyongcheng authored
345
export const getInventoryByShipmentDetail = (params) => postAction('/shipment/shipmentHeader/getInventoryByShipmentDetail', params)
肖超群 authored
346
//指定库位
pengyongcheng authored
347
export const allocation = (params) => postAction('/receipt/receiptContainerHeader/allocation', params)
348
//添加BOM
pengyongcheng authored
349
export const addBomHeader = (params) => postAction('/config/bomHeader/addBomHeader', params)
肖超群 authored
350
肖超群 authored
351
352
353
354
355
// 中转HTTP请求
export const transitRESTful = {
  get: (url, parameter) => getAction(getTransitURL(url), parameter),
  post: (url, parameter) => postAction(getTransitURL(url), parameter),
  put: (url, parameter) => putAction(getTransitURL(url), parameter),
pengyongcheng authored
356
  http: (url, parameter) => httpAction(getTransitURL(url), parameter)
肖超群 authored
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
}

export {
  // imgView,
  // doMian,
  addRole,
  editRole,
  checkRoleCode,
  addUser,
  editUser,
  queryUserRole,
  getUserList,
  queryall,
  frozenBatch,
  checkOnlyUser,
  changePassword,
373
  systemActivation,
肖超群 authored
374
375
376
377
378
379
380
  getPermissionList,
  addPermission,
  editPermission,
  queryTreeList,
  queryListAsync,
  queryRolePermission,
  saveRolePermission,
pengyongcheng authored
381
  queryRoleDataPermission,
肖超群 authored
382
383
384
385
  queryPermissionsByUser,
  loadAllRoleIds,
  getPermissionRuleList,
  queryPermissionRule,
pengyongcheng authored
386
387
388
  addDataPermission,
  editDataPermission,
  getDataPermissionList,
肖超群 authored
389
  queryDepartTreeList,
pengyongcheng authored
390
391
  queryDataTreeList,
  queryDataTreeListForRole,
肖超群 authored
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
  queryDepartTreeSync,
  queryIdTree,
  queryParentName,
  searchByKeywords,
  deleteByDepartId,
  deleteLog,
  deleteLogList,
  addDict,
  editDict,
  treeList,
  addDictItem,
  editDictItem,
  doReleaseData,
  doReovkeData,
  getLoginfo,
  getVisitInfo,
  queryUserByDepId,
  duplicateCheck,
  queryTreeListForRole,
  getSystemMenuList,
  getSystemSubmenu,
  getSystemSubmenuBatch,
  loadCategoryData,
  checkRuleByCode,
  queryDepartPermission,
  saveDepartPermission,
  queryTreeListForDeptRole,
  queryDeptRolePermission,
  saveDeptRolePermission,
  queryMyDepartTreeList,
  getUserNoticeInfo,
423
424
  getDictItemsFromCache,
  getApiNameList
肖超群 authored
425
}