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

/**
* Trtopn Check规则
*/
let checkObj = {
“yanyuxin” committed
7
    "liaall.misamt"                      :null,
“yanyuxin” committed
8 9 10 11 12 13 14 15
    "liaall.limmod.limpts.oth.pts.extkey"                      :null,
    "trtmod.finmod.flttyp"                      :null,
    "dftcre.dfdgrp.rec.matdat"                      :null,
    "liaall.limmod.ownref"                      :null,
    "dftcre.dfdgrp.rec.dfuflg"                      :null,
    "dftcre.dfdgrp.rec.resamt"                      :null,
    "trdgrp.rec.nam"                      :null,
    "dftcre.dfdgrp.apl.namelc"                      :null,
16
    "trdgrp.rec.stttendat"                      :null,
“yanyuxin” committed
17 18 19 20
    "liaall.limmod.ecifno"                      :null,
    "dftcre.dfdgrp.rec.bankcn"                      :null,
    "dftcre.dfdgrp.cbs.max.cur"                      :null,
    "dftcre.dfdgrp.cbs.max.amt"                      :null,
21 22 23
    "trdgrp.rec.actrat"                      :null,
    "cfatrt.cfaflg"                      :null,
    "trdgrp.rec.invtyp"                      :null,
“yanyuxin” committed
24
    "dftcre.dfdgrp.rec.trntyp"                      :null,
25
    "trtp.usr.extkey"                      :null,
“yanyuxin” committed
26
    "cfadft.cfaflg"                      :null,
27
    "trtmod.finmod.act1"                      :null,
“yanyuxin” committed
28
    "dftcre.dfdgrp.rec.bankno"                      :null,
29 30
    "trtmod.finmod.act3"                      :null,
    "trdgrp.rec.guaflg"                      :null,
“yanyuxin” committed
31 32 33 34
    "dftcre.dfdgrp.apl.adrelc"                      :null,
    "liaall.limmod.limpts.oth.pts.nam"                      :null,
    "dftcre.dfdgrp.rec.flttyp"                      :null,
    "dftcre.dfdgrp.rec.actrat"                      :null,
35
    "setmod.dspflg"                      :null,
“yanyuxin” committed
36
    "dftcre.dfdgrp.apl.pts.extkey"                      :null,
37
    "cfatrt.ownextkey"                      :null,
“yanyuxin” committed
38
    "trtmod.finmod.dinmod.rmbsbs"                      :null,
39 40
    "trtmod.finmod.dinjdm"                      :null,
    "trtmod.finmod.ratchgtyp"                      :null,
“yanyuxin” committed
41
    "dftcre.dfdgrp.dff.pts.adrblk"                      :null,
42 43
    "trdgrp.rec.oppacc"                      :null,
    "trdgrp.rec.stagod"                      :null,
“yanyuxin” committed
44 45
    "dftcre.dfdgrp.rec.intprd"                      :null,
    "dftcre.dfdgrp.dff.pts.extkey"                      :null,
46
    "trtmod.finmod.ratchgprd"                      :null,
“yanyuxin” committed
47
    "trtmod.finmod.inttyp"                      :null,
48 49 50 51
    "cfatrt.cda.useofunds"                      :null,
    "trtmod.finmod.intact"                      :null,
    "trdgrp.cbs.max.amt"                      :null,
    "trdgrp.rec.lprtyp"                      :null,
“yanyuxin” committed
52 53
    "liaall.limmod.limpts.wrk.pts.nam"                      :null,
    "dftcre.dfdgrp.apl.pts.adrblk"                      :null,
54
    "trdgrp.fip.pts.adrblk"                      :null,
“yanyuxin” committed
55 56 57 58
    "liaall.limmod.limpts.wrk.pts.extkey"                      :null,
    "trdgrp.rec.trntyp"                      :null,
    "trtmod.finmod.intamt"                      :null,
    "dftcre.dfdgrp.rec.invtyp"                      :null,
59 60
    "trdgrp.fip.adrelc"                      :null,
    "trdgrp.fip.pts.ref"                      :null,
“yanyuxin” committed
61 62
    "dftcre.dfdgrp.dff.namelc"                      :null,
    "cfatrt.cda.cfeogudamount"                      :null,
63
    "trtmod.finmod.ovdinttyp"                      :null,
“yanyuxin” committed
64 65 66 67
    "dftcre.dfdgrp.rec.stttendat"                      :null,
    "mtabut.coninf.conexedat"                      :null,
    "trtmod.finmod.fltval"                      :null,
    "liaall.limmod.limpts.nonrevflg1"                      :null,
68 69
    "trdgrp.cbs.max.cur"                      :null,
    "trdgrp.rec.mycontno"                      :null,
“yanyuxin” committed
70 71 72
    "trdgrp.fip.pts.extkey"                      :null,
    "cfadft.ownextkey"                      :null,
    "trdgrp.fip.namelc"                      :null,
73 74 75
    "cfatrt.cda.cfeogudcurr"                      :null,
    "setmod.docamt"                      :null,
    "trdgrp.rec.matdat"                      :null,
“yanyuxin” committed
76 77
    "trdgrp.rec.pctfin"                      :null,
    "trtmod.finmod.ovdintrat"                      :null,
78
    "trtp.act"                      :null,
“yanyuxin” committed
79
    "trdgrp.rec.issdat"                      :null,
80
    "trtmod.finmod.intdat"                      :null,
“yanyuxin” committed
81
    "dftcre.dfdgrp.dff.adrelc"                      :null,
82
    "trdgrp.rec.tenday"                      :null,
“yanyuxin” committed
83 84 85
    "trtmod.finmod.ratchgdat"                      :null,
    "dftcre.dfdgrp.rec.fintyp"                      :null,
    "trdgrp.rec.flowflag"                      :null,
“yanyuxin” committed
86
    "trdgrp.rec.fintyp1"                      :null,
87 88 89 90 91 92 93 94 95
}

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