import request from '@/utils/request' // 查询条码品号关系表列表 export function listRelationship(query) { return request({ url: '/snRelationship/relationship/list', method: 'get', params: query }) } // 查询条码品号关系表详细 export function getRelationship(id) { return request({ url: '/snRelationship/relationship/' + id, method: 'get' }) } // 新增条码品号关系表 export function addRelationship(data) { return request({ url: '/snRelationship/relationship', method: 'post', data: data }) } // 修改条码品号关系表 export function updateRelationship(data) { return request({ url: '/snRelationship/relationship', method: 'put', data: data }) } // 删除条码品号关系表 export function delRelationship(id) { return request({ url: '/snRelationship/relationship/' + id, method: 'delete' }) }