Check.js 2.75 KB
Newer Older
Wuyuqiu committed
1 2 3 4 5 6
import Utils from "~/utils"

/**
* Dbcdel Check规则
*/
let checkObj = {
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
    "recgrp.bas.othamt"                      :null,
    "recgrp.bas.outchargeamt"                      :null,
    "recgrp.bas.lcbgno"                      :null,
    "recgrp.dcl.paytype"                      :null,
    "recgrp.bas.custnm"                      :null,
    "recgrp.dcl.tx2rem"                      :null,
    "recgrp.vrf.actiontype"                      :null,
    "recgrp.dcl.txrem"                      :null,
    "recgrp.bas.txccy"                      :null,
    "ctlmod.wrkdbl.trdtyp"                      :null,
    "recgrp.bas.actuamt"                      :null,
    "recgrp.vrf.contrno"                      :null,
    "recgrp.bas.custcod"                      :null,
    "recgrp.bas.fcyamt"                      :null,
    "recgrp.dcl.txcode2"                      :null,
    "recgrp.bas.actuccy"                      :null,
    "recgrp.bas.txamt"                      :null,
    "recgrp.bas.outchargeccy"                      :null,
    "recgrp.vrf.inptelc"                      :null,
    "recgrp.dcl.country"                      :null,
    "recgrp.bas.actiondesc"                      :null,
    "recgrp.bas.lcyamt"                      :null,
    "recgrp.bas.issdate"                      :null,
    "recgrp.bas.actiontype"                      :null,
    "recgrp.bas.rptno"                      :null,
    "recgrp.dcl.tc1amt"                      :null,
    "recgrp.dcl.rptdate"                      :null,
    "recgrp.dcl.crtuser"                      :null,
    "ctlmod.dbl.reldat"                      :null,
    "recgrp.dcl.inptelc"                      :null,
    "recgrp.bas.othacc"                      :null,
    "recgrp.bas.oppuser"                      :null,
    "recgrp.bas.exrate"                      :null,
Wuyuqiu committed
40
    "bopbut.acttyp"                      :null,
41 42 43 44 45 46 47 48 49 50 51 52 53 54
    "recgrp.bas.lcyacc"                      :null,
    "recgrp.bas.idcode"                      :null,
    "recgrp.vrf.crtuser"                      :null,
    "recgrp.bas.fcyacc"                      :null,
    "recgrp.vrf.invoino"                      :null,
    "recgrp.dcl.isref"                      :null,
    "recgrp.dcl.txcode"                      :null,
    "recgrp.bas.buscode"                      :null,
    "recgrp.vrf.impdate"                      :null,
    "recgrp.dcl.tc2amt"                      :null,
    "recgrp.bas.custype"                      :null,
    "recgrp.vrf.rptdate"                      :null,
    "recgrp.dcl.actiontype"                      :null,
    "recgrp.bas.methods"                      :null,
Wuyuqiu committed
55 56 57 58 59 60 61 62 63
}

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