Check.js 1.85 KB
Newer Older
m  
1198835488@qq.com committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
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