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.
265 lines
5.2 KiB
265 lines
5.2 KiB
import request from '@/utils/request'
|
|
|
|
export function add(data) {
|
|
return request({
|
|
url: 'api/checkoutbill',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function del(ids) {
|
|
return request({
|
|
url: 'api/checkoutbill/',
|
|
method: 'delete',
|
|
data: ids
|
|
})
|
|
}
|
|
|
|
export function edit(data) {
|
|
return request({
|
|
url: 'api/checkoutbill',
|
|
method: 'put',
|
|
data
|
|
})
|
|
}
|
|
|
|
export function getOutBillDtl(params) {
|
|
return request({
|
|
url: '/api/checkoutbill/getOutBillDtl',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
export function getOutBillDis(params) {
|
|
return request({
|
|
url: '/api/checkoutbill/getOutBillDis',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
export function getOutBillDis2(params) {
|
|
return request({
|
|
url: '/api/checkoutbill/getOutBillDis2',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
export function getOutBillDisDtl(params) {
|
|
return request({
|
|
url: '/api/checkoutbill/getOutBillDisDtl',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
export function getOutBillTask(params) {
|
|
return request({
|
|
url: '/api/checkoutbill/getOutBillTask',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
export function getInvTypes() {
|
|
return request({
|
|
url: '/api/check/getInvTypes',
|
|
method: 'get'
|
|
})
|
|
}
|
|
export function insertDtl(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/insertDtl',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function allDiv(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/allDiv',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function allDivOne(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/allDivOne',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function allCancel(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/allCancel',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function oneCancel(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/oneCancel',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function setPoint(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/setPoint',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function oneSetPoint(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/oneSetPoint',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function getStructIvt(params) {
|
|
return request({
|
|
url: '/api/checkoutbill/getStructIvt',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
export function manualDiv(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/manualDiv',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function confirm(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/confirm',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function issueTask(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/issueTask',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function finishTask(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/finishTask',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function cancleTaskfinish(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/cancleTaskfinish',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function paramByCodeType(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/paramByCodeType',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function schAreaType(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/schAreaType',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function backConfirm(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/backConfirm',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function getType() {
|
|
return request({
|
|
url: '/api/checkoutbill/getType',
|
|
method: 'get'
|
|
})
|
|
}
|
|
export function moneySubmit(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/moneySubmit',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function getDisNum(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/getDisNum',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function queryBox(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/queryBox',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function getOutBillTask2(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/getOutBillTask2',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function cancelTask(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/cancelTask',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function allSetPoint(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/allSetPoint',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function oneSetPoint2(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/oneSetPoint2',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function outReturn(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/outReturn',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function updataIsOverdue(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/updataIsOverdue',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function excelImport(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/importExcel',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export function saveUpdate(data) {
|
|
return request({
|
|
url: '/api/checkoutbill/saveUpdate',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
export default { add, edit, del, allDiv, allCancel, getOutBillDtl, getOutBillDis, getOutBillDis2, setPoint, oneSetPoint, getOutBillTask, getStructIvt, manualDiv, confirm, issueTask, finishTask, cancleTaskfinish, getInvTypes, paramByCodeType, schAreaType, backConfirm, getOutBillDisDtl, getType, allDivOne, moneySubmit, getDisNum, queryBox, getOutBillTask2, oneCancel, cancelTask, allSetPoint, oneSetPoint2, outReturn, updataIsOverdue, excelImport, saveUpdate }
|
|
|