diff --git a/src/sheep/api/door.ts b/src/sheep/api/door.ts index 41708bc..de5ce41 100644 --- a/src/sheep/api/door.ts +++ b/src/sheep/api/door.ts @@ -85,4 +85,63 @@ export default { showLoading: false, }, }), + /** + * app查询货柜补货商品列表 + * @param hardDoorId 智能柜编号 + * @param cabinetNo 货柜编号 + */ + cabinetPutawayList: (params: { hardDoorId: { hardDoorId: any; cabinetNo: any } }) => + request({ + url: "hard/hard-spu/app/cabinet-putaway-list", + method: "GET", + params, + custom: { + showLoading: false, + }, + }), + + /** + * app查询货柜商品列表 + * @param hardDoorId 智能柜编号 + * @param cabinetNo 货柜编号 + */ + cabinetList: (params: { hardDoorId: { hardDoorId: any; cabinetNo: any } }) => + request({ + url: "hard/hard-spu/app/cabinet-list", + method: "GET", + params, + custom: { + showLoading: false, + }, + }), + + /** + * app上架完成 + * @param flowId + * @param list + */ + repertoryDone: (data: { hardDoorId: { id: any; list: Array<{ hardSpuId: any; plusCount: any }> } }) => + request({ + url: "hard/hard-spu-repertory/app/repertory-done", + method: "POST", + data, + custom: { + showLoading: false, + }, + }), + + /** + * 上架开门 + * @param hardDoorId 智能柜编号 + * @param cabinetNo 货柜编号 + */ + openRepertory: (data: { hardDoorId: { id: any; cabinetNo: any } }) => + request({ + url: "hard/hard-door-flow/app/open-repertory", + method: "POST", + data, + custom: { + showLoading: false, + }, + }), }