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

/**
* Letrsv Check规则
*/
let checkObj = {
    "ledgrp.apb.pts.extkey"                      :null,
Eivi committed
8
    "liaall.limmod.limpts.oth.pts.extkey"                      :null,
zhengxiaokui committed
9 10
    "ledgrp.rec.opndat"                      :null,
    "ledgrp.adv.namelc"                      :null,
Eivi committed
11
    "liaall.limmod.ownref"                      :null,
zhengxiaokui committed
12 13
    "ledgrp.rmb.pts.extkey"                      :null,
    "ledgrp.a2b.pts.adrblk"                      :null,
Eivi committed
14 15
    "liaall.limmod.ecifno"                      :null,
    "ledgrp.iss.pts.adrblk"                      :null,
zhengxiaokui committed
16 17 18 19 20
    "ledgrp.rec.revdat"                      :null,
    "ledgrp.blk.spcrcb"                      :null,
    "ledgrp.blk.preper"                      :null,
    "ledgrp.adv.adrelc"                      :null,
    "ledgrp.ben.adrelc"                      :null,
Eivi committed
21 22 23 24
    "ledgrp.avb.adrelc"                      :null,
    "ledgrp.rec.tenmaxday"                      :null,
    "ledgrp.blk.mixdet"                      :null,
    "ledgrp.avb.pts.extkey"                      :null,
zhengxiaokui committed
25
    "ledgrp.adv.pts.extkey"                      :null,
Eivi committed
26 27
    "ledgrp.drw.adrelc"                      :null,
    "ledgrp.ben.pts.extkey"                      :null,
zhengxiaokui committed
28 29
    "ledgrp.rmb.pts.adrblk"                      :null,
    "ledgrp.blk.lcrgod"                      :null,
Eivi committed
30 31
    "liaall.limmod.limpts.oth.pts.nam"                      :null,
    "setmod.dspflg"                      :null,
zhengxiaokui committed
32 33 34 35
    "ledgrp.a2b.adrelc"                      :null,
    "ledgrp.avb.namelc"                      :null,
    "ledgrp.avb.pts.adrblk"                      :null,
    "ledgrp.apb.pts.adrblk"                      :null,
Eivi committed
36 37 38
    "letp.usr.extkey"                      :null,
    "ledgrp.rec.nomspc"                      :null,
    "ledgrp.a2b.namelc"                      :null,
zhengxiaokui committed
39
    "ledgrp.cbs.nom1.cur"                      :null,
Eivi committed
40 41
    "ledgrp.rec.revtyp"                      :null,
    "ledgrp.rec.avbby"                      :null,
zhengxiaokui committed
42
    "ledgrp.con.pts.nam"                      :null,
Eivi committed
43 44
    "liaall.limmod.limpts.wrk.pts.nam"                      :null,
    "ledgrp.rec.prepers18"                      :null,
zhengxiaokui committed
45
    "ledgrp.rec.nomtop"                      :null,
Eivi committed
46
    "ledgrp.iss.adrelc"                      :null,
zhengxiaokui committed
47 48
    "ledgrp.rec.nomton"                      :null,
    "ledgrp.rec.avbwth"                      :null,
Eivi committed
49
    "ledgrp.apb.namelc"                      :null,
zhengxiaokui committed
50 51 52
    "ledgrp.rec.ownref"                      :null,
    "ledgrp.rmb.namelc"                      :null,
    "ledgrp.blk.feetxt"                      :null,
Eivi committed
53
    "ledgrp.apl.namelc"                      :null,
zhengxiaokui committed
54
    "ledgrp.blk.revcls"                      :null,
Eivi committed
55 56 57
    "liaall.limmod.limpts.wrk.pts.extkey"                      :null,
    "ledgrp.cbs.max2.amt"                      :null,
    "ledgrp.rec.stacty"                      :null,
zhengxiaokui committed
58 59
    "ledgrp.adv.pts.adrblk"                      :null,
    "ledgrp.cbs.nom1.amt"                      :null,
Eivi committed
60
    "ledgrp.blk.lcrdoc"                      :null,
zhengxiaokui committed
61 62
    "ledgrp.blk.defdet"                      :null,
    "ledgrp.rec.expdat"                      :null,
Eivi committed
63
    "ledgrp.blk.dftat"                      :null,
zhengxiaokui committed
64
    "ledgrp.rec.lcrtyp"                      :null,
Eivi committed
65
    "ledgrp.blk.insbnk"                      :null,
zhengxiaokui committed
66 67 68
    "mtabut.coninf.conexedat"                      :null,
    "ledgrp.rec.apprul"                      :null,
    "ledgrp.apl.adrelc"                      :null,
Eivi committed
69 70 71
    "ledgrp.iss.pts.extkey"                      :null,
    "ledgrp.blk.adlcnd"                      :null,
    "liaall.limmod.limpts.nonrevflg1"                      :null,
zhengxiaokui committed
72
    "ledgrp.iss.namelc"                      :null,
Eivi committed
73
    "ledgrp.rec.expplc"                      :null,
zhengxiaokui committed
74
    "ledgrp.drw.pts.extkey"                      :null,
Eivi committed
75 76
    "ledgrp.a2b.pts.extkey"                      :null,
    "ledgrp.iss.pts.ref"                      :null,
zhengxiaokui committed
77
    "ledgrp.ben.namelc"                      :null,
Eivi committed
78
    "ledgrp.apl.pts.adrblk"                      :null,
zhengxiaokui committed
79 80 81 82 83
    "ledgrp.rec.preadvdt"                      :null,
    "ledgrp.ben.pts.adrblk"                      :null,
    "ledgrp.blk.addamtcov"                      :null,
    "setmod.docamt"                      :null,
    "ledgrp.apb.adrelc"                      :null,
Eivi committed
84
    "ledgrp.rmb.adrelc"                      :null,
zhengxiaokui committed
85 86 87 88
    "ledgrp.drw.namelc"                      :null,
    "ledgrp.apl.pts.extkey"                      :null,
    "ledgrp.con.pts.extkey"                      :null,
    "ledgrp.rec.cnfdet"                      :null,
Eivi committed
89
    "ledgrp.drw.pts.adrblk"                      :null,
zhengxiaokui committed
90
    "ledgrp.rec.apprultxt"                      :null,
Eivi committed
91
    "ledgrp.blk.spcben"                      :null,
zhengxiaokui committed
92 93 94 95 96 97 98 99 100
}

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