354 lines
6.4 KiB
JavaScript
354 lines
6.4 KiB
JavaScript
/**
|
|
* 接口列表文件
|
|
*/
|
|
export default {
|
|
/** 公共 ↓ **/
|
|
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
|
|
}
|
|
},
|
|
/** 用户 ↓ **/
|
|
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
|
|
}
|
|
},
|
|
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
|
|
},
|
|
cancel: {
|
|
path: "storage.receiving.cancel",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
completeReceiving: {
|
|
path: "storage.receiving.completeReceiving",
|
|
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
|
|
}
|
|
}
|
|
},
|
|
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
|
|
},
|
|
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
|
|
},
|
|
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
|
|
}
|
|
},
|
|
wave: {
|
|
batchList: {
|
|
path: "order.wave.batchList",
|
|
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
|
|
}
|
|
},
|
|
recheckOrder: {
|
|
scanOrder: {
|
|
path: "order.recheckOrder.scanOrder",
|
|
auth: true,
|
|
method: "POST",
|
|
isSystemApi: true
|
|
},
|
|
confirmRecheck: {
|
|
path: "order.recheckOrder.confirmRecheck",
|
|
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
|
|
}
|
|
}
|
|
}; |