feat: 🚀 完工
This commit is contained in:
@@ -26,8 +26,8 @@ export const getProductLinesApi = (params: any) => {
|
||||
};
|
||||
|
||||
//仓库
|
||||
export const getWarehousesListApi = () => {
|
||||
return http.get<any>(`basicinfo/warehouses`);
|
||||
export const getWarehousesListApi = (params?: any) => {
|
||||
return http.get<any>(`basicinfo/warehouses`, params);
|
||||
};
|
||||
|
||||
//获取金蝶仓库
|
||||
@@ -35,13 +35,13 @@ export const getWarehousesKingdeeListApi = (params: any) => {
|
||||
return http.get<any>(`basicinfo/warehouses/kingdee`, params);
|
||||
};
|
||||
//获取金蝶子仓库
|
||||
export const getSubwarehouseskingdeeListApi = (params: any) => {
|
||||
export const getSubwarehouseskingdeeListApi = (params?: any) => {
|
||||
return http.get<any>(`basicinfo/subwarehouses/kingdee`, params);
|
||||
};
|
||||
//获取聚水潭仓库 /admapi/basicinfo/warehouses/jushuitan
|
||||
export const getWarehousesJushuitanListApi = (params: any) => {
|
||||
export const getWarehousesJushuitanListApi = (params?: any) => {
|
||||
return http.get<any>(`basicinfo/warehouses/jushuitan`, params);
|
||||
};
|
||||
export const getWarehousesLingXingListApi = (params: any) => {
|
||||
export const getWarehousesLingXingListApi = (params?: any) => {
|
||||
return http.get<any>(`basicinfo/warehouses/lingxing`, params);
|
||||
};
|
||||
|
||||
26
src/api/modules/setGoods.ts
Normal file
26
src/api/modules/setGoods.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import http from "@/api";
|
||||
//列表 /admapi/warehouse/pos_picking_priority
|
||||
export const getGoodsListApi = (params: any) => {
|
||||
return http.get<any>(`warehouse/pos_picking_priority`, params);
|
||||
};
|
||||
|
||||
//新增 /admapi/warehouse/pos_picking_priority
|
||||
export const getGoodsAddApi = (params: any) => {
|
||||
return http.post<any>(`warehouse/pos_picking_priority`, params);
|
||||
};
|
||||
//更新
|
||||
export const getGoodsUpApi = (id: any, params: any) => {
|
||||
return http.post<any>(`warehouse/pos_picking_priority/${id}`, params);
|
||||
};
|
||||
//详情
|
||||
export const getGoodsDetailsApi = (id: any) => {
|
||||
return http.get<any>(`warehouse/pos_picking_priority/${id}`);
|
||||
};
|
||||
//预览
|
||||
export const getGoodsPreviewApi = (id: any) => {
|
||||
return http.get<any>(`warehouse/pos_picking_priority/preview/${id}`);
|
||||
};
|
||||
//验证 /admapi/warehouse/pos_picking_priority/check_exists
|
||||
export const getGoodsCheckExistswApi = (params: any) => {
|
||||
return http.get<any>(`warehouse/pos_picking_priority/check_exists`, params);
|
||||
};
|
||||
@@ -21,19 +21,3 @@ export const getWarehouseUpApi = (id: any, params: any) => {
|
||||
export const getWarehouseDetailsApi = (id: any) => {
|
||||
return http.get<any>(`warehouse/relationship/${id}`);
|
||||
};
|
||||
|
||||
// //获取金蝶仓库
|
||||
// export const getSetWarehouseKingdeeListApi = (params: any) => {
|
||||
// return http.get<any>(`basicinfo/warehouses/kingdee`, params);
|
||||
// };
|
||||
// //获取金蝶子仓库
|
||||
// export const getSetWarehouseSubwarehousesListApi = (params: any) => {
|
||||
// return http.get<any>(`basicinfo/subwarehouses/kingdee`, params);
|
||||
// };
|
||||
// //获取聚水潭仓库 /admapi/basicinfo/warehouses/jushuitan
|
||||
// export const getSetWarehouseSubwarehousesJushuitanListApi = (params: any) => {
|
||||
// return http.get<any>(`basicinfo/warehouses/jushuitan`, params);
|
||||
// };
|
||||
// export const getSetWarehouseSubwarehousesLingXingListApi = (params: any) => {
|
||||
// return http.get<any>(`basicinfo/warehouses/lingxing`, params);
|
||||
// };
|
||||
|
||||
Reference in New Issue
Block a user