index.js 8.13 KB
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Nitpcr {
  constructor() {
    this.data = {
      nitapll1blk: "",
      nitbenl1blk: "",
      nitothl1blk: "",
      //save测试需要添加交易名称,userId
      transName: "",
      userId: "",
      nctp: {
        ncthdr: "",
        expfldlab: "",			//  Label for Field Validity		.nctp.expfldlab
        explab: "",			//  Label unlimited Validity		.nctp.explab
        aplmullab: "",			//  Label, that is set, if there are multiple applicants		.nctp.aplmullab
        liafldlab: "",			//  Label for Field Liability		.nctp.liafldlab
        lialab: "",			//  Label unlimited Liability		.nctp.lialab
        nidget: {
          sdamod: {
            seainf: "",			//  		.nctp.nidget.sdamod.seainf
            dadsnd: "",			//  Drag  Drop Sender		.nctp.nidget.sdamod.dadsnd
          },
        },
        recget: {
          sdamod: {
            seainf: "",			//  		.nctp.recget.sdamod.seainf
            dadsnd: "",			//  Drag  Drop Sender		.nctp.recget.sdamod.dadsnd
          },
        },
        adaflg: "",			//  Add. Amount		.nctp.adaflg
        prbp: {
          ptsget: {
            sdamod: {
              seainf: "",			//  		.nctp.prbp.ptsget.sdamod.seainf
              dadsnd: "",			//  Drag  Drop Sender		.nctp.prbp.ptsget.sdamod.dadsnd
            },
          },
        },
        othp: {
          ptsget: {
            sdamod: {
              seainf: "",			//  		.nctp.othp.ptsget.sdamod.seainf
              dadsnd: "",			//  Drag  Drop Sender		.nctp.othp.ptsget.sdamod.dadsnd
            },
          },
        },
        intp: {
          ptsget: {
            sdamod: {
              dadsnd: "",			//  Drag  Drop Sender		.nctp.intp.ptsget.sdamod.dadsnd
              seainf: "",			//  		.nctp.intp.ptsget.sdamod.seainf
            },
          },
        },
        awip: {
          ptsget: {
            sdamod: {
              dadsnd: "",			//  Drag  Drop Sender		.nctp.awip.ptsget.sdamod.dadsnd
              seainf: "",			//  		.nctp.awip.ptsget.sdamod.seainf
            },
          },
        },
      },
      nidgrp: {
        rec: {
          inr: "",
          branchinr: '',
          ver: "",
          ownref: "",			//  Guarantee		.nidgrp.rec.ownref
          expdat: "",			//  Valid until		.nidgrp.rec.expdat
          gartyp: "",			//  Type of Undertaking		.nidgrp.rec.gartyp
          liadat: "",			//  Liability until		.nidgrp.rec.liadat
          expflg: "",
          legfrm: "",
          demand: "",
          purpos: "",
          pndclm: "",
          etyextkey: "",
          giduil: "", // language
          hndtyp: "",
          segtyp: "",
          opnsta: '', // 开立状态
          amesta: '', // 修改状态
          cansta: '', // 取消状态
					opndat: '',
					projnam: '',
        },
        cbs: {
          opn1: {
            cur: "",			//  Currency		.nidgrp.cbs.opn1.cur
            amt: "",			//  Balance		.nidgrp.cbs.opn1.amt
          },
          max: {
            cur: "",
            amt: "",
          },
          max2: {
            cur: "",
            amt: "",
          },
          opn2: {
            cur: "",
            amt: "",
          },
          opc1: {
            cur: "",
            amt: "",
          },
        },
        apl: {
          pts: new Pts().data,
          namelc: "",			//  名称
          adrelc: "",			//  地址
          dbfadrblkcn: "",
          rolsetflg: "",
        },
        adv: {
          pts: new Pts().data,
          namelc: "",			//  名称
          adrelc: "",			//  地址
          dbfadrblkcn: "",
        },
        atb: {
          pts: new Pts().data,
          namelc: "",			//  名称
          adrelc: "",			//  地址
          dbfadrblkcn: "",
        },
        at2: {
          pts: new Pts().data,
          namelc: "",			//  名称
          adrelc: "",			//  地址
          dbfadrblkcn: "",
        },
        ben: {
          pts: new Pts().data,
          namelc: "",			//  名称
          adrelc: "",			//  地址
          dbfadrblkcn: "",
          rolsetflg: "",
        },
        iss: {
          pts: new Pts().data,
          namelc: "",			//  名称		.ncdgrp.prb.namelc
          adrelc: "",			//  地址		.ncdgrp.prb.adrelc
          dbfadrblkcn: "",			//  Chinese address		.ncdgrp.prb.dbfadrblkcn
          rolsetflg: "",
        },
        rmr: {
          pts: new Pts().data,
        },
        ada: {
          pts: new Pts().data,
        },
      },
      ncdgrp: {
        rec: {
          inr: "",
          pntinr: "",
          ownref: "",			//  Claim Number		.ncdgrp.rec.ownref
          nam: "",			//  Externally Displayed Name to Identify the Contract		.ncdgrp.rec.nam
          clmdat: "",			//  Date of Claim		.ncdgrp.rec.clmdat
          newexpdat: "",			//  Validity Requested		.ncdgrp.rec.newexpdat
          docprbrol: "",			//  Presented by		.ncdgrp.rec.docprbrol
          payrol: "",			//  Payer		.ncdgrp.rec.payrol
          demstat: "",			//  Demand Statement		.ncdgrp.rec.demstat
          branchinr: "",//DCG表中的branchinr字段值,进入交易初始化时应有值。决定save后在保函赔付查询中是否能查询到记录
          expludat: "",//修改后担保到期日
        },
        cbs: {
          max: {
            cur: "",			//  Amount Claimed		.ncdgrp.cbs.max.cur
            amt: "0.00",			//  Balance		.ncdgrp.cbs.max.amt
          },
          opn1: {
            cur: "",			//  Open Amount		.ncdgrp.cbs.opn1.cur
            amt: "0.00",			//  Balance		.ncdgrp.cbs.opn1.amt
          },
          opn2: {
            cur: "",			//  附加金额		.ncdgrp.cbs.opn2.cur
            amt: "0.00",
          },
          max2: {
            cur: "",
            amt: "0.00",			//  附加金额		.ncdgrp.cbs.max2.amt
          },
        },
        apl: {
          pts: new Pts().data,
          namelc: "",			//  名称
          adrelc: "",			//  地址
          dbfadrblkcn: "",
          rolsetflg: "",
        },
        ben: {
          pts: new Pts().data,
          namelc: "",			//  名称
          adrelc: "",			//  地址
          dbfadrblkcn: "",
          rolsetflg: "",
        },
        prb: {
          pts: new Pts().data,
          namelc: "",			//  名称		.ncdgrp.prb.namelc
          adrelc: "",			//  地址		.ncdgrp.prb.adrelc
          dbfadrblkcn: "",			//  Chinese address		.ncdgrp.prb.dbfadrblkcn
          rolsetflg: "",
        },
        oth: {
          pts: new Pts().data,
          namelc: "",			//  名称		.ncdgrp.oth.namelc
          adrelc: "",			//  地址		.ncdgrp.oth.adrelc
          dbfadrblkcn: "",			//  Chinese address		.ncdgrp.oth.dbfadrblkcn
          rolsetflg: "",
        },
        blk: {
          addamtinf: "",			//  Add. Amt. Information		.ncdgrp.blk.addamtinf
          presentdet: "",			//  Present. Compl. Det.		.ncdgrp.blk.presentdet
        },
        tmpint: {
          pts: new Pts().data,
        },
        awi: {
          pts: new Pts().data,
          namelc: "",			//  名称		.ncdgrp.prb.namelc
          adrelc: "",			//  地址		.ncdgrp.prb.adrelc
          dbfadrblkcn: "",			//  Chinese address		.ncdgrp.prb.dbfadrblkcn
        },
        int: {
          pts: new Pts().data,
          namelc: "",			//  名称		.ncdgrp.prb.namelc
          adrelc: "",			//  地址		.ncdgrp.prb.adrelc
          dbfadrblkcn: "",			//  Chinese address		.ncdgrp.prb.dbfadrblkcn
        },
        iss: {
          pts: new Pts().data,
        },
        rmr: {
          pts: new Pts().data,
        },
      },
      nxtflg: "",			//  Further Processing		.nxtflg
      clmtxt: "",			//  Text of Claim		.clmtxt
      extpay: "",			//  Extend or Pay		.extpay
      szflg: "",			//  申报类型		
      acttyp: "",			//  款项去向		
      payday: 0,			//  赔付工作日		.payday
      clmtxts20: "",			//  Demand Statem. Text 		.clmtxts20
      setmod: new Pub().data.Setmod,
      mtabut: new Pub().data.Mtabut,
      trnmod: new Pub().data.Trnmod,
      liaall: new Pub().data.Liaall,
      //limmod: new Pub().data.Limmod,
      liaccv: new Pub().data.Liaccv,
      docpan: new Pub().data.Docpan,
      doctre: new Pub().data.Doctre,
      trndia: new Pub().data.Trndia,
    }
  }
}