Check.js 5.09 KB
Newer Older
孟冬雪 committed
1 2 3 4 5 6
import Utils from "~/utils"

/**
* Lttopn Check规则
*/
let checkObj = {
7
    "liaall.misamt"                      :null,
孟冬雪 committed
8 9
    "ltdgrp.rec.cnfins"                      :null,
    "ltdgrp.rec.nomspc"                      :null,
Wuyuqiu committed
10
    "cnybop.cnylib.doccurdate"                      :null,
孟冬雪 committed
11 12 13
    "ltdgrp.a2t.adrelc"                      :null,
    "ltdgrp.blk.lcrdoc"                      :null,
    "ltdgrp.avt.namelc"                      :null,
14
    "cnybop.outflg"                      :null,
孟冬雪 committed
15 16 17 18 19
    "ltdgrp.rec.stacty"                      :null,
    "ltdgrp.a2t.pts.extkey"                      :null,
    "lttp.usr.extkey"                      :null,
    "ltdgrp.rec.nomtop"                      :null,
    "ltdgrp.rec.nomton"                      :null,
Wuyuqiu committed
20
    "cnybop.cnylib.sbankorgcode"                      :null,
孟冬雪 committed
21 22 23
    "ltdgrp.rec.opndat"                      :null,
    "ltdgrp.cbs.nom1.amt"                      :null,
    "ltdgrp.be2.pts.extkey"                      :null,
24
    "setmod.dspflg"                      :null,
孟冬雪 committed
25
    "ltdgrp.be2.namelc"                      :null,
Wuyuqiu committed
26
    "cnybop.cnylib.stermtype"                      :null,
孟冬雪 committed
27 28 29 30
    "ltdgrp.rmt.adrelc"                      :null,
    "ltdgrp.cbs.max.amt"                      :null,
    "ltdgrp.rmt.pts.extkey"                      :null,
    "ltdgrp.blk.dftat"                      :null,
Wuyuqiu committed
31
    "cnybop.cnylib.currencycode"                      :null,
孟冬雪 committed
32
    "ltdgrp.rec.expdat"                      :null,
33
    "cnybop.cnyflg"                      :null,
孟冬雪 committed
34 35 36
    "ltdgrp.cbs.nom1.cur"                      :null,
    "ltdgrp.blk.adlcnd"                      :null,
    "ltdgrp.be1.pts.nam"                      :null,
Wuyuqiu committed
37
    "cnybop.cnylib.dcreditenddate"                      :null,
38
    "ltdgrp.blk.spcben"                      :null,
孟冬雪 committed
39 40 41 42 43 44 45
    "ltdgrp.rec.shpdat"                      :null,
    "ltdgrp.avt.pts.adrblk"                      :null,
    "ltdgrp.blk.shpper"                      :null,
    "ltdgrp.a2t.pts.adrblk"                      :null,
    "ltdgrp.adt.pts.extkey"                      :null,
    "ltdgrp.blk.mixdet"                      :null,
    "ltdgrp.drw.adrelc"                      :null,
Wuyuqiu committed
46
    "cnybop.cnylib.famt"                      :null,
孟冬雪 committed
47
    "ltdgrp.drw.pts.extkey"                      :null,
Wuyuqiu committed
48 49
    "cnybop.saddwordlib"                      :null,
    "cnybop.cnylib.stransattr"                      :null,
孟冬雪 committed
50
    "ltdgrp.blk.insbnk"                      :null,
51
    "ltdgrp.con.pts.extkey"                      :null,
孟冬雪 committed
52 53
    "ltdgrp.con.namelc"                      :null,
    "ltdgrp.adt.adrelc"                      :null,
Wuyuqiu committed
54
    "cnybop.sforeignorgname"                      :null,
孟冬雪 committed
55 56 57
    "ltdgrp.avt.adrelc"                      :null,
    "ltdgrp.rec.expplc"                      :null,
    "ltdgrp.be2.pts.adrblk"                      :null,
58
    "cnybop.traflg"                      :null,
Wuyuqiu committed
59
    "cnybop.sbankname"                      :null,
孟冬雪 committed
60
    "ltdgrp.rec.avbwth"                      :null,
61
    "ltdgrp.blk.spcrcb"                      :null,
孟冬雪 committed
62 63 64 65
    "ltdgrp.blk.feetxt"                      :null,
    "ltdgrp.rec.avbby"                      :null,
    "ltdgrp.blk.preper"                      :null,
    "ltdgrp.rmt.namelc"                      :null,
Wuyuqiu committed
66
    "cnybop.cnylib.stranstype"                      :null,
67 68
    "ltdgrp.blk.addamtcov"                      :null,
    "ltdgrp.cbs.max2.amt"                      :null,
孟冬雪 committed
69 70
    "ltdgrp.rec.ownref"                      :null,
    "ltdgrp.be2.adrelc"                      :null,
Wuyuqiu committed
71
    "cnybop.cnylib.sbanktrano"                      :null,
孟冬雪 committed
72 73 74
    "ltdgrp.adt.pts.adrblk"                      :null,
    "ltdgrp.rec.prepers18"                      :null,
    "ltdgrp.blk.lcrgod"                      :null,
Wuyuqiu committed
75 76
    "cnybop.cnylib.sforbankswiftbic"                      :null,
    "cnybop.cnylib.denddate"                      :null,
孟冬雪 committed
77 78
    "ltdgrp.be1.pts.extkey"                      :null,
    "ltdgrp.avt.pts.extkey"                      :null,
Wuyuqiu committed
79
    "cnybop.sorgname"                      :null,
孟冬雪 committed
80 81
    "ltdgrp.rec.apprultxt"                      :null,
    "ltdgrp.rmt.pts.adrblk"                      :null,
82 83
    "mtabut.coninf.conexedat"                      :null,
    "cnybop.libflg"                      :null,
孟冬雪 committed
84
    "ltdgrp.adt.namelc"                      :null,
Wuyuqiu committed
85
    "cnybop.cnylib.sorgcode"                      :null,
孟冬雪 committed
86 87
    "ltdgrp.con.adrelc"                      :null,
    "ltdgrp.rec.lcrtyp"                      :null,
Wuyuqiu committed
88
    "cnybop.fexchangeamt"                      :null,
孟冬雪 committed
89 90
    "ltdgrp.rec.tenmaxday"                      :null,
    "ltdgrp.rec.apprul"                      :null,
91
    "setmod.docamt"                      :null,
孟冬雪 committed
92 93 94 95 96
    "ltdgrp.blk.defdet"                      :null,
    "ltdgrp.drw.namelc"                      :null,
    "ltdgrp.drw.pts.adrblk"                      :null,
    "ltdgrp.a2t.namelc"                      :null,
    "ltdgrp.con.pts.adrblk"                      :null,
Wuyuqiu committed
97
    "cnybop.cnylib.sforeigncountrycode"                      :null,
98
    "cnybop.vouflg"                      :null,
孟冬雪 committed
99 100 101 102 103 104 105 106 107
}

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