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

/**
* Eafame Check规则
*/
let checkObj = {
    "recgrp.bas.appname"                      :null,
    "recgrp.bas.crehqcode"                      :null,
    "cfabut.ownextkey"                      :null,
    "cfabut.newdcl"                      :null,
    "eblmod.ebl.reldat"                      :null,
    "recgrp.bas.creditorname"                      :null,
    "recgrp.bas.actiontype"                      :null,
    "recgrp.bas.contractcurr"                      :null,
    "recgrp.bas.maturity"                      :null,
    "recgrp.bas.creditornamen"                      :null,
    "recgrp.bas.valuedate"                      :null,
    "recgrp.bas.creditorcode"                      :null,
    "cfabut.newvrf"                      :null,
    "recgrp.bas.debtype"                      :null,
    "recgrp.bas.opercode"                      :null,
    "recgrp.bas.appcode"                      :null,
    "recgrp.bas.creditortype"                      :null,
    "recgrp.bas.exdebtcode"                      :null,
    "recgrp.bas.debtorcode"                      :null,
    "recgrp.bas.credittype"                      :null,
    "recgrp.bas.spapfeboindex"                      :null,
    "recgrp.bas.actiondesc"                      :null,
    "recgrp.bas.relation"                      :null,
    "recgrp.bas.contractamount"                      :null,
    "recgrp.bas.billsn"                      :null,
}

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