53 lines
1.0 KiB
JavaScript
53 lines
1.0 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询问题件列表
|
|
export function listEmisWaybillProblemInfo(query) {
|
|
return request({
|
|
url: '/emis/emisWaybillProblemInfo/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function queryListByBillCode(query) {
|
|
return request({
|
|
url: '/emis/emisWaybillProblemInfo/queryListByBillCode',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询问题件详细
|
|
export function getEmisWaybillProblemInfo(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillProblemInfo/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增问题件
|
|
export function addEmisWaybillProblemInfo(data) {
|
|
return request({
|
|
url: '/emis/emisWaybillProblemInfo',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改问题件
|
|
export function updateEmisWaybillProblemInfo(data) {
|
|
return request({
|
|
url: '/emis/emisWaybillProblemInfo',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除问题件
|
|
export function delEmisWaybillProblemInfo(id) {
|
|
return request({
|
|
url: '/emis/emisWaybillProblemInfo/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|