import request from '@/utils/request' // 查询出库单列表 export function listOutList(query) { return request({ url: '/material/outList/list', method: 'get', params: query }) } // 查询出库单详细 export function getOutList(id) { return request({ url: '/material/outList/' + id, method: 'get' }) } // 新增出库单 export function addOutList(data) { return request({ url: '/material/outList', method: 'post', data: data }) } // 修改出库单 export function updateOutList(data) { return request({ url: '/material/outList', method: 'put', data: data }) } // 删除出库单 export function delOutList(id) { return request({ url: '/material/outList/' + id, method: 'delete' }) } export function addOrUpdateOutList(data) { return request({ url: '/material/outList/addOrUpdate', method: 'post', data: data }) } //查询出库单及详细 export function getOutListAndOutListDel(waterNum) { return request({ url: '/material/outList/byWaterNum/' + waterNum, method: 'get' }) }