// 采购入库 export const purchaseInventory = ( params, config = { custom: { auth: true } } ) => uni.$u.http.post( `/pda/purchaseInventory?currentPage=${params.currentPage}&pageSize=${params.pageSize}`, params, config ); // 订单明细 export const orderDetail = (urlparams, config = { custom: { auth: true } }) => uni.$u.http.get(`/pda/orderDetail/${urlparams}`, config); // 订单明细上部 export const orderInfo = (urlparams, config = { custom: { auth: true } }) => uni.$u.http.get(`/pda/orderInfo/${urlparams}`, config); // 订单操作、去入库/去拣货 export const orderStartHandle = ( urlparams, config = { custom: { auth: true } } ) => uni.$u.http.get(`/pda/orderStartHandle/${urlparams}`, config); // 商品详情 export const materialDetail = ( urlparams, config = { custom: { auth: true } } ) => uni.$u.http.get(`/pda/materialDetail/${urlparams}`, config); // 商品库存详情 export const materialDepotDetail = ( urlparams, data, config = { custom: { auth: true } } ) => uni.$u.http.get( `/pda/materialDepotDetail/${urlparams.type}/${urlparams.materialId}/${urlparams.depotId}`, { data, config } ); // 商品入库 export const orderSubmit = (params, config = { custom: { auth: true } }) => uni.$u.http.post(`/pda/orderSubmit`, params, config); // 仓库下拉框 export const depotSpinnerList = ( urlparams, data, config = { custom: { auth: true } } ) => uni.$u.http.get(`/pda/depotSpinnerList`, { data, config });