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

/**
* Botset Check规则
*/
let checkObj = {
    "liaall.misamt"                      :null,
    "bodgrp.rec.matpertyp"                      :null,
jxl committed
9 10
    "bodgrp.dre.adrelc"                      :null,
    "cnybop.outflg"                      :null,
huangxin committed
11 12 13 14
    "bopmod.dbdgrp.bas.fcyacc"                      :null,
    "bopmod.dbdgrp.bas.buscode"                      :null,
    "bopmod.dbdgrp.bas.inchargeamt"                      :null,
    "bopmod.dbdgrp.bas.idcode"                      :null,
jxl committed
15
    "bodgrp.dre.pts.nam"                      :null,
jxl committed
16
    "liaall.limmod.limpts.oth.pts.nam"                      :null,
huangxin committed
17
    "bopmod.dbdgrp.bas.custnm"                      :null,
jxl committed
18
    "setmod.dspflg"                      :null,
huangxin committed
19
    "bopmod.dbdgrp.bas.txamt"                      :null,
jxl committed
20
    "bodgrp.col.pts.adrblk"                      :null,
jxl committed
21
    "bodgrp.blk.dftins"                      :null,
jxl committed
22 23
    "liaall.limmod.limpts.wrk.pts.nam"                      :null,
    "cnybop.cnyflg"                      :null,
huangxin committed
24
    "bopmod.dbdgrp.bas.fcyamt"                      :null,
jxl committed
25 26
    "bodgrp.blk.delins"                      :null,
    "bodgrp.rec.focflg"                      :null,
huangxin committed
27
    "bopmod.dbdgrp.bas.methods"                      :null,
jxl committed
28
    "bodgrp.drr.adrelc"                      :null,
huangxin committed
29
    "bopmod.dbdgrp.bas.exrate"                      :null,
jxl committed
30 31 32
    "bodgrp.dre.namelc"                      :null,
    "lendoc.account"                      :null,
    "bodgrp.dre.pts.adrblk"                      :null,
huangxin committed
33
    "bopmod.dbdgrp.bas.oppuser"                      :null,
jxl committed
34
    "bodgrp.drr.pts.extkey"                      :null,
huangxin committed
35 36
    "bopmod.dbdgrp.bas.othamt"                      :null,
    "bopmod.dbdgrp.bas.custype"                      :null,
jxl committed
37
    "liaall.limmod.limpts.oth.pts.extkey"                      :null,
jxl committed
38
    "bodgrp.rec.matperbeg"                      :null,
jxl committed
39
    "liaall.limmod.ownref"                      :null,
jxl committed
40
    "bodgrp.blk.proins"                      :null,
jxl committed
41
    "liaall.limmod.ecifno"                      :null,
huangxin committed
42
    "bopmod.dbdgrp.bas.rptno"                      :null,
jxl committed
43 44
    "bodgrp.drr.pts.adrblk"                      :null,
    "bopmod.szflg"                      :null,
huangxin committed
45 46
    "bopmod.dbdgrp.bas.actiontype"                      :null,
    "bopmod.dbdgrp.bas.lcyamt"                      :null,
jxl committed
47 48
    "cnybop.traflg"                      :null,
    "bodgrp.col.adrelc"                      :null,
huangxin committed
49 50
    "bopmod.dbdgrp.bas.othacc"                      :null,
    "bopmod.dbdgrp.bas.inchargeccy"                      :null,
jxl committed
51
    "bodgrp.col.pts.extkey"                      :null,
jxl committed
52 53 54
    "liaall.tenstm"                      :null,
    "setmod.redamt"                      :null,
    "bodgrp.drr.pts.nam"                      :null,
huangxin committed
55 56
    "bopmod.dbdgrp.bas.txccy"                      :null,
    "bopmod.dbdgrp.bas.custcod"                      :null,
jxl committed
57 58
    "liaall.limmod.limpts.wrk.pts.extkey"                      :null,
    "bopmod.basflg"                      :null,
huangxin committed
59
    "bopmod.dbdgrp.bas.lcyacc"                      :null,
jxl committed
60
    "mtabut.coninf.conexedat"                      :null,
jxl committed
61 62 63
    "bodgrp.col.namelc"                      :null,
    "liaall.limmod.limpts.nonrevflg1"                      :null,
    "cnybop.libflg"                      :null,
jxl committed
64
    "bodgrp.blk.colins"                      :null,
jxl committed
65
    "bopmod.ownextkey"                      :null,
jxl committed
66
    "setmod.docamt"                      :null,
jxl committed
67
    "bodgrp.drr.namelc"                      :null,
jxl committed
68
    "bodgrp.col.pts.nam"                      :null,
jxl committed
69
    "bopmod.acttyp"                      :null,
jxl committed
70
    "bodgrp.blk.othins"                      :null,
jxl committed
71
    "bodgrp.dre.pts.extkey"                      :null,
huangxin committed
72
    "bopmod.dbdgrp.bas.actiondesc"                      :null,
jxl committed
73
    "mtabut.clsflg"                      :null,
jxl committed
74
    "cnybop.vouflg"                      :null,
jxl committed
75 76 77 78 79 80 81 82 83
}

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