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
| import request,{download,requestType} from "@/utils/request";
| import {BaseEntityInterface} from "@/utils/globalInterface";
| export interface BankSupplierConfigI extends BaseEntityInterface{
| id ?: number , supplierId ?: number , supplierName ?: string , accountNo ?: string , accountName ?: string , bankName ?: string , branchName ?: string , accountType ?: string , currency ?: string , status ?: string , accountNumber ?: string , openingDate ?: string , bankCode ?: string , remark ?: string , isDefault ?: number , createBy ?: string , updateBy ?: string , createTime ?: string , updateTime ?: string , deleted ?: number }
|
|
| /**
| * 查询供应商银行账号配置列表
| */
| export const listBankSupplierConfig:requestType = (query) => {
| return request({
| url: '/cwgl/bankSupplierConfig/list',
| method:'get',
| params:query
| })
| }
| /**
| * 查询供应商银行账号配置详细
| */
| export const getBankSupplierConfig:requestType = (id) => {
| return request({
| url: '/cwgl/bankSupplierConfig/' + id,
| method:'get'
| })
| }
|
| /**
| * 新增供应商银行账号配置
| */
| export const addBankSupplierConfig:requestType = (data) => {
| return request({
| url: '/cwgl/bankSupplierConfig',
| method: 'post',
| data
| })
| }
|
| /**
| * 修改供应商银行账号配置
| */
| export const updateBankSupplierConfig:requestType = (data) => {
| return request({
| url: '/cwgl/bankSupplierConfig',
| method: 'put',
| data
| })
| }
|
| /**
| * 删除供应商银行账号配置
| */
| export const delBankSupplierConfig:requestType = (id) => {
| return request({
| url: '/cwgl/bankSupplierConfig/' + id,
| method: 'delete'
| })
| }
|
|
| /**
| * 导出供应商银行账号配置
| */
| export const exportBankSupplierConfig:requestType = (query) => {
| return new Promise<any>(()=>{
| download('/cwgl/bankSupplierConfig/export',query);
| })
| }
|
|