Check.js 13.4 KB
Newer Older
chenwen committed
1 2 3 4 5 6
import Utils from "~/utils"

/**
* Bctset Check规则
*/
let checkObj = {
panziyi committed
7 8 9 10 11 12
    "liaall.misamt"                      :null,
    "trnmod.cipmod.fkrdz3"                      :null,
    "trnmod.cipmod.fkrdz4"                      :null,
    "bopmod.dbcgrp.bas.buscode"                      :null,
    "trnmod.cipmod.fkrdz2"                      :null,
    "trnmod.cipmod.skkhdz"                      :null,
panziyi committed
13
    "trtcre.trdgrp.fip.pts.adrblk"                      :null,
panziyi committed
14 15 16 17
    "trnmod.cipmod.fkrdz7"                      :null,
    "trnmod.cipmod.fufeih"                      :null,
    "trnmod.cipmod.fkrdz5"                      :null,
    "trnmod.cipmod.fkrdz6"                      :null,
panziyi committed
18 19 20 21
    "trtcre.trtmod.finmod.ovdinttyp"                      :null,
    "trtcre.trtmod.finmod.dinmod.rmbsbs"                      :null,
    "dftcre.dfdgrp.rec.resamt"                      :null,
    "dftcre.dfdgrp.apl.namelc"                      :null,
panziyi committed
22 23
    "bopmod.dbfgrp.bas.txamt"                      :null,
    "cnybop.cnyout.sbalancemode"                      :null,
panziyi committed
24 25
    "dftcre.dfdgrp.cbs.max.cur"                      :null,
    "dftcre.dfdgrp.cbs.max.amt"                      :null,
chenwen committed
26 27
    "bcdgrp.blk.dftins"                      :null,
    "bcdgrp.rmi.pts.nam"                      :null,
28
    "cnybop.outflg"                      :null,
chenwen committed
29 30
    "bcdgrp.dre.adrelc"                      :null,
    "bcdgrp.blk.othins"                      :null,
panziyi committed
31
    "bopmod.dbfgrp.bas.custnm"                      :null,
32
    "cfatrt.cfaflg"                      :null,
panziyi committed
33
    "bopmod.dbcgrp.bas.exrate"                      :null,
panziyi committed
34
    "trtcre.trtp.recname"                      :null,
panziyi committed
35
    "bopmod.dbcgrp.bas.custype"                      :null,
panziyi committed
36
    "trtcre.trdgrp.rec.stttendat"                      :null,
panziyi committed
37
    "bopmod.dbcgrp.bas.idcode"                      :null,
chenwen committed
38
    "bcdgrp.rmi.namelc"                      :null,
panziyi committed
39 40
    "bopmod.dbcgrp.bas.oppuser"                      :null,
    "bopmod.dbfgrp.bas.custype"                      :null,
chenwen committed
41
    "bcdgrp.co2.pts.extkey"                      :null,
panziyi committed
42 43
    "dftcre.dfdgrp.rec.bankno"                      :null,
    "trtcre.trdgrp.cbs.max.cur"                      :null,
chenwen committed
44
    "bcdgrp.dre.pts.nam"                      :null,
panziyi committed
45 46 47
    "liaall.limmod.limpts.oth.pts.nam"                      :null,
    "setmod.dspflg"                      :null,
    "trnmod.cipmod.skkhhh"                      :null,
panziyi committed
48 49
    "dftcre.dfdgrp.apl.pts.extkey"                      :null,
    "trtcre.trdgrp.rec.issdat"                      :null,
panziyi committed
50 51
    "bopmod.dbcgrp.bas.fcyamt"                      :null,
    "cnybop.cnyout.iaccountperiod"                      :null,
52
    "cfatrt.ownextkey"                      :null,
panziyi committed
53 54 55
    "cnybop.cnyout.sbanktrano"                      :null,
    "trnmod.cipmod.skkhhm"                      :null,
    "bopmod.dbcgrp.bas.issdate"                      :null,
panziyi committed
56 57
    "trtcre.trdgrp.fip.namelc"                      :null,
    "trtcre.trdgrp.rec.recaccount"                      :null,
panziyi committed
58 59 60 61 62
    "trnmod.cipmod.pyebchnam"                      :null,
    "bopmod.dbcgrp.bas.lcbgno"                      :null,
    "bopmod.dbfgrp.bas.lcyamt"                      :null,
    "trnmod.cipmod.fkrkhh"                      :null,
    "trnmod.cipmod.fkhkhh"                      :null,
panziyi committed
63 64
    "trtcre.trtmod.finmod.intact"                      :null,
    "dftcre.dfdgrp.dff.pts.extkey"                      :null,
panziyi committed
65 66
    "bopmod.dbfgrp.bas.othacc"                      :null,
    "bopmod.dbcgrp.bas.custnm"                      :null,
67
    "cfatrt.cda.useofunds"                      :null,
panziyi committed
68 69
    "trtcre.trtmod.finmod.dinjdm"                      :null,
    "trtcre.trdgrp.cbs.max.amt"                      :null,
panziyi committed
70 71 72 73 74 75
    "trnmod.cipmod.recsehbchnam"                      :null,
    "trnmod.cipmod.fkhdzh"                      :null,
    "bopmod.dbfgrp.bas.oppuser"                      :null,
    "bopmod.dbcgrp.bas.methods"                      :null,
    "liaall.limmod.limpts.wrk.pts.nam"                      :null,
    "cnybop.saddwordout"                      :null,
panziyi committed
76
    "trtcre.trtmod.finmod.intamt"                      :null,
77
    "cnybop.cnyflg"                      :null,
panziyi committed
78
    "trnmod.cipmod.pyebchkey"                      :null,
panziyi committed
79
    "trtcre.trdgrp.fip.adrelc"                      :null,
chenwen committed
80 81
    "bcdgrp.drr.adrelc"                      :null,
    "bcdgrp.blk.colins"                      :null,
panziyi committed
82
    "trtcre.trtmod.finmod.ratchgdat"                      :null,
panziyi committed
83
    "trnmod.cipmod.zjg2hh"                      :null,
panziyi committed
84
    "dftcre.dfdgrp.rec.invtyp"                      :null,
panziyi committed
85
    "cnybop.cnyout.sswiftbic"                      :null,
panziyi committed
86
    "trtcre.trtmod.finmod.fltval"                      :null,
panziyi committed
87 88
    "bopmod.dbfgrp.bas.issdate"                      :null,
    "cnybop.cnyout.sbankorgcode"                      :null,
89
    "cfatrt.cda.cfeogudamount"                      :null,
panziyi committed
90
    "dftcre.dfdgrp.rec.stttendat"                      :null,
panziyi committed
91 92 93 94 95 96 97 98
    "bopmod.dbcgrp.bas.txamt"                      :null,
    "bopmod.dbfgrp.bas.actuccy"                      :null,
    "bopmod.dbcgrp.bas.fcyacc"                      :null,
    "trnmod.cipmod.ffeih2"                      :null,
    "cnybop.cnyout.cpayeraccttyp"                      :null,
    "bopmod.dbfgrp.bas.exrate"                      :null,
    "bopmod.dbfgrp.bas.fcyacc"                      :null,
    "cnybop.spayeename"                      :null,
panziyi committed
99
    "trtcre.trdgrp.rec.oppacc"                      :null,
chenwen committed
100 101
    "bcdgrp.blk.chgtxt"                      :null,
    "bcdgrp.drr.pts.extkey"                      :null,
102
    "cfadft.ownextkey"                      :null,
panziyi committed
103
    "bopmod.dbfgrp.bas.txccy"                      :null,
chenwen committed
104
    "bcdgrp.co2.adrelc"                      :null,
panziyi committed
105 106 107 108
    "trnmod.cipmod.fuynh4"                      :null,
    "trnmod.cipmod.fuynh2"                      :null,
    "trnmod.cipmod.fuynh3"                      :null,
    "bopmod.dbfgrp.bas.othamt"                      :null,
chenwen committed
109
    "bcdgrp.dre.pts.adrblk"                      :null,
panziyi committed
110
    "trtcre.trdgrp.rec.lprtyp"                      :null,
chenwen committed
111
    "bcdgrp.rmi.pts.ref"                      :null,
panziyi committed
112 113
    "bopmod.dbfgrp.bas.outchargeamt"                      :null,
    "trnmod.cipmod.recsehbch"                      :null,
chenwen committed
114
    "bcdgrp.rmi.pts.adrblk"                      :null,
panziyi committed
115 116 117 118 119 120
    "bopmod.dbfgrp.bas.custcod"                      :null,
    "bopmod.dbcgrp.bas.outchargeccy"                      :null,
    "bopmod.dbcgrp.bas.othamt"                      :null,
    "bopmod.dbcgrp.bas.actuamt"                      :null,
    "trnmod.commen"                      :null,
    "trnmod.cipmod.stasehbchnam"                      :null,
panziyi committed
121
    "dftcre.dfdgrp.dff.adrelc"                      :null,
panziyi committed
122
    "cnybop.cnyout.fpayeeamt"                      :null,
panziyi committed
123
    "trtcre.trtmod.finmod.ovdintrat"                      :null,
panziyi committed
124
    "trnmod.cipmod.zjg1hh"                      :null,
panziyi committed
125 126
    "trtcre.trdgrp.rec.trntyp"                      :null,
    "dftcre.dfdgrp.rec.fintyp"                      :null,
panziyi committed
127
    "trnmod.cipmod.zjg1mc"                      :null,
panziyi committed
128
    "trtcre.trtmod.finmod.ratchgtyp"                      :null,
panziyi committed
129 130 131
    "liaall.limmod.limpts.oth.pts.extkey"                      :null,
    "bopmod.dbfgrp.bas.lcyacc"                      :null,
    "trnmod.cipmod.skrdz7"                      :null,
panziyi committed
132
    "dftcre.dfdgrp.rec.matdat"                      :null,
panziyi committed
133 134
    "trnmod.cipmod.skrdz6"                      :null,
    "liaall.limmod.ownref"                      :null,
panziyi committed
135
    "dftcre.dfdgrp.rec.dfuflg"                      :null,
chenwen committed
136
    "bcdgrp.dre.namelc"                      :null,
panziyi committed
137
    "bopmod.dbcgrp.bas.othacc"                      :null,
panziyi committed
138
    "trtcre.trtmod.finmod.flttyp"                      :null,
panziyi committed
139 140 141 142 143 144 145
    "bopmod.dbfgrp.bas.tenor"                      :null,
    "bopmod.dbfgrp.bas.actiondesc"                      :null,
    "liaall.limmod.ecifno"                      :null,
    "bopmod.dbcgrp.bas.actuccy"                      :null,
    "trnmod.cipmod.skrdz3"                      :null,
    "trnmod.cipmod.skrdz2"                      :null,
    "trnmod.cipmod.skrdz5"                      :null,
panziyi committed
146
    "trtcre.trtmod.finmod.ratchgprd"                      :null,
panziyi committed
147
    "trnmod.cipmod.skrdz4"                      :null,
panziyi committed
148
    "trtcre.trdgrp.rec.actrat"                      :null,
panziyi committed
149
    "bopmod.dbcgrp.bas.actiontype"                      :null,
panziyi committed
150
    "dftcre.dfdgrp.rec.bankcn"                      :null,
chenwen committed
151
    "bcdgrp.rmi.adrelc"                      :null,
panziyi committed
152 153 154 155 156 157 158
    "bopmod.dbcgrp.bas.lcyamt"                      :null,
    "trnmod.cipmod.feiyon"                      :null,
    "trnmod.cipmod.zjg2mc"                      :null,
    "trnmod.cipmod.fuyns3"                      :null,
    "trnmod.cipmod.fuyns4"                      :null,
    "trnmod.cipmod.fuyns1"                      :null,
    "trnmod.cipmod.fuyns2"                      :null,
159
    "bopmod.szflg"                      :null,
panziyi committed
160
    "dftcre.dfdgrp.rec.trntyp"                      :null,
chenwen committed
161
    "bcdgrp.co2.namelc"                      :null,
panziyi committed
162 163
    "trnmod.cipmod.feecod"                      :null,
    "cnybop.outscale"                      :null,
panziyi committed
164 165
    "trtcre.trdgrp.rec.flowflag"                      :null,
    "trtcre.trdgrp.rec.matdat"                      :null,
panziyi committed
166 167
    "bopmod.dbcgrp.bas.actiondesc"                      :null,
    "bopmod.dbfgrp.bas.methods"                      :null,
168
    "cfadft.cfaflg"                      :null,
panziyi committed
169
    "bopmod.dbfgrp.bas.actiontype"                      :null,
170
    "cnybop.traflg"                      :null,
panziyi committed
171
    "dftcre.dfdgrp.apl.adrelc"                      :null,
panziyi committed
172
    "cnybop.sbankname"                      :null,
panziyi committed
173 174 175 176
    "dftcre.dfdgrp.rec.flttyp"                      :null,
    "dftcre.dfdgrp.rec.actrat"                      :null,
    "trtcre.trtmod.finmod.act1"                      :null,
    "trtcre.trtmod.finmod.act3"                      :null,
panziyi committed
177
    "bopmod.dbfgrp.bas.lcbgno"                      :null,
panziyi committed
178
    "trtcre.trdgrp.rec.invtyp"                      :null,
panziyi committed
179
    "trnmod.cipmod.feiyn2"                      :null,
panziyi committed
180 181 182
    "trtcre.trdgrp.fip.pts.extkey"                      :null,
    "trtcre.trtp.act"                      :null,
    "trtcre.trdgrp.rec.tenday"                      :null,
panziyi committed
183 184
    "bopmod.dbcgrp.bas.rptno"                      :null,
    "cnybop.cnyout.dpayeedate"                      :null,
panziyi committed
185
    "trtcre.trtmod.finmod.inttyp"                      :null,
panziyi committed
186
    "bopmod.dbfgrp.bas.rptno"                      :null,
panziyi committed
187
    "dftcre.dfdgrp.dff.pts.adrblk"                      :null,
panziyi committed
188
    "bopmod.dbfgrp.bas.idcode"                      :null,
panziyi committed
189
    "dftcre.dfdgrp.rec.intprd"                      :null,
chenwen committed
190
    "bcdgrp.drr.namelc"                      :null,
panziyi committed
191
    "bopmod.dbfgrp.bas.fcyamt"                      :null,
chenwen committed
192
    "liaall.tenstm"                      :null,
panziyi committed
193 194
    "trtcre.trdgrp.rec.pctfin"                      :null,
    "trtcre.trtmod.finmod.intprd"                      :null,
panziyi committed
195
    "trnmod.reconebchnam"                      :null,
chenwen committed
196
    "setmod.redamt"                      :null,
panziyi committed
197
    "cnybop.cnyout.frecordamt"                      :null,
chenwen committed
198
    "bcdgrp.co2.pts.adrblk"                      :null,
panziyi committed
199
    "trnmod.cipmod.staonebchnam"                      :null,
panziyi committed
200
    "dftcre.dfdgrp.apl.pts.adrblk"                      :null,
chenwen committed
201 202 203
    "bcdgrp.rec.focflg"                      :null,
    "bcdgrp.drr.pts.nam"                      :null,
    "bcdgrp.rmi.pts.extkey"                      :null,
panziyi committed
204 205
    "bopmod.dbcgrp.bas.custcod"                      :null,
    "bopmod.dbcgrp.bas.txccy"                      :null,
chenwen committed
206
    "bcdgrp.drr.pts.adrblk"                      :null,
panziyi committed
207 208
    "liaall.limmod.limpts.wrk.pts.extkey"                      :null,
    "trnmod.cipmod.stasehbch"                      :null,
209
    "bopmod.basflg"                      :null,
panziyi committed
210 211 212
    "trtcre.trtp.usr.extkey"                      :null,
    "dftcre.dfdgrp.dff.namelc"                      :null,
    "trtcre.trdgrp.rec.guaflg"                      :null,
panziyi committed
213 214 215 216
    "mtabut.coninf.conexedat"                      :null,
    "bopmod.dbfgrp.bas.buscode"                      :null,
    "cnybop.spayername"                      :null,
    "trnmod.cipmod.fkkhmc"                      :null,
panziyi committed
217
    "trtcre.trdgrp.rec.recdistrictcode"                      :null,
panziyi committed
218 219 220
    "bopmod.dbcgrp.bas.lcyacc"                      :null,
    "liaall.limmod.limpts.nonrevflg1"                      :null,
    "bopmod.dbcgrp.bas.outchargeamt"                      :null,
221
    "cnybop.libflg"                      :null,
panziyi committed
222
    "trnmod.bustyp"                      :null,
223
    "bopmod.ownextkey"                      :null,
panziyi committed
224
    "trtcre.trdgrp.rec.stagod"                      :null,
panziyi committed
225 226
    "cnybop.cnyout.spayeecny"                      :null,
    "cnybop.cnyout.spayercountrycode"                      :null,
227
    "cfatrt.cda.cfeogudcurr"                      :null,
chenwen committed
228
    "setmod.docamt"                      :null,
panziyi committed
229 230
    "bopmod.dbfgrp.bas.outchargeccy"                      :null,
    "bopmod.dbfgrp.bas.actuamt"                      :null,
chenwen committed
231
    "bcdgrp.dre.pts.extkey"                      :null,
232
    "bopmod.acttyp"                      :null,
panziyi committed
233
    "trtcre.trtmod.finmod.intdat"                      :null,
panziyi committed
234 235 236
    "cnybop.cnyout.sorilevyno"                      :null,
    "cnybop.cnyout.cpayeeattr"                      :null,
    "cnybop.cnyout.ftotalamt"                      :null,
panziyi committed
237
    "trtcre.trdgrp.rec.reccountrycode"                      :null,
panziyi committed
238
    "cnybop.cnyout.spayeeorgcode"                      :null,
chenwen committed
239
    "mtabut.clsflg"                      :null,
240
    "cnybop.vouflg"                      :null,
chenwen committed
241 242 243 244 245 246 247 248 249
}

for (const key in checkObj) {
    if (Object.hasOwnProperty.call(checkObj, key)) {
        checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
    }
}
export default checkObj