zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
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
85
86
87
88
89
90
91
92
93
94
95
/*
 * @Author: Pengjiantian
 * @Date: 2020-06-15 16:56:56
 * @Last Modified by: zheng
 * @Last Modified time: 2021-06-15 15:20:29
 */
 
import ApiModel from '@/utils/core/apiModel'
// 贷款机构-还款约束-还款分账清单
const formList = [
  {
    type: 'input',
    label: '支付分账序号',
    value: '',
    name: 'sn',
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '支付机构',
    value: '',
    name: 'institutionId',
    rules: [{ required: true }]
  },
  // {
  //   type: 'input',
  //   label: '分账类型',
  //   value: '0',
  //   name: 'ledgerType',
  //   attrs: ['readonly'],
  // },
  {
    type: 'input',
    label: '支付商户号',
    value: '',
    name: 'merchantId',
    rules: [{ required: true }]
  },
  {
    type: 'input',
    label: '分账账户',
    value: '',
    name: 'ledgerMerchantId',
    rules: [{ required: true }]
  },
]
 
const tableList = [
  {
    label: '支付分账序号 ',
    prop: 'sn',
    attrs: { width: 'auto' }
  },
  {
    label: '支付机构',
    prop: 'institutionId',
    attrs: { width: 'auto' }
  },
  // {
  //   label: '分账类型',
  //   prop: 'ledgerType',
  //   attrs: { width: 'auto' }
  // },
  {
    label: '支付商户号',
    prop: 'merchantId',
    attrs: { width: 'auto' }
  },
  {
    label: '分账账户',
    prop: 'ledgerMerchantId',
    attrs: { width: 'auto' }
  },
  {
    prop: 'action',
    label: '操作管理',
    attrs: {
      // width: '260px',
      fixed: 'right'
    },
    type: 'buttons'
  }
]
export default options => {
  // 接口地址: required
  const api = 'server/queryLoanOrgRepaymentLedgerList'
  return new ApiModel({
    api,
    formList,
    tableList,
    request(body) {
      return this.post(body)
    }
  })
}