const request = uni.$u.http 
 | 
  
 | 
// 转库单列表 
 | 
export function getTransferList (data) { 
 | 
  return request.post('/ext/wTransferExt/pageList', data) 
 | 
} 
 | 
// export function getTransferList(data: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: '/ext/wTransferExt/pageList', 
 | 
//     method: 'post', 
 | 
//     data 
 | 
//   }) 
 | 
// } 
 | 
  
 | 
// 转库单详情 
 | 
export function wTransferExtDetail (id) { 
 | 
  return request.get(`/ext/wTransferExt/${id}`) 
 | 
} 
 | 
// export function wTransferExtDetail(id: any): Promise<any> { 
 | 
//     return httpRequest({ 
 | 
//         url:  `/ext/wTransferExt/${id}`, 
 | 
//         method: 'get' 
 | 
//     }) 
 | 
// } 
 | 
  
 | 
// 分页查询库存 
 | 
export function getwStockExtList (data) { 
 | 
  return request.post('/ext/wStockExt/pageForH5', data) 
 | 
} 
 | 
// export function getwStockExtList(data: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: '/ext/wStockExt/pageForH5', 
 | 
//     method: 'post', 
 | 
//     data 
 | 
//   }) 
 | 
// } 
 | 
  
 | 
// 出入库单列表 
 | 
export function getBoundList (data) { 
 | 
  return request.post('/ext/wOutboundExt/listPage', data) 
 | 
} 
 | 
// export function getBoundList(data: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: '/ext/wOutboundExt/listPage', 
 | 
//     method: 'post', 
 | 
//     data 
 | 
//   }) 
 | 
// } 
 | 
  
 | 
// 提交转库单出入库 
 | 
export function inOutSubmit(params) { 
 | 
    return http.get('/ext/wTransferExt/wTransferForInOutUpload', { params }) 
 | 
} 
 | 
// export function inOutSubmit(params: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: 'ext/wTransferExt/wTransferForInOutUpload', 
 | 
//     method: 'get', 
 | 
//     params 
 | 
//   }) 
 | 
// } 
 | 
  
 | 
// 出入库列表统计 - H5 
 | 
export function pageCount (data) { 
 | 
  return request.post('/ext/wOutboundExt/pageCount', data) 
 | 
} 
 | 
// export function pageCount(data: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: 'ext/wOutboundExt/pageCount', 
 | 
//     method: 'post', 
 | 
//     data 
 | 
//   }) 
 | 
// } 
 | 
  
 | 
// 转库列表统计 - H5 
 | 
export function ZKPageCount (data) { 
 | 
  return request.post('/ext/wTransferExt/pageCount', data) 
 | 
} 
 | 
// export function ZKPageCount(data: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: 'ext/wTransferExt/pageCount', 
 | 
//     method: 'post', 
 | 
//     data 
 | 
//   }) 
 | 
// } 
 | 
  
 | 
/** 
 | 
 * 
 | 
 * @param params id 出入库id 
 | 
 * @returns 
 | 
 */ 
 | 
export function getBoundDetail(params) { 
 | 
    return http.get('/ext/wOutboundExt/findById', { params }) 
 | 
} 
 | 
// export function getBoundDetail(params: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: '/ext/wOutboundExt/findById', 
 | 
//     method: 'get', 
 | 
//     params 
 | 
//   }) 
 | 
// } 
 | 
/** 
 | 
 * 取消出入库单据 
 | 
 * @param params id 出入库id 
 | 
 * @returns 
 | 
 */ 
 | 
export function cancelBound(params) { 
 | 
    return http.get('/ext/wOutboundExt/cancel', { params }) 
 | 
} 
 | 
// export function cancelBound(params: any): Promise<any> { 
 | 
//   return httpRequest({ 
 | 
//     url: '/ext/wOutboundExt/cancel', 
 | 
//     method: 'get', 
 | 
//     params 
 | 
//   }) 
 | 
// } 
 |