Check.js 4.97 KB
import Utils from "~/utils"

/**
* Getset Check规则
*/
let checkObj = {
    "bopmod.dbagrp.bas.methods"                      :null,
    "bopmod.dbagrp.bas.lcyacc"                      :null,
    "cnybop.outflg"                      :null,
    "bopmod.dbagrp.bas.outchargeamt"                      :null,
    "bopmod.dbdgrp.bas.fcyacc"                      :null,
    "bopmod.dbagrp.bas.fcyamt"                      :null,
    "cnybop.cnyinc.sbalancemode"                      :null,
    "bopmod.dbdgrp.bas.buscode"                      :null,
    "bopmod.dbdgrp.bas.inchargeamt"                      :null,
    "bopmod.dbdgrp.bas.idcode"                      :null,
    "gcdgrp.oth.adrelc"                      :null,
    "cnybop.cnyinc.spayercountrycode"                      :null,
    "bopmod.dbdgrp.bas.custnm"                      :null,
    "bopmod.dbagrp.bas.exrate"                      :null,
    "bopmod.dbdgrp.bas.txamt"                      :null,
    "bopmod.dbagrp.bas.txccy"                      :null,
    "cnybop.cnyinc.frecordamt"                      :null,
    "cnybop.cnyinc.dpayeedate"                      :null,
    "gcdgrp.prb.namelc"                      :null,
    "gcdgrp.prb.pts.adrblk"                      :null,
    "cnybop.cnyinc.sbankorgcode"                      :null,
    "bopmod.dbagrp.bas.custcod"                      :null,
    "cnybop.cnyflg"                      :null,
    "cnybop.saddword"                      :null,
    "bopmod.dbdgrp.bas.fcyamt"                      :null,
    "cnybop.cnyinc.sorilevyno"                      :null,
    "cnybop.cnyinc.sbanktrano"                      :null,
    "bopmod.dbagrp.bas.txamt"                      :null,
    "bopmod.dbdgrp.bas.methods"                      :null,
    "bopmod.dbdgrp.bas.exrate"                      :null,
    "cnybop.cnyinc.iaccountperiod"                      :null,
    "cnybop.spayeename"                      :null,
    "bopmod.dbagrp.bas.buscode"                      :null,
    "lendoc.account"                      :null,
    "bopmod.dbagrp.bas.othamt"                      :null,
    "gcdgrp.oth.pts.extkey"                      :null,
    "bopmod.dbagrp.bas.actiondesc"                      :null,
    "cnybop.cnyinc.cpayeeattr"                      :null,
    "bopmod.dbdgrp.bas.oppuser"                      :null,
    "bopmod.dbdgrp.bas.othamt"                      :null,
    "cnybop.cnyinc.spayeeorgcode"                      :null,
    "bopmod.dbdgrp.bas.custype"                      :null,
    "bopmod.dbagrp.bas.outchargeccy"                      :null,
    "gcdgrp.prb.adrelc"                      :null,
    "bopmod.dbagrp.bas.actiontype"                      :null,
    "cnybop.incscale"                      :null,
    "bopmod.dbdgrp.bas.rptno"                      :null,
    "gcdgrp.oth.namelc"                      :null,
    "cnybop.cnyinc.sswiftbic"                      :null,
    "bopmod.szflg"                      :null,
    "bopmod.dbdgrp.bas.actiontype"                      :null,
    "cnybop.cnyinc.fpayeeamt"                      :null,
    "bopmod.dbdgrp.bas.lcyamt"                      :null,
    "cnybop.traflg"                      :null,
    "cnybop.sbankname"                      :null,
    "bopmod.dbagrp.bas.inchargeccy"                      :null,
    "bopmod.dbagrp.bas.custnm"                      :null,
    "gcdgrp.prb.pts.extkey"                      :null,
    "bopmod.dbdgrp.bas.othacc"                      :null,
    "bopmod.dbagrp.bas.fcyacc"                      :null,
    "bopmod.dbdgrp.bas.inchargeccy"                      :null,
    "bopmod.dbagrp.bas.custype"                      :null,
    "cnybop.cnyinc.ftotalamt"                      :null,
    "cnybop.cnyinc.spayeecny"                      :null,
    "bopmod.dbdgrp.bas.txccy"                      :null,
    "bopmod.dbdgrp.bas.custcod"                      :null,
    "bopmod.dbagrp.bas.rptno"                      :null,
    "bopmod.dbagrp.bas.oppuser"                      :null,
    "gcdgrp.apl.pts.nam"                      :null,
    "bopmod.basflg"                      :null,
    "bopmod.dbdgrp.bas.lcyacc"                      :null,
    "bopmod.dbagrp.bas.idcode"                      :null,
    "bopmod.dbagrp.bas.othacc"                      :null,
    "cnybop.spayername"                      :null,
    "bopmod.dbagrp.bas.lcyamt"                      :null,
    "bopmod.dbagrp.bas.inchargeamt"                      :null,
    "cnybop.libflg"                      :null,
    "bopmod.ownextkey"                      :null,
    "bopmod.acttyp"                      :null,
    "gcdgrp.oth.pts.adrblk"                      :null,
    "cnybop.cnyinc.cpayeraccttyp"                      :null,
    "bopmod.dbdgrp.bas.actiondesc"                      :null,
    "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