consumable_inventory_check.js 993 字节
import request from '@/utils/request'

// 查询易耗品盘点列表
export function listConsumable_inventory_check(query) {
  return request({
    url: '/admin/yhp/consumable_inventory_check/list',
    method: 'get',
    params: query
  })
}

// 查询易耗品盘点详细
export function getConsumable_inventory_check(id) {
  return request({
    url: '/admin/yhp/consumable_inventory_check/' + id,
    method: 'get'
  })
}

// 新增易耗品盘点
export function addConsumable_inventory_check(data) {
  return request({
    url: '/admin/yhp/consumable_inventory_check',
    method: 'post',
    data: data
  })
}

// 修改易耗品盘点
export function updateConsumable_inventory_check(data) {
  return request({
    url: '/admin/yhp/consumable_inventory_check',
    method: 'put',
    data: data
  })
}

// 删除易耗品盘点
export function delConsumable_inventory_check(id) {
  return request({
    url: '/admin/yhp/consumable_inventory_check/' + id,
    method: 'delete'
  })
}