purchase.js 1.1 KB

1234567891011121314
  1. // 采购入库
  2. export const purchaseInventory = (params, config = {custom: { auth: true }}) => uni.$u.http.post(`/pda/purchaseInventory`, params, config)
  3. // 订单明细
  4. export const orderDetail = (urlparams, config = {custom: { auth: true }}) => uni.$u.http.get(`/pda/orderDetail/${urlparams}`, config)
  5. // 订单明细上部
  6. export const orderInfo = (urlparams, config = {custom: { auth: true }}) => uni.$u.http.get(`/pda/orderInfo/${urlparams}`, config)
  7. // 订单操作、去入库/去拣货
  8. export const orderStartHandle = (urlparams, config = {custom: { auth: true }}) => uni.$u.http.get(`/pda/orderStartHandle/${urlparams}`, config)
  9. // 商品详情
  10. export const materialDetail = (urlparams, config = {custom: { auth: true }}) => uni.$u.http.get(`/pda/materialDetail/${urlparams}`, config)
  11. // 商品库存详情
  12. export const materialDepotDetail = (urlparams,data, config = {custom: { auth: true }}) => uni.$u.http.get(`/pda/materialDepotDetail/${urlparams.type}/${urlparams.materialId}`, {data,config})
  13. // 商品入库
  14. export const orderSubmit = (params, config = {custom: { auth: true }}) => uni.$u.http.post(`/pda/orderSubmit`, params, config)