import moment from 'moment';
export default {
  data() {
    return {
      rules: {
        "lmdgrp.rec.ownref": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.recget.sdamod.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "lmtp.recget.sdamod.dadsnd": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmdgrp.rec.nam": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 40, message: this.$t('factoring.长度不能超过')+40 }
        ],
        "lmdgrp.rec.preadvdt": [
          { type: "date", required: false, message: this.$t('factoring.输入正确的日期') }
        ],
        "lmtp.usr.extkey": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 8, message: this.$t('factoring.长度不能超过')+8 }
        ],
        "lmtp.usrget.sdamod.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "lmdgrp.cbs.nom1.amt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],


        "lmdgrp.cbs.max.amt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],
        "lmdgrp.rec.connam": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],


        "lmdgrp.rec.amt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],
        "lmdgrp.rec.dismaxrat": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 6, message: this.$t('factoring.长度不能超过')+6 }
        ],
        "lmdgrp.rec.paydat": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],
        "lmdgrp.rec.grcdat": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],
        "lmdgrp.rec.reqnum": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.discut1": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],
        "lmdgrp.rec.disrat1": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 6, message: this.$t('factoring.长度不能超过')+6 }
        ],
        "lmdgrp.rec.buynum": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.discut2": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],
        "lmdgrp.rec.disrat2": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 6, message: this.$t('factoring.长度不能超过')+6 }
        ],
        "lmdgrp.imf.pts.ref": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmdgrp.exf.pts.ref": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.imfp.ptsget.sdamod.dadsnd": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.exfp.ptsget.sdamod.dadsnd": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmdgrp.imf.pts.extkey": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.imfp.ptsget.sdamod.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "lmdgrp.exf.pts.extkey": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.exfp.ptsget.sdamod.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "lmdgrp.imf.pts.adrblk": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.imf.dbfadrblkcn": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.exf.pts.adrblk": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.exf.dbfadrblkcn": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.slr.pts.ref": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmdgrp.buy.pts.ref": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.slrp.ptsget.sdamod.dadsnd": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.buyp.ptsget.sdamod.dadsnd": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmdgrp.slr.pts.extkey": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.slrp.ptsget.sdamod.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "lmdgrp.buy.pts.extkey": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.buyp.ptsget.sdamod.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "lmdgrp.slr.pts.adrblk": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.slr.dbfadrblkcn": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.buy.pts.adrblk": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.buy.dbfadrblkcn": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.eag.pts.ref": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],

        "lmtp.eagp.ptsget.sdamod.dadsnd": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmdgrp.eag.pts.extkey": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "lmtp.eagp.ptsget.sdamod.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "lmdgrp.rec.slrnum": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.eag.pts.adrblk": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.eag.dbfadrblkcn": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.cltact": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],

        "lmdgrp.rec.salamt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],

        "lmdgrp.rec.turamt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],
        "lmdgrp.rec.ageprf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 20, message: this.$t('factoring.长度不能超过')+20 }
        ],

        "lmdgrp.rec.crtamt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],
        "lmdgrp.blk.recinf": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.blk.slrmsg": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.blk.spcinf": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.slrcut": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 5, message: this.$t('factoring.长度不能超过')+5 }
        ],

        "lmdgrp.rec.invcut": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 5, message: this.$t('factoring.长度不能超过')+5 }
        ],
        "lmdgrp.rec.crecut": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 5, message: this.$t('factoring.长度不能超过')+5 }
        ],
        "lmdgrp.blk.slrsta": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.selregnum": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.selrespon": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.actnbr": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],

        "lmdgrp.rec.buyregnum": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.bnknam": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.buyrespon": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.rec.brhnam": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.blk.buymsg": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "lmdgrp.blk.norter": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 70, message: this.$t('factoring.长度不能超过')+70 }
        ],
        "lmdgrp.rec.othifc": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 70, message: this.$t('factoring.长度不能超过')+70 }
        ],
        "lmdgrp.blk.lcrgod": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 70, message: this.$t('factoring.长度不能超过')+70 }
        ],

        "mtabut.coninf.oitinf.oit.inftxt": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 60, message: this.$t('factoring.长度不能超过')+60 }
        ],


        "mtabut.coninf.oitset.oit.inftxt": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 60, message: this.$t('factoring.长度不能超过')+60 }
        ],

        "mtabut.coninf.conexedat": [
          { type: "date", required: false, message: this.$t('factoring.输入正确的日期') }
        ],
        "mtabut.coninf.usr.extkey": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 8, message: this.$t('factoring.长度不能超过')+8 }
        ],
        "mtabut.coninf.contag72his": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "mtabut.coninf.contag79his": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 50, message: this.$t('factoring.长度不能超过')+50 }
        ],
        "mtabut.coninf.contag72": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "mtabut.coninf.contag79": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 50, message: this.$t('factoring.长度不能超过')+50 }
        ],
        "trnmod.trndoc.filrecv": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],
        "trnmod.trndoc.doctrestm": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 1, message: this.$t('factoring.长度不能超过')+1 }
        ],








        "trnmod.trndoc.condocstm": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 1, message: this.$t('factoring.长度不能超过')+1 }
        ],

        "trnmod.trndoc.rcvatt.seainf": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 3, message: this.$t('factoring.长度不能超过')+3 }
        ],

        "trnmod.trndoc.dtemod.dtetagm06": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 65, message: this.$t('factoring.长度不能超过')+65 }
        ],

        "trnmod.trndoc.dtemod.dtetagm53nam": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "trnmod.trndoc.dtemod.dtetagm53num": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 35, message: this.$t('factoring.长度不能超过')+35 }
        ],
        "trnmod.trndoc.dtemod.dtetagm07": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 65, message: this.$t('factoring.长度不能超过')+65 }
        ],

        "trnmod.trndoc.dtemod.dtetagm08": [
          { type: "string", required: true, message: this.$t('factoring.必输项') },
          { max: 65, message: this.$t('factoring.长度不能超过')+65 }
        ],

        "setmod.ref": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],


        "setmod.docamt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],





        "trnmod.cmimod.cmigrp.cmi.prjnam": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 100, message: this.$t('factoring.长度不能超过')+100 }
        ],
        "trnmod.cmimod.cmigrp.cmi.cntnum": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 30, message: this.$t('factoring.长度不能超过')+30 }
        ],
        "trnmod.cmimod.cmigrp.cmi.depnub": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 30, message: this.$t('factoring.长度不能超过')+30 }
        ],
        "trnmod.cmimod.cmigrp.cmi.cmdpsn1": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 30, message: this.$t('factoring.长度不能超过')+30 }
        ],
        "trnmod.cmimod.cmigrp.cmi.cmdpsn": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 30, message: this.$t('factoring.长度不能超过')+30 }
        ],





        "trnmod.cmimod.cmigrp.cmi.inonum": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 30, message: this.$t('factoring.长度不能超过')+30 }
        ],




        "trnmod.cmimod.cmigrp.cmi.usdamt": [
          { type: "string", required: false, message: this.$t('factoring.必输项') },
          { max: 16, message: this.$t('factoring.长度不能超过')+16 }
        ],








        "liaall.liaccv.newamt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],
        "liaall.liaccv.newresamt": [
          { type: "number", required: false, message: this.$t('factoring.必输项') },
          { max: 18, message: this.$t('factoring.整数位不能超过14位') },
          { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: this.$t('factoring.小数位不能超过3位') }
        ],
      }
    }
  }
};