feat:上架接口

This commit is contained in:
dzc committed 2025-04-17 18:58:08 +08:00
1 parent 75f68338da
commit bda2b6d545
1 file changed
+59
+59
View File
@@ -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,
},
}),
}