644 lines
13 KiB
JavaScript
644 lines
13 KiB
JavaScript
/**
|
||
* 接口列表文件
|
||
*/
|
||
export default {
|
||
/** 系统(免登录) ↓ **/
|
||
index: {
|
||
// 工作台登录码登录:wms_workbench.login_code 命中返回工作台 token(免登录、免鉴权)
|
||
LoginWorkbenchByCode: {
|
||
path: "index.LoginWorkbenchByCode",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
// 按 token(ye4s 登录临时码)查询用户信息:ye4s_user.tmp_code 命中返回 real_name / wms_account_id(免登录、免鉴权)
|
||
queryUserByToken: {
|
||
path: "index.queryUserByToken",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
/** 公共 ↓ **/
|
||
common: {
|
||
ping: {
|
||
path: "index.ping",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
store: {
|
||
path: "index.loadStores",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getCOSUploadConfig: {
|
||
path: "index.getCOSUploadConfig",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
uploadSuccessNotify: {
|
||
path: "index.uploadSuccessNotify",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getImages: {
|
||
path: "index.getImages",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
ReferenceFile: {
|
||
path: "index.ReferenceFile",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
searchSpace: {
|
||
path: "index.searchSpace",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
recognizeLicensePlate: {
|
||
path: "index.recognizeLicensePlate",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
listTemplatesByType: {
|
||
path: "setting.printTemplate.listTemplatesByType",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
toOrder: {
|
||
path: "index.toOrder",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
/** 用户 ↓ **/
|
||
user: {
|
||
info: {
|
||
path: "user.info",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
login: {
|
||
path: "user.login",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
loginByCode: {
|
||
path: "user.loginByCode",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
changeRole: {
|
||
path: "user.changeRole",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
/** 工作台 ↓ **/
|
||
workbench: {
|
||
list: {
|
||
path: "workbench.list",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
// 工作台绑定(需登录、需权限):绑定码 code + 工作台ID id,成功返回工作台 token
|
||
bind: {
|
||
path: "workbench.bind",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
// 用工作台 token 获取工作台信息(免登录、免鉴权):token 无效/不存在返回 403
|
||
getWorkbenchInfo: {
|
||
path: "workbench.getWorkbenchInfo",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
bindMember: {
|
||
path: "workbench.bindMember",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
// 移除工作台成员(免登录、免鉴权,以工作台 token 鉴权):ids 为成员行 id(wms_workbench_member.id)
|
||
removeMember: {
|
||
path: "workbench.removeMember",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
// 工作台条码查询订单(免登录、免鉴权,以工作台 token 鉴权):token + barcode(运单号)
|
||
queryOrder: {
|
||
path: "workbench.queryOrder",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
// 工作台打包上报(免登录、免鉴权,以工作台 token 鉴权):发货单号定位订单创建打包任务
|
||
packOrder: {
|
||
path: "workbench.packOrder",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
// 工作台打包完成(免登录、免鉴权,以工作台 token 鉴权):结束该工作台最后一个未结束打包任务
|
||
finishPack: {
|
||
path: "workbench.finishPack",
|
||
auth: false,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
storage: {
|
||
receiving: {
|
||
getReceivingList: {
|
||
path: "storage.receiving.getReceivingList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
create: {
|
||
path: "storage.receiving.create",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
get: {
|
||
path: "storage.receiving.get",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
bindStore: {
|
||
path: "storage.receiving.bindStore",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
addDetail: {
|
||
path: "storage.receiving.addDetail",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
deleteDetail: {
|
||
path: "storage.receiving.deleteDetail",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
|
||
detailChange: {
|
||
path: "storage.receiving.detailChange",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
scanDetail: {
|
||
path: "storage.receiving.scanDetail",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
cancel: {
|
||
path: "storage.receiving.cancel",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
completeReceiving: {
|
||
path: "storage.receiving.completeReceiving",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
entry: {
|
||
list: {
|
||
path: "storage.entry.list",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
get: {
|
||
path: "storage.entry.get",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
containerList: {
|
||
path: "storage.entry.containerList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
addItem: {
|
||
path: "storage.entry.addItem",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
commit: {
|
||
path: "storage.entry.commit",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
inventory: {
|
||
list: {
|
||
path: "storage.inventory.list",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
transferByProduct: {
|
||
path: "storage.inventory.transferByProduct",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
transferLocation: {
|
||
path: "storage.inventory.transferLocation",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
directInbound: {
|
||
inbound: {
|
||
path: "storage.directInbound.inbound",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
complete: {
|
||
path: "storage.directInbound.complete",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
addItem: {
|
||
path: "storage.directInbound.addItem",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
commit: {
|
||
path: "storage.directInbound.commit",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
/** 库存管理 ↓ **/
|
||
management: {
|
||
replenishmentDemand: {
|
||
path: "storage.management.replenishmentDemand",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
}
|
||
},
|
||
stock: {
|
||
search: {
|
||
path: "stock.search",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
warehouse: {
|
||
list: {
|
||
path: "stock.warehouse.list",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
search: {
|
||
path: "stock.warehouse.search",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getProhibitedType: {
|
||
path: "stock.warehouse.getProhibitedType",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getStockUnits: {
|
||
path: "stock.warehouse.getStockUnits",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
checkItemCodeUnique: {
|
||
path: "stock.warehouse.checkItemCodeUnique",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getBarcodes: {
|
||
path: "stock.warehouse.getBarcodes",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
saveWarehouseStockBarcode: {
|
||
path: "stock.warehouse.saveWarehouseStockBarcode",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
saveWarehouseStock: {
|
||
path: "stock.warehouse.saveWarehouseStock",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
}
|
||
},
|
||
pick: {
|
||
query: {
|
||
path: "pick.query",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
wavePickTaskCurrent: {
|
||
path: "pick.wavePickTaskCurrent",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
wavePickTaskDetail: {
|
||
path: "pick.wavePickTaskDetail",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
wavePickTaskSubmit: {
|
||
path: "pick.wavePickTaskSubmit",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
wavePickTaskComplete: {
|
||
path: "pick.wavePickTaskComplete",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
waveClaimScan: {
|
||
path: "pick.waveClaimScan",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
items: {
|
||
path: "pick.items",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
complete: {
|
||
path: "pick.complete",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
pickCart: {
|
||
scan: {
|
||
path: "pickCart.scan",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
list: {
|
||
path: "pickCart.list",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
bindTaskCart: {
|
||
path: "pickCart.bindTaskCart",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
order: {
|
||
print: {
|
||
getWavePlatformPrintData: {
|
||
path: "order.print.getWavePlatformPrintData",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getPrintDataByWaybillCodes: {
|
||
path: "order.print.getPrintDataByWaybillCodes",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getOrderPrintData: {
|
||
path: "order.print.getOrderPrintData",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
unlockWavePlatformPrintDataByGroup: {
|
||
path: "order.print.unlockWavePlatformPrintDataByGroup",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
wave: {
|
||
batchList: {
|
||
path: "order.wave.batchList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
wavePickTaskList: {
|
||
path: "order.wave.wavePickTaskList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
waveStrategyList: {
|
||
path: "order.wave.waveStrategyList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
waveStrategyFetchPda: {
|
||
path: "order.wave.waveStrategyFetchPda",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
wavePickTaskCancelSelf: {
|
||
path: "order.wave.wavePickTaskCancelSelf",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
pendingOrder: {
|
||
list: {
|
||
path: "index.toOrder",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
detail: {
|
||
path: "order.detail",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
allocateSubOrderNumber: {
|
||
path: "order.pendingOrder.allocateSubOrderNumber",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
recheckOrder: {
|
||
recheckOrderList: {
|
||
path: "order.recheckOrder.recheckOrderList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
queryRecheckOrderSingleList: {
|
||
path: "order.recheckOrder.queryRecheckOrderSingleList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
scanTask: {
|
||
path: "order.recheckOrder.scanTask",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
scanOrder: {
|
||
path: "order.recheckOrder.scanOrder",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
confirmRecheck: {
|
||
path: "order.recheckOrder.confirmRecheck",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
updateExpressWeighingWeight: {
|
||
path: "order.updateExpressWeighingWeight",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
interceptScan: {
|
||
path: "order.recheckOrder.interceptScan",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
confirmIntercept: {
|
||
path: "order.recheckOrder.confirmIntercept",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
deliveryOrder: {
|
||
list: {
|
||
path: "order.deliveryOrder.list",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
detail: {
|
||
path: "order.deliveryOrder.detail",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
detail: {
|
||
path: "order.detail",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
bindExpressPackageMaterialByWaybill: {
|
||
path: "order.bindExpressPackageMaterialByWaybill",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
print: {
|
||
getList: {
|
||
path: "print.getList",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
getComputerPrinter: {
|
||
path: "print.getComputerPrinter",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
},
|
||
send:{
|
||
path: "print.send",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
},
|
||
setting: {
|
||
packageMaterial: {
|
||
search: {
|
||
path: "setting.packageMaterial.search",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
}
|
||
},
|
||
/** 退件登记 ↓ **/
|
||
returnReceived: {
|
||
create: {
|
||
path: "returnReceived.create",
|
||
auth: true,
|
||
method: "POST",
|
||
isSystemApi: true
|
||
}
|
||
}
|
||
}; |