54 lines
1.0 KiB
JavaScript
54 lines
1.0 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询运单货物列表
|
|
export function listEmisWaybillCargo(query) {
|
|
return request({
|
|
url: '/emis/emisWaybillCargo/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询单证资料
|
|
export function listClearEmisWaybillCargo(query) {
|
|
return request({
|
|
url: '/emis/emisWaybillCargo/listClear',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询运单货物详细
|
|
export function getEmisWaybillCargo(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillCargo/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增运单货物
|
|
export function addEmisWaybillCargo(data) {
|
|
return request({
|
|
url: '/emis/emisWaybillCargo',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改运单货物
|
|
export function updateEmisWaybillCargo(data) {
|
|
return request({
|
|
url: '/emis/emisWaybillCargo',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除运单货物
|
|
export function delEmisWaybillCargo(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillCargo/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|