Check.js 4.28 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 13
    "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,
    "cpdgrp.pyb.pts.adrblk"                      :null,
chenzhaole committed
14
    "attp.feetyp"                      :null,
15
    "attp.commet"                      :null,
chenzhaole committed
16 17 18 19 20 21 22 23 24
    "cpdgrp.orc.pts.extkey"                      :null,
    "attp.orcadr"                      :null,
    "cpdgrp.pye.namelc"                      :null,
    "attp.pyeadr"                      :null,
    "attp.swftyp"                      :null,
    "attp.pyenam"                      :null,
    "attp.bustyp"                      :null,
    "setmod.dspflg"                      :null,
    "cpdgrp.orc.adrelc"                      :null,
25
    "trnmod.trndoc.doccur.tag79z"                      :null,
chenzhaole committed
26 27
    "cpdgrp.pye.pts.extkey"                      :null,
    "attp.orcnam"                      :null,
28
    "cpdgrp.med.pts.adrblk"                      :null,
chenzhaole committed
29 30
    "cpdgrp.pye.pts.adrblk"                      :null,
    "cpdgrp.rec.trntyp"                      :null,
31 32 33 34 35
    "cpdgrp.ori.namelc"                      :null,
    "trnmod.trndoc.doccur.rcv.namelc"                      :null,
    "trnmod.trndoc.doccur.adrdtecid"                      :null,
    "trnmod.trndoc.doccur.rcv.pts.extkey"                      :null,
    "trnmod.trndoc.doccur.rcv.pts.jigomc"                      :null,
chenzhaole committed
36 37 38
    "cpdgrp.pye.adrelc"                      :null,
    "cpdgrp.rec.valdat"                      :null,
    "attp.country"                      :null,
39 40 41 42 43
    "lendoc.account"                      :null,
    "trnmod.trndoc.doccur.apf"                      :null,
    "cpdgrp.rmt.pts.adrblk"                      :null,
    "cpdgrp.pyb.pts.extkey"                      :null,
    "trnmod.trndoc.doccur.cortyp"                      :null,
chenzhaole committed
44 45
    "attp.payuil"                      :null,
    "cpdgrp.rec.paytype"                      :null,
46 47 48 49 50
    "cpdgrp.med.namelc"                      :null,
    "cpdgrp.pyb.namelc"                      :null,
    "trnmod.trndoc.doccur.rcv.pts.dizhii"                      :null,
    "trnmod.trndoc.doccur.addstr"                      :null,
    "trnmod.trndoc.doccur.adrrid"                      :null,
chenzhaole committed
51
    "cpdgrp.orc.pts.adrblk"                      :null,
52
    "trnmod.trndoc.doccur.addtxt"                      :null,
chenzhaole committed
53
    "attp.resbch"                      :null,
54
    "cpdgrp.rmt.adrelc"                      :null,
chenzhaole committed
55
    "bopmod.szflg"                      :null,
56
    "trnmod.trndoc.doccur.adrbic"                      :null,
chenzhaole committed
57
    "cpdgrp.orc.namelc"                      :null,
58 59 60
    "cpdgrp.med.pts.extkey"                      :null,
    "trnmod.trndoc.doccur.adrdtacid"                      :null,
    "cpdgrp.ori.adrelc"                      :null,
chenzhaole committed
61
    "cpdgrp.cbs.nom1.amt"                      :null,
62 63
    "trnmod.trndoc.doccur.rcv.adrelc"                      :null,
    "cpdgrp.ori.pts.extkey"                      :null,
chenzhaole committed
64
    "cpdgrp.cbs.max.amt"                      :null,
65 66
    "trnmod.trndoc.doccur.roladr"                      :null,
    "trnmod.trndoc.doccur.rcv.pts.adrblk"                      :null,
chenzhaole committed
67 68 69
    "cpdgrp.rec.pyeact"                      :null,
    "bopmod.basflg"                      :null,
    "mtabut.coninf.conexedat"                      :null,
70
    "trnmod.trndoc.doccur.adrref"                      :null,
chenzhaole committed
71
    "cpdgrp.cbs.max.cur"                      :null,
72
    "trnmod.trndoc.doccur.adrtid"                      :null,
chenzhaole committed
73 74
    "attp.resbchnam"                      :null,
    "bopmod.ownextkey"                      :null,
75 76
    "cpdgrp.pyb.adrelc"                      :null,
    "cpdgrp.med.adrelc"                      :null,
chenzhaole committed
77 78
    "setmod.docamt"                      :null,
    "attp.acctyp"                      :null,
79
    "trnmod.trndoc.doccur.adreml"                      :null,
chenzhaole committed
80 81 82 83 84 85 86 87 88 89 90
    "bopmod.acttyp"                      :null,
    "attp.sndbchnam"                      :null,
}

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