Check.js 1.76 KB
Newer Older
wangna 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"

/**
* Dbfadd Check规则
*/
let checkObj = {
    "recgrp.bas.othamt"                      :null,
    "recgrp.bas.outchargeamt"                      :null,
    "recgrp.bas.actiontype"                      :null,
    "recgrp.bas.lcbgno"                      :null,
    "recgrp.bas.custnm"                      :null,
    "recgrp.bas.rptno"                      :null,
    "recgrp.bas.othacc"                      :null,
    "recgrp.bas.oppuser"                      :null,
    "recgrp.bas.txccy"                      :null,
    "ctlmod.wrkdbl.trdtyp"                      :null,
    "recgrp.bas.actuamt"                      :null,
    "recgrp.bas.exrate"                      :null,
    "bopbut.acttyp"                      :null,
    "recgrp.bas.lcyacc"                      :null,
    "recgrp.bas.idcode"                      :null,
    "recgrp.bas.tenor"                      :null,
    "recgrp.bas.fcyacc"                      :null,
    "recgrp.bas.custcod"                      :null,
    "recgrp.bas.fcyamt"                      :null,
    "recgrp.bas.actuccy"                      :null,
    "recgrp.bas.txamt"                      :null,
    "recgrp.bas.buscode"                      :null,
    "recgrp.bas.custype"                      :null,
    "recgrp.bas.outchargeccy"                      :null,
    "bopbut.paydat"                      :null,
    "recgrp.bas.actiondesc"                      :null,
    "recgrp.bas.lcyamt"                      :null,
    "recgrp.bas.issdate"                      :null,
    "recgrp.bas.methods"                      :null,
}

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