Check.js 792 Bytes
Newer Older
fukai 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
import Utils from "~/utils"

/**
* Fttfre Check规则
*/
let checkObj = {
    "fremsg.fulmt"                      :null,
    "fremsg.othmsg.pts.adrblk"                      :null,
    "fremsg.relmt"                      :null,
    "fremsg.othcc.pts.extkey"                      :null,
    "fremsg.strinf"                      :null,
    "fremsg.msgrol"                      :null,
    "fremsg.reldat"                      :null,
    "fremsg.othcc.pts.adrblk"                      :null,
    "fremsg.othmsg.pts.extkey"                      :null,
    "fremsg.ccrol"                      :null,
}

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