综合办公系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import request from '@/utils/request'
  2. // 查询cmc耗材购买列表
  3. export function listMaterialBuy(query) {
  4. return request({
  5. url: '/oa/materialBuy/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询cmc耗材购买详细
  11. export function getMaterialBuy(buyId) {
  12. return request({
  13. url: '/oa/materialBuy/' + buyId,
  14. method: 'get'
  15. })
  16. }
  17. // 新增cmc耗材购买
  18. export function addMaterialBuy(data) {
  19. return request({
  20. url: '/oa/materialBuy',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 修改cmc耗材购买
  26. export function updateMaterialBuy(data) {
  27. return request({
  28. url: '/oa/materialBuy',
  29. method: 'put',
  30. data: data
  31. })
  32. }
  33. // 删除cmc耗材购买
  34. export function delMaterialBuy(buyId) {
  35. return request({
  36. url: '/oa/materialBuy/' + buyId,
  37. method: 'delete'
  38. })
  39. }