stock.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import request from '@/common/util/request'
  2. // 库存
  3. export const stockGoods = () => request.get('/storage/storage_detail')
  4. // 盘库库存
  5. export const getPanKuStock = () => request.get('/storage/get_storage')
  6. // 出库
  7. export const publishChuKu = data => request.post('/storage/out_storage', data)
  8. // 商品图片
  9. export const goodsInfo = data => request.get('/order/look_good', data)
  10. // 一次盘库
  11. export const publishFirstPanKu = data => request.post('/storage/one_sure_storage', data)
  12. // 详情
  13. export const goodsDetail = data => request.get('/order/good_detail', data)
  14. // 入库
  15. export const publishRuKu = data => request.get('/storage/put_good_storage', data)
  16. // 盘库
  17. export const morePanKuRevise = data => request.post('/storage/sure_storage', data)
  18. // 记录
  19. export const stockRecord = data => request.get('/storage/put_storage_group', data)
  20. // 记录详情
  21. export const stockRecordDetail = data => request.get('/storage/put_storage_detail', data)
  22. // 待入库
  23. export const allDaiRuKu = data => request.get('/storage/put_storage', data)
  24. // 我的库存
  25. export const myStock = () => request.get('/storage/my_storage')
  26. // 总库存
  27. export const allStock = () => request.get('/storage/storage_detail')
  28. // 盘库记录
  29. export const panKuRecord = data => request.get('/storage/sure_storage_group', data)
  30. // 盘库记录详情
  31. export const panKuRecordDetail = data => request.get('/storage/sure_storage_detail', data)
  32. // 新入库
  33. export const publishRuKuNew = data => request.post('/storage/put_storages', data)
  34. // 入库记录
  35. export const stockRecordNew = data => request.get('/storage/put_storage_groups', data)
  36. // 入库记录详情
  37. export const stockRecordDetailNew = data => request.get('/storage/put_storage_details', data)
  38. // 未发明细
  39. export const GetExpressInnage = data => request.get('/express/GetExpressInnage', data)
  40. // 扫码发货记录
  41. export const getScanLog = data => request.get('/UserSend/getScanLog', data)