Check.js 1.4 KB
Newer Older
fanyanyan 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
import Utils from "~/utils"

/**
* Lttdck Check规则
*/
let checkObj = {
    "liaall.misamt"                      :null,
    "btdgrp.blk.comcon"                      :null,
    "btdgrp.prb.pts.adrblk"                      :null,
    "btdgrp.prb.namelc"                      :null,
    "btdgrp.blk.setinsbt"                      :null,
    "btdgrp.rec.ownref"                      :null,
    "btdgrp.blk.docdis"                      :null,
    "btdgrp.rec.matdat"                      :null,
    "btdgrp.prb.pts.nam"                      :null,
    "btdgrp.prb.adrelc"                      :null,
    "setmod.dspflg"                      :null,
    "btdgrp.rec.rcvdatbe2"                      :null,
    "btdgrp.prb.pts.extkey"                      :null,
    "btdgrp.be1.pts.nam"                      :null,
    "btdgrp.blk.intdis"                      :null,
    "btdgrp.rec.orddatbe2"                      :null,
    "bttp.futhndflg"                      :null,
    "mtabut.coninf.conexedat"                      :null,
    "btdgrp.rec.doctypcod"                      :null,
    "setmod.docamt"                      :null,
    "btdgrp.cbs.max.amt"                      :null,
    "btdgrp.be2.pts.nam"                      :null,
}

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