From bda2b6d545f8ea5958ad8bfffff108b30e39a8f1 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Thu, 17 Apr 2025 18:58:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=8A=E6=9E=B6=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sheep/api/door.ts | 59 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) 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, + }, + }), }