Check.js 891 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 26 27
import Utils from "~/utils"

/**
* Dotopn Check规则
*/
let checkObj = {
    "dotgrp.rec.ownref"                      :null,
    "dotgrp.rec.rsptim"                      :null,
    "dotgrp.rec.cur"                      :null,
    "dotgrp.rec.amt"                      :null,
    "dotgrp.rec.typ"                      :null,
    "dotp.snd.pty.extkey"                      :null,
    "ptpmod.pty.extkey"                      :null,
    "dotp.rcv.pty.extkey"                      :null,
    "dotgrp.rec.valdat"                      :null,
    "dotgrp.rec.othref"                      :null,
    "dotgrp.rec.offsta"                      :null,
    "dotgrp.rec.dcflg"                      :null,
}

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