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

/**
* Dbjadd Check规则
*/
let checkObj = {
    "recgrp.vrf.txcode"                      :null,
    "recgrp.bas.actiontype"                      :null,
    "recgrp.vrf.regno"                      :null,
    "recgrp.bas.custnm"                      :null,
    "recgrp.vrf.actiontype"                      :null,
    "recgrp.bas.rptno"                      :null,
    "ctlmod.dbl.reldat"                      :null,
    "recgrp.bas.oppuser"                      :null,
    "ctlmod.wrkdbl.trdtyp"                      :null,
    "recgrp.bas.fcyccy"                      :null,
    "recgrp.bas.exrate"                      :null,
    "bopbut.acttyp"                      :null,
    "recgrp.bas.lcyacc"                      :null,
    "recgrp.bas.idcode"                      :null,
    "recgrp.vrf.crtuser"                      :null,
    "recgrp.bas.fcyacc"                      :null,
    "recgrp.bas.custcod"                      :null,
    "recgrp.bas.fcyamt"                      :null,
    "recgrp.vrf.usetype"                      :null,
    "recgrp.bas.buscode"                      :null,
    "recgrp.vrf.actiondesc"                      :null,
    "recgrp.bas.oppbank"                      :null,
    "recgrp.bas.custype"                      :null,
    "recgrp.vrf.rptdate"                      :null,
    "recgrp.vrf.inptelc"                      :null,
    "recgrp.bas.actiondesc"                      :null,
    "recgrp.vrf.usedetail"                      :null,
}

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