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

/**
* Botdav Check规则
*/
let checkObj = {
huangxin committed
7
    "liaall.misamt"                      :null,
jxl committed
8 9 10
    "bodgrp.rec.matpertyp"                      :null,
    "botp.recget.sdamod.dadsnd"                      :null,
    "bodgrp.rec.doctypcod"                      :null,
huangxin committed
11
    "cnybop.cnylib.doccurdate"                      :null,
jxl committed
12 13 14
    "bodgrp.dre.adrelc"                      :null,
    "bodgrp.srm.djuusr"                      :null,
    "cnybop.outflg"                      :null,
huangxin committed
15
    "cnybop.cnylib.sbankorgcode"                      :null,
jxl committed
16
    "setmod.dspflg"                      :null,
huangxin committed
17
    "cnybop.cnylib.stermtype"                      :null,
jxl committed
18 19 20
    "bodgrp.srm.djutyp"                      :null,
    "bodgrp.col.pts.adrblk"                      :null,
    "bodgrp.blk.dftins"                      :null,
huangxin committed
21
    "cnybop.cnylib.currencycode"                      :null,
jxl committed
22 23
    "cnybop.cnyflg"                      :null,
    "bodgrp.blk.delins"                      :null,
huangxin committed
24
    "cnybop.cnylib.dcreditenddate"                      :null,
jxl committed
25 26 27 28 29
    "bodgrp.srm.djuref"                      :null,
    "bodgrp.rec.stacty"                      :null,
    "bodgrp.drr.adrelc"                      :null,
    "bodgrp.rec.matpercnt"                      :null,
    "bodgrp.dre.namelc"                      :null,
huangxin committed
30 31 32
    "cnybop.cnylib.famt"                      :null,
    "cnybop.saddwordlib"                      :null,
    "cnybop.cnylib.stransattr"                      :null,
jxl committed
33
    "bodgrp.dre.pts.adrblk"                      :null,
huangxin committed
34
    "cnybop.sforeignorgname"                      :null,
jxl committed
35 36 37 38 39 40 41 42 43 44 45
    "bodgrp.rec.invtyp"                      :null,
    "bodgrp.drr.pts.extkey"                      :null,
    "bodgrp.blk.setinsbo"                      :null,
    "bodgrp.rec.matperbeg"                      :null,
    "bodgrp.blk.proins"                      :null,
    "bodgrp.drr.pts.adrblk"                      :null,
    "bodgrp.srm.djudat"                      :null,
    "bodgrp.rec.matdat"                      :null,
    "bodgrp.cbs.max.amt"                      :null,
    "cnybop.traflg"                      :null,
    "botp.colp.ptsget.sdamod.dadsnd"                      :null,
huangxin committed
46
    "cnybop.sbankname"                      :null,
jxl committed
47 48 49
    "bodgrp.drr.pts.ref"                      :null,
    "bodgrp.col.adrelc"                      :null,
    "bodgrp.rec.shpdat"                      :null,
huangxin committed
50
    "cnybop.cnylib.stranstype"                      :null,
jxl committed
51 52 53
    "bodgrp.rec.ownref"                      :null,
    "botp.drrp.ptsget.sdamod.dadsnd"                      :null,
    "bodgrp.col.pts.extkey"                      :null,
huangxin committed
54
    "cnybop.cnylib.sbanktrano"                      :null,
jxl committed
55
    "botp.usr.extkey"                      :null,
huangxin committed
56 57
    "cnybop.cnylib.sforbankswiftbic"                      :null,
    "cnybop.cnylib.denddate"                      :null,
jxl committed
58
    "bodgrp.rec.dircolflg"                      :null,
huangxin committed
59
    "cnybop.sorgname"                      :null,
jxl committed
60 61 62 63
    "mtabut.coninf.conexedat"                      :null,
    "bodgrp.col.namelc"                      :null,
    "cnybop.libflg"                      :null,
    "botp.drep.ptsget.sdamod.dadsnd"                      :null,
huangxin committed
64
    "cnybop.cnylib.sorgcode"                      :null,
jxl committed
65
    "bodgrp.blk.colins"                      :null,
huangxin committed
66
    "cnybop.fexchangeamt"                      :null,
jxl committed
67 68 69 70
    "setmod.docamt"                      :null,
    "bodgrp.drr.namelc"                      :null,
    "bodgrp.blk.othins"                      :null,
    "bodgrp.dre.pts.extkey"                      :null,
huangxin committed
71
    "cnybop.cnylib.sforeigncountrycode"                      :null,
jxl committed
72 73 74 75 76 77 78 79 80 81
    "cnybop.vouflg"                      :null,
}

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