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

/**
* Betsnd Check规则
*/
let checkObj = {
    "liaall.misamt"                      :null,
    "rmbclm.acwacw.pts.extkey"                      :null,
    "bedgrp.oth.namelc"                      :null,
    "cnybop.cnylib.doccurdate"                      :null,
    "bedgrp.prb.pts.nam"                      :null,
    "bedgrp.doc.namelc"                      :null,
    "cnybop.outflg"                      :null,
    "cnybop.cnylib.sbankorgcode"                      :null,
    "bedgrp.blk.comcon"                      :null,
    "liaall.limmod.limpts.oth.pts.nam"                      :null,
    "setmod.dspflg"                      :null,
    "cnybop.cnylib.stermtype"                      :null,
    "bedgrp.doc.pts.extkey"                      :null,
    "bedgrp.prb.adrelc"                      :null,
    "cnybop.cnylib.currencycode"                      :null,
    "liaall.limmod.limpts.wrk.pts.nam"                      :null,
    "cnybop.cnyflg"                      :null,
    "rmbclm.bebbeb.adrelc"                      :null,
    "cnybop.cnylib.dcreditenddate"                      :null,
    "rmbclm.acwacw.namelc"                      :null,
    "bedgrp.prb.pts.extkey"                      :null,
    "bedgrp.oth.pts.adrblk"                      :null,
    "bedgrp.rec.rcvdat"                      :null,
    "rmbclm.rmbrmb.pts.adrblk"                      :null,
    "cnybop.cnylib.famt"                      :null,
    "cnybop.saddwordlib"                      :null,
    "cnybop.cnylib.stransattr"                      :null,
    "bedgrp.rec.disdat"                      :null,
    "cnybop.sforeignorgname"                      :null,
    "rmbclm.rmbrmb.namelc"                      :null,
    "rmbclm.bebbeb.pts.extkey"                      :null,
    "liaall.limmod.limpts.oth.pts.extkey"                      :null,
    "rmbclm.rmbrmb.pts.extkey"                      :null,
    "liaall.limmod.ownref"                      :null,
    "bedgrp.apl.pts.nam"                      :null,
    "liaall.limmod.ecifno"                      :null,
    "bedgrp.oth.adrelc"                      :null,
    "bedgrp.blk.benref"                      :null,
    "bedgrp.prb.namelc"                      :null,
    "bedgrp.doc.pts.adrblk"                      :null,
    "cnybop.traflg"                      :null,
    "cnybop.sbankname"                      :null,
    "rmbclm.acwacw.pts.adrblk"                      :null,
    "bedgrp.blk.setinsbe"                      :null,
    "bedsnd.addphr"                      :null,
    "bedgrp.blk.docdis"                      :null,
    "cnybop.cnylib.stranstype"                      :null,
    "cnybop.cnylib.sbanktrano"                      :null,
    "bedgrp.doc.adrelc"                      :null,
    "bedsnd.usadet"                      :null,
    "cnybop.cnylib.sforbankswiftbic"                      :null,
    "bedgrp.rec.predat"                      :null,
    "cnybop.cnylib.denddate"                      :null,
    "liaall.limmod.limpts.wrk.pts.extkey"                      :null,
    "bedgrp.blk.intdis"                      :null,
    "bedgrp.rec.docrol"                      :null,
    "cnybop.sorgname"                      :null,
    "mtabut.coninf.conexedat"                      :null,
    "liaall.limmod.limpts.nonrevflg1"                      :null,
    "rmbclm.bebbeb.namelc"                      :null,
    "bedgrp.prb.pts.adrblk"                      :null,
    "cnybop.libflg"                      :null,
    "cnybop.cnylib.sorgcode"                      :null,
    "bedgrp.oth.pts.extkey"                      :null,
    "cnybop.fexchangeamt"                      :null,
    "setmod.docamt"                      :null,
    "rmbclm.rmbrmb.adrelc"                      :null,
    "rmbclm.bebbeb.pts.adrblk"                      :null,
    "betp.furide"                      :null,
    "rmbclm.acwacw.adrelc"                      :null,
    "cnybop.cnylib.sforeigncountrycode"                      :null,
    "bedgrp.iss.pts.nam"                      :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