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

/**
* Getset Check规则
*/
let checkObj = {
liyixun committed
7 8
    "bopmod.dbagrp.bas.methods"                      :null,
    "bopmod.dbagrp.bas.lcyacc"                      :null,
9
    "cnybop.outflg"                      :null,
liyixun committed
10
    "bopmod.dbagrp.bas.outchargeamt"                      :null,
11
    "bopmod.dbdgrp.bas.fcyacc"                      :null,
liyixun committed
12
    "bopmod.dbagrp.bas.fcyamt"                      :null,
13 14 15
    "bopmod.dbdgrp.bas.buscode"                      :null,
    "bopmod.dbdgrp.bas.inchargeamt"                      :null,
    "bopmod.dbdgrp.bas.idcode"                      :null,
16
    "gcdgrp.oth.adrelc"                      :null,
17
    "bopmod.dbdgrp.bas.custnm"                      :null,
liyixun committed
18
    "bopmod.dbagrp.bas.exrate"                      :null,
19
    "bopmod.dbdgrp.bas.txamt"                      :null,
liyixun committed
20
    "bopmod.dbagrp.bas.txccy"                      :null,
21 22
    "gcdgrp.prb.namelc"                      :null,
    "gcdgrp.prb.pts.adrblk"                      :null,
liyixun committed
23
    "bopmod.dbagrp.bas.custcod"                      :null,
24
    "cnybop.cnyflg"                      :null,
25
    "bopmod.dbdgrp.bas.fcyamt"                      :null,
liyixun committed
26
    "bopmod.dbagrp.bas.txamt"                      :null,
27 28
    "bopmod.dbdgrp.bas.methods"                      :null,
    "bopmod.dbdgrp.bas.exrate"                      :null,
liyixun committed
29 30 31
    "bopmod.dbagrp.bas.buscode"                      :null,
    "lendoc.account"                      :null,
    "bopmod.dbagrp.bas.othamt"                      :null,
32
    "gcdgrp.oth.pts.extkey"                      :null,
liyixun committed
33
    "bopmod.dbagrp.bas.actiondesc"                      :null,
34 35 36
    "bopmod.dbdgrp.bas.oppuser"                      :null,
    "bopmod.dbdgrp.bas.othamt"                      :null,
    "bopmod.dbdgrp.bas.custype"                      :null,
liyixun committed
37
    "bopmod.dbagrp.bas.outchargeccy"                      :null,
38
    "gcdgrp.prb.adrelc"                      :null,
liyixun committed
39
    "bopmod.dbagrp.bas.actiontype"                      :null,
40
    "bopmod.dbdgrp.bas.rptno"                      :null,
41 42
    "gcdgrp.oth.namelc"                      :null,
    "bopmod.szflg"                      :null,
43 44
    "bopmod.dbdgrp.bas.actiontype"                      :null,
    "bopmod.dbdgrp.bas.lcyamt"                      :null,
45
    "cnybop.traflg"                      :null,
liyixun committed
46 47
    "bopmod.dbagrp.bas.inchargeccy"                      :null,
    "bopmod.dbagrp.bas.custnm"                      :null,
48
    "gcdgrp.prb.pts.extkey"                      :null,
49
    "bopmod.dbdgrp.bas.othacc"                      :null,
liyixun committed
50
    "bopmod.dbagrp.bas.fcyacc"                      :null,
51
    "bopmod.dbdgrp.bas.inchargeccy"                      :null,
liyixun committed
52
    "bopmod.dbagrp.bas.custype"                      :null,
53 54
    "bopmod.dbdgrp.bas.txccy"                      :null,
    "bopmod.dbdgrp.bas.custcod"                      :null,
liyixun committed
55 56
    "bopmod.dbagrp.bas.rptno"                      :null,
    "bopmod.dbagrp.bas.oppuser"                      :null,
57 58
    "gcdgrp.apl.pts.nam"                      :null,
    "bopmod.basflg"                      :null,
59
    "bopmod.dbdgrp.bas.lcyacc"                      :null,
liyixun committed
60 61 62 63
    "bopmod.dbagrp.bas.idcode"                      :null,
    "bopmod.dbagrp.bas.othacc"                      :null,
    "bopmod.dbagrp.bas.lcyamt"                      :null,
    "bopmod.dbagrp.bas.inchargeamt"                      :null,
64 65 66 67
    "cnybop.libflg"                      :null,
    "bopmod.ownextkey"                      :null,
    "bopmod.acttyp"                      :null,
    "gcdgrp.oth.pts.adrblk"                      :null,
68
    "bopmod.dbdgrp.bas.actiondesc"                      :null,
69 70 71 72 73 74 75 76 77 78 79
    "mtabut.clsflg"                      :null,
    "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