45 lines
903 B
JavaScript
45 lines
903 B
JavaScript
|
|
import request from '@/utils/request'
|
||
|
|
|
||
|
|
// 查询运单附件列表
|
||
|
|
export function listEmisWaybillAttachment(query) {
|
||
|
|
return request({
|
||
|
|
url: '/emis/emisWaybillAttachment/list',
|
||
|
|
method: 'get',
|
||
|
|
params: query
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 查询运单附件详细
|
||
|
|
export function getEmisWaybillAttachment(id) {
|
||
|
|
return request({
|
||
|
|
url: '/emis/emisWaybillAttachment/' + id,
|
||
|
|
method: 'get'
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 新增运单附件
|
||
|
|
export function addEmisWaybillAttachment(data) {
|
||
|
|
return request({
|
||
|
|
url: '/emis/emisWaybillAttachment',
|
||
|
|
method: 'post',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 修改运单附件
|
||
|
|
export function updateEmisWaybillAttachment(data) {
|
||
|
|
return request({
|
||
|
|
url: '/emis/emisWaybillAttachment',
|
||
|
|
method: 'put',
|
||
|
|
data: data
|
||
|
|
})
|
||
|
|
}
|
||
|
|
|
||
|
|
// 删除运单附件
|
||
|
|
export function delEmisWaybillAttachment(id) {
|
||
|
|
return request({
|
||
|
|
url: '/emis/emisWaybillAttachment/' + id,
|
||
|
|
method: 'delete'
|
||
|
|
})
|
||
|
|
}
|