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

/**
* Bttsnd Check规则
*/
let checkObj = {
    "liaall.misamt"                      :null,
    "btdgrp.blk.comcon"                      :null,
    "btdgrp.prb.pts.nam"                      :null,
    "btdgrp.prb.adrelc"                      :null,
    "btdgrp.oth.pts.adrblk"                      :null,
    "setmod.dspflg"                      :null,
    "btdgrp.prb.pts.extkey"                      :null,
    "liaall.liaccv.totcovamt"                      :null,
    "btdgrp.blk.intdis"                      :null,
    "bttp.prbp.ptsget.sdamod.dadsnd"                      :null,
    "btdgrp.oth.adrelc"                      :null,
    "btdgrp.rec.disdat"                      :null,
    "bttp.ltdget.sdamod.dadsnd"                      :null,
    "btdgrp.oth.pts.extkey"                      :null,
    "bttp.ledget.sdamod.dadsnd"                      :null,
    "btdgrp.be2.pts.nam"                      :null,
    "btdgrp.blk.benref"                      :null,
    "btdgrp.prb.pts.adrblk"                      :null,
    "btdgrp.prb.namelc"                      :null,
    "btdgrp.blk.setinsbt"                      :null,
    "btdgrp.blk.docdis"                      :null,
    "bttp.othp.ptsget.sdamod.dadsnd"                      :null,
    "bttp.furide"                      :null,
    "btdgrp.be1.pts.nam"                      :null,
    "bttp.recget.sdamod.dadsnd"                      :null,
    "setmod.docamt"                      :null,
    "liaall.liaccv.cshpct"                      :null,
    "btdgrp.oth.namelc"                      :null,
    "liaall.liaccv.relcshpct"                      :null,
}

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