inventory.js 333 B

123456789101112131415161718192021
  1. // 引用网络请求中间件
  2. import request from '../utils/request.js';
  3. /**
  4. * 库存
  5. */
  6. export function stock(data) {
  7. return request({
  8. url: '/API/type/stock',
  9. method: 'post',
  10. data
  11. })
  12. }
  13. // 筛选条件
  14. export function stockSearch(data) {
  15. return request({
  16. url: '/API/type/stockSearch',
  17. method: 'get',
  18. data
  19. })
  20. }