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

/**
* Lttopn Check规则
*/
let checkObj = {
    "liaall.misamt"                      :null,
    "ltdgrp.rec.cnfins"                      :null,
    "ltdgrp.rec.nomspc"                      :null,
    "cnybop.cnylib.doccurdate"                      :null,
    "ltdgrp.a2t.adrelc"                      :null,
    "ltdgrp.blk.lcrdoc"                      :null,
    "ltdgrp.avt.namelc"                      :null,
    "cnybop.outflg"                      :null,
    "ltdgrp.rec.stacty"                      :null,
    "ltdgrp.a2t.pts.extkey"                      :null,
    "lttp.usr.extkey"                      :null,
    "ltdgrp.rec.nomtop"                      :null,
    "ltdgrp.rec.nomton"                      :null,
    "cnybop.cnylib.sbankorgcode"                      :null,
    "ltdgrp.rec.opndat"                      :null,
    "ltdgrp.cbs.nom1.amt"                      :null,
    "ltdgrp.be2.pts.extkey"                      :null,
    "setmod.dspflg"                      :null,
    "ltdgrp.be2.namelc"                      :null,
    "cnybop.cnylib.stermtype"                      :null,
    "ltdgrp.rmt.adrelc"                      :null,
    "ltdgrp.cbs.max.amt"                      :null,
    "ltdgrp.rmt.pts.extkey"                      :null,
    "ltdgrp.blk.dftat"                      :null,
    "cnybop.cnylib.currencycode"                      :null,
    "ltdgrp.rec.expdat"                      :null,
    "cnybop.cnyflg"                      :null,
    "ltdgrp.cbs.nom1.cur"                      :null,
    "ltdgrp.blk.adlcnd"                      :null,
    "ltdgrp.be1.pts.nam"                      :null,
    "cnybop.cnylib.dcreditenddate"                      :null,
    "ltdgrp.blk.spcben"                      :null,
    "ltdgrp.rec.shpdat"                      :null,
    "ltdgrp.avt.pts.adrblk"                      :null,
    "ltdgrp.blk.shpper"                      :null,
    "ltdgrp.a2t.pts.adrblk"                      :null,
    "ltdgrp.adt.pts.extkey"                      :null,
    "ltdgrp.blk.mixdet"                      :null,
    "ltdgrp.drw.adrelc"                      :null,
    "cnybop.cnylib.famt"                      :null,
    "ltdgrp.drw.pts.extkey"                      :null,
    "cnybop.saddwordlib"                      :null,
    "cnybop.cnylib.stransattr"                      :null,
    "ltdgrp.blk.insbnk"                      :null,
    "ltdgrp.con.pts.extkey"                      :null,
    "ltdgrp.con.namelc"                      :null,
    "ltdgrp.adt.adrelc"                      :null,
    "cnybop.sforeignorgname"                      :null,
    "ltdgrp.avt.adrelc"                      :null,
    "ltdgrp.rec.expplc"                      :null,
    "ltdgrp.be2.pts.adrblk"                      :null,
    "cnybop.traflg"                      :null,
    "cnybop.sbankname"                      :null,
    "ltdgrp.rec.avbwth"                      :null,
    "ltdgrp.blk.spcrcb"                      :null,
    "ltdgrp.blk.feetxt"                      :null,
    "ltdgrp.rec.avbby"                      :null,
    "ltdgrp.blk.preper"                      :null,
    "ltdgrp.rmt.namelc"                      :null,
    "cnybop.cnylib.stranstype"                      :null,
    "ltdgrp.blk.addamtcov"                      :null,
    "ltdgrp.cbs.max2.amt"                      :null,
    "ltdgrp.rec.ownref"                      :null,
    "ltdgrp.be2.adrelc"                      :null,
    "cnybop.cnylib.sbanktrano"                      :null,
    "ltdgrp.adt.pts.adrblk"                      :null,
    "ltdgrp.rec.prepers18"                      :null,
    "ltdgrp.blk.lcrgod"                      :null,
    "cnybop.cnylib.sforbankswiftbic"                      :null,
    "cnybop.cnylib.denddate"                      :null,
    "ltdgrp.be1.pts.extkey"                      :null,
    "ltdgrp.avt.pts.extkey"                      :null,
    "cnybop.sorgname"                      :null,
    "ltdgrp.rec.apprultxt"                      :null,
    "ltdgrp.rmt.pts.adrblk"                      :null,
    "mtabut.coninf.conexedat"                      :null,
    "cnybop.libflg"                      :null,
    "ltdgrp.adt.namelc"                      :null,
    "cnybop.cnylib.sorgcode"                      :null,
    "ltdgrp.con.adrelc"                      :null,
    "ltdgrp.rec.lcrtyp"                      :null,
    "cnybop.fexchangeamt"                      :null,
    "ltdgrp.rec.tenmaxday"                      :null,
    "ltdgrp.rec.apprul"                      :null,
    "setmod.docamt"                      :null,
    "ltdgrp.blk.defdet"                      :null,
    "ltdgrp.drw.namelc"                      :null,
    "ltdgrp.drw.pts.adrblk"                      :null,
    "ltdgrp.a2t.namelc"                      :null,
    "ltdgrp.con.pts.adrblk"                      :null,
    "cnybop.cnylib.sforeigncountrycode"                      :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