1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- //盘点任务列表
- export const taskStocktakingList = (
- params,
- config = { custom: { auth: true } }
- ) =>
- uni.$u.http.post(
- `/pda/taskStocktakingList?currentPage=${params.currentPage}&pageSize=${params.pageSize}`,
- params,
- config
- );
- //盘点任务详情
- export const taskStocktakingDetail = (
- taskId,
- config = { custom: { auth: true } }
- ) => uni.$u.http.get(`/pda/taskStocktakingDetail/${taskId}`, config);
- //开始任务
- export const startTask = (taskId, config = { custom: { auth: true } }) =>
- uni.$u.http.get(`/pda/startTask/${taskId}`, config);
- //完成任务
- export const taskComplete = (taskId, config = { custom: { auth: true } }) =>
- uni.$u.http.get(`/pda/taskComplete/${taskId}`, config);
- //负责人下拉列表
- export const creatorSpinnerList = (
- taskId,
- config = { custom: { auth: true } }
- ) => uni.$u.http.get(`/pda/creatorSpinnerList/${taskId}`, config);
- //盘点任务详情-商品列表
- export const taskStocktakingItemList = (
- params,
- config = { custom: { auth: true } }
- ) =>
- uni.$u.http.post(
- `/pda/taskStocktakingItemList?currentPage=${params.currentPage}&pageSize=${params.pageSize}`,
- params,
- config
- );
- //提交盘点
- export const stocktaking = (params, config = { custom: { auth: true } }) =>
- uni.$u.http.post(`/pda/stocktaking`, params, config);
- //获取商品类别树数据
- export const getMaterialCategoryTree = (
- params,
- config = { custom: { auth: true } }
- ) => uni.$u.http.get(`/pda/getMaterialCategoryTree?id=`, { params }, config);
|