You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

129 lines
2.7 KiB

import request from '@/utils/request'
import {completeBy} from "@/api/anruifinmanagement/arrearsbilling";
// 待开票车辆条件查询 (已改)
export function listPage(data) {
return request({
url: '/fin/v1/finbillapplication/listPage',
data: data,
method: 'post',
headers: {
'Content-Type': 'application/json'
}
})
}
// 判断申请中单台开票金额是否可以填写(只允许第一次填写)
export function fetchByContractNo(data) {
return request({
url: '/buscenter/v1/bussalesorder/fetchByContractNo/' + data,
method: 'get'
})
}
// 详情回显 获取一条记录
export function fetchDetailsBySid(data) {
return request({
url: '/fin/v1/finbillapplication/fetchDetailsBySid/' + data,
method: 'get'
})
}
// 开票申请--保存
export function saveOrUpdate(data) {
return request({
url: '/fin/v1/finbillapplication/save',
data: data,
method: 'post',
headers: {
'Content-Type': 'application/json'
}
})
}
// 开票申请--提交
export function submit(data) {
return request({
url: '/fin/v1/finbillapplication/submitFinBillApplication',
data: data,
method: 'post',
headers: {
'Content-Type': 'application/json'
}
})
}
// 流程审批(同意)
export function complete(data) {
return request({
url: '/fin/v1/finbillapplication/complete',
data: data,
method: 'post'
})
}
// 流程审批(同意)
export function completeByKP(data) {
return request({
url: '/fin/v1/finbillapplication/completeByKP',
data: data,
method: 'post'
})
}
// 流程审批(驳回)
export function reject(data) {
return request({
url: '/fin/v1/finbillapplication/reject',
data: data,
method: 'post'
})
}
// 流程审批(撤回)
export function revokeProcess(data) {
return request({
url: '/fin/v1/finbillapplication/revokeProcess',
data: data,
method: 'post'
})
}
// 流程审批(终止)
export function breakProcess(data) {
return request({
url: '/fin/v1/finbillapplication/breakProcess',
data: data,
method: 'post'
})
}
// 审批流程(同意)获取下一环节
export function getNextNodesForSubmit(data) {
return request({
url: '/fin/v1/finbillapplication/getNextNodesForSubmit',
method: 'get',
params: data
})
}
// 审批流程(驳回)获取上一环节
export function getPreviousNodesForReject(data) {
return request({
url: '/fin/v1/finbillapplication/getPreviousNodesForReject',
method: 'get',
params: data
})
}
// 移除附件接口
export function removeFile(data) {
return request({
url: '/base/v1/commonappendix/deleteFilesOss',
method: 'post',
params: data,
headers: {
'Content-Type': 'application/json'
}
})
}