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

/**
* Cptati Check规则
*/
let checkObj = {
    "attp.sysno"                      :null,
8 9 10 11 12
    "cpdgrp.rmt.namelc"                      :null,
    "trnmod.trndoc.doccur.rcv.pts.bankno"                      :null,
    "cpdgrp.rmt.pts.extkey"                      :null,
    "cpdgrp.ori.pts.adrblk"                      :null,
    "trnmod.trndoc.doccur.adrfax"                      :null,
taojinrui committed
13
    "bopmod.dbagrp.bas.methods"                      :null,
14
    "cpdgrp.pyb.pts.adrblk"                      :null,
chenzhaole committed
15
    "attp.feetyp"                      :null,
16
    "attp.commet"                      :null,
taojinrui committed
17
    "bopmod.dbagrp.bas.lcyacc"                      :null,
chenzhaole committed
18 19 20
    "cpdgrp.orc.pts.extkey"                      :null,
    "attp.orcadr"                      :null,
    "cpdgrp.pye.namelc"                      :null,
taojinrui committed
21
    "bopmod.dbagrp.bas.outchargeamt"                      :null,
taojinrui committed
22
    "bopmod.dbdgrp.bas.fcyacc"                      :null,
chenzhaole committed
23
    "attp.pyeadr"                      :null,
taojinrui committed
24
    "bopmod.dbagrp.bas.fcyamt"                      :null,
chenzhaole committed
25
    "attp.swftyp"                      :null,
taojinrui committed
26
    "bopmod.dbdgrp.bas.buscode"                      :null,
chenzhaole committed
27
    "attp.pyenam"                      :null,
taojinrui committed
28 29 30
    "bopmod.dbdgrp.bas.inchargeamt"                      :null,
    "bopmod.dbdgrp.bas.idcode"                      :null,
    "bopmod.dbagrp.dcl.txcode"                      :null,
chenzhaole committed
31
    "attp.bustyp"                      :null,
taojinrui committed
32
    "bopmod.dbdgrp.bas.custnm"                      :null,
taojinrui committed
33
    "bopmod.dbagrp.bas.exrate"                      :null,
chenzhaole committed
34
    "setmod.dspflg"                      :null,
taojinrui committed
35
    "bopmod.dbdgrp.bas.txamt"                      :null,
chenzhaole committed
36
    "cpdgrp.orc.adrelc"                      :null,
taojinrui committed
37
    "bopmod.dbagrp.dcl.txcode2"                      :null,
taojinrui committed
38
    "bopmod.dbagrp.bas.txccy"                      :null,
39
    "trnmod.trndoc.doccur.tag79z"                      :null,
chenzhaole committed
40
    "cpdgrp.pye.pts.extkey"                      :null,
taojinrui committed
41
    "bopmod.dbagrp.dcl.isref"                      :null,
chenzhaole committed
42
    "attp.orcnam"                      :null,
43
    "cpdgrp.med.pts.adrblk"                      :null,
chenzhaole committed
44 45
    "cpdgrp.pye.pts.adrblk"                      :null,
    "cpdgrp.rec.trntyp"                      :null,
taojinrui committed
46
    "bopmod.dbagrp.bas.custcod"                      :null,
47
    "cpdgrp.ori.namelc"                      :null,
taojinrui committed
48
    "bopmod.dbdgrp.bas.fcyamt"                      :null,
49 50
    "trnmod.trndoc.doccur.rcv.namelc"                      :null,
    "trnmod.trndoc.doccur.adrdtecid"                      :null,
taojinrui committed
51
    "bopmod.dbagrp.dcl.inptelc"                      :null,
52 53
    "trnmod.trndoc.doccur.rcv.pts.extkey"                      :null,
    "trnmod.trndoc.doccur.rcv.pts.jigomc"                      :null,
taojinrui committed
54
    "bopmod.dbagrp.bas.txamt"                      :null,
chenzhaole committed
55
    "cpdgrp.pye.adrelc"                      :null,
taojinrui committed
56
    "bopmod.dbdgrp.bas.methods"                      :null,
chenzhaole committed
57
    "cpdgrp.rec.valdat"                      :null,
taojinrui committed
58
    "bopmod.dbdgrp.bas.exrate"                      :null,
chenzhaole committed
59
    "attp.country"                      :null,
taojinrui committed
60
    "bopmod.dbagrp.bas.buscode"                      :null,
61
    "lendoc.account"                      :null,
taojinrui committed
62
    "bopmod.dbagrp.bas.othamt"                      :null,
63
    "trnmod.trndoc.doccur.apf"                      :null,
taojinrui committed
64
    "bopmod.dbagrp.bas.actiondesc"                      :null,
65 66 67
    "cpdgrp.rmt.pts.adrblk"                      :null,
    "cpdgrp.pyb.pts.extkey"                      :null,
    "trnmod.trndoc.doccur.cortyp"                      :null,
taojinrui committed
68
    "bopmod.dbdgrp.bas.oppuser"                      :null,
chenzhaole committed
69 70
    "attp.payuil"                      :null,
    "cpdgrp.rec.paytype"                      :null,
71 72
    "cpdgrp.med.namelc"                      :null,
    "cpdgrp.pyb.namelc"                      :null,
taojinrui committed
73 74
    "bopmod.dbdgrp.bas.othamt"                      :null,
    "bopmod.dbdgrp.bas.custype"                      :null,
75 76
    "trnmod.trndoc.doccur.rcv.pts.dizhii"                      :null,
    "trnmod.trndoc.doccur.addstr"                      :null,
taojinrui committed
77
    "bopmod.dbagrp.bas.outchargeccy"                      :null,
78
    "trnmod.trndoc.doccur.adrrid"                      :null,
taojinrui committed
79
    "bopmod.dbagrp.dcl.country"                      :null,
taojinrui committed
80
    "bopmod.dbagrp.bas.actiontype"                      :null,
taojinrui committed
81 82
    "bopmod.dbagrp.dcl.tx2rem"                      :null,
    "bopmod.dbdgrp.bas.rptno"                      :null,
chenzhaole committed
83
    "cpdgrp.orc.pts.adrblk"                      :null,
taojinrui committed
84
    "bopmod.dbagrp.dcl.tc1amt"                      :null,
85
    "trnmod.trndoc.doccur.addtxt"                      :null,
chenzhaole committed
86
    "attp.resbch"                      :null,
taojinrui committed
87
    "bopmod.dbagrp.dcl.paytype"                      :null,
88
    "cpdgrp.rmt.adrelc"                      :null,
chenzhaole committed
89
    "bopmod.szflg"                      :null,
taojinrui committed
90
    "bopmod.dbdgrp.bas.actiontype"                      :null,
91
    "trnmod.trndoc.doccur.adrbic"                      :null,
taojinrui committed
92
    "bopmod.dbagrp.dcl.rptdate"                      :null,
chenzhaole committed
93
    "cpdgrp.orc.namelc"                      :null,
taojinrui committed
94
    "bopmod.dbdgrp.bas.lcyamt"                      :null,
95 96
    "cpdgrp.med.pts.extkey"                      :null,
    "trnmod.trndoc.doccur.adrdtacid"                      :null,
taojinrui committed
97
    "bopmod.dbagrp.dcl.tc2amt"                      :null,
taojinrui committed
98
    "bopmod.dbagrp.bas.inchargeccy"                      :null,
99
    "cpdgrp.ori.adrelc"                      :null,
taojinrui committed
100
    "bopmod.dbagrp.bas.custnm"                      :null,
taojinrui committed
101
    "bopmod.dbdgrp.bas.othacc"                      :null,
taojinrui committed
102
    "bopmod.dbagrp.bas.fcyacc"                      :null,
chenzhaole committed
103
    "cpdgrp.cbs.nom1.amt"                      :null,
104 105
    "trnmod.trndoc.doccur.rcv.adrelc"                      :null,
    "cpdgrp.ori.pts.extkey"                      :null,
taojinrui committed
106
    "bopmod.dbdgrp.bas.inchargeccy"                      :null,
taojinrui committed
107
    "bopmod.dbagrp.bas.custype"                      :null,
chenzhaole committed
108
    "cpdgrp.cbs.max.amt"                      :null,
109 110
    "trnmod.trndoc.doccur.roladr"                      :null,
    "trnmod.trndoc.doccur.rcv.pts.adrblk"                      :null,
chenzhaole committed
111
    "cpdgrp.rec.pyeact"                      :null,
taojinrui committed
112 113 114
    "bopmod.dbdgrp.bas.txccy"                      :null,
    "bopmod.dbagrp.dcl.txrem"                      :null,
    "bopmod.dbdgrp.bas.custcod"                      :null,
taojinrui committed
115 116
    "bopmod.dbagrp.bas.rptno"                      :null,
    "bopmod.dbagrp.bas.oppuser"                      :null,
chenzhaole committed
117
    "bopmod.basflg"                      :null,
taojinrui committed
118
    "bopmod.dbdgrp.bas.lcyacc"                      :null,
taojinrui committed
119 120
    "bopmod.dbagrp.bas.idcode"                      :null,
    "bopmod.dbagrp.bas.othacc"                      :null,
chenzhaole committed
121
    "mtabut.coninf.conexedat"                      :null,
taojinrui committed
122 123
    "bopmod.dbagrp.bas.lcyamt"                      :null,
    "bopmod.dbagrp.bas.inchargeamt"                      :null,
taojinrui committed
124
    "bopmod.dbagrp.dcl.crtuser"                      :null,
125
    "trnmod.trndoc.doccur.adrref"                      :null,
chenzhaole committed
126
    "cpdgrp.cbs.max.cur"                      :null,
127
    "trnmod.trndoc.doccur.adrtid"                      :null,
chenzhaole committed
128 129
    "attp.resbchnam"                      :null,
    "bopmod.ownextkey"                      :null,
130 131
    "cpdgrp.pyb.adrelc"                      :null,
    "cpdgrp.med.adrelc"                      :null,
chenzhaole committed
132 133
    "setmod.docamt"                      :null,
    "attp.acctyp"                      :null,
134
    "trnmod.trndoc.doccur.adreml"                      :null,
chenzhaole committed
135 136
    "bopmod.acttyp"                      :null,
    "attp.sndbchnam"                      :null,
taojinrui committed
137 138
    "bopmod.dbagrp.dcl.actiontype"                      :null,
    "bopmod.dbdgrp.bas.actiondesc"                      :null,
chenzhaole committed
139 140 141 142 143 144 145 146 147
}

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