1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
| import request,{download,requestType} from "@/utils/request";
| import {BaseEntityInterface} from "@/utils/globalInterface";
| export interface FundFlowI extends BaseEntityInterface{
| id ?: number , bankFlowNo ?: string , company ?: string , ourAccount ?: string , ourBankName ?: string , incomeExpenseFlag ?: number , transactionAmount ?: string , currency ?: string , counterpartyAccount ?: string , counterpartyName ?: string , transactionDate ?: string , purpose ?: string , summary ?: string , remarks ?: string , createBy ?: string , createTime ?: string , updateBy ?: string , updateTime ?: string , delFlag ?: string }
|
|
| /**
| * 查询资金流水列表
| */
| export const listFundFlow:requestType = (query) => {
| return request({
| url: '/cwgl/fundFlow/list',
| method:'get',
| params:query
| })
| }
| /**
| * 查询资金流水详细
| */
| export const getFundFlow:requestType = (id) => {
| return request({
| url: '/cwgl/fundFlow/' + id,
| method:'get'
| })
| }
|
| /**
| * 新增资金流水
| */
| export const addFundFlow:requestType = (data) => {
| return request({
| url: '/cwgl/fundFlow',
| method: 'post',
| data
| })
| }
|
| /**
| * 修改资金流水
| */
| export const updateFundFlow:requestType = (data) => {
| return request({
| url: '/cwgl/fundFlow',
| method: 'put',
| data
| })
| }
|
| /**
| * 删除资金流水
| */
| export const delFundFlow:requestType = (id) => {
| return request({
| url: '/cwgl/fundFlow/' + id,
| method: 'delete'
| })
| }
|
| /**
| * 确认资金流水
| */
| export const confirmFundFlow:requestType = (id) => {
| return request({
| url: '/cwgl/fundFlow/confirm/' + id,
| method: 'put'
| })
| }
|
| /**
| * 导出资金流水
| */
| export const exportFundFlow:requestType = (query) => {
| return new Promise<any>(()=>{
| download('/cwgl/fundFlow/export',query);
| })
| }
| /* 账单认领 */
| export const addFundFlowClaimDetailClaim:requestType = (data,id) => {
| return request({
| url: '/cwgl/fundFlowClaimDetail/claim/'+id,
| method: 'post',
| data
| })
| }
|
|