index.js 6.66 KB
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';

export default class Netcrq {
  constructor() {
    this.data = {
      nitapll1blk: "",
      nitbenl1blk: "",
      nctp: {
        //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: {
          ownref: "",			//  保函编号Guarantee		.nidgrp.rec.ownref
          expdat: "",			//  保函校期Valid until		.nidgrp.rec.expdat
          gartyp: "",			//  保函种类Type of Undertaking		.nidgrp.rec.gartyp
          liadat: "",			//  Liability until		.nidgrp.rec.liadat
          stacty: "",
          branchinr: "",
          nam: "",
          expflg: "",
          inr: "",
          etyextkey: "",
          giduil: "", // language
          opnsta: '', // 开立状态
          amesta: '', // 修改状态
          opndat: '',
          cansta: '', // 取消状态
          hndtyp: '',
        },
        cbs: {
          opc1: {
            cur: "",
            amt: "",
          },
          opn1: {
            cur: "",			//  Currency		.nidgrp.cbs.opn1.cur
            amt: "",			//  Balance		.nidgrp.cbs.opn1.amt
          },
          opn2: {
            cur: "",			//  Currency		.nidgrp.cbs.opn1.cur
            amt: "",			//  Balance		.nidgrp.cbs.opn1.amt
          },
          max: {
            cur: "",			//  Amount Claimed		.ncdgrp.cbs.max.cur
            amt: "",			//  Balance		.ncdgrp.cbs.max.amt
          },
          max2: {
            amt: "",			//  附加金额		.ncdgrp.cbs.max2.amt
            cur: "",
          },
        },
        apl: {
          pts: new Pts().data,
        },
        ben: {
          pts: new Pts().data,
        },
        adv: {
          pts: new Pts().data,
        },
        apc: {
          pts: new Pts().data,
        },
        ctc: {
          pts: new Pts().data,
        },
        ctr: {
          pts: new Pts().data,
        },
        iss: {
          pts: new Pts().data,
        },
        ada: {
          pts: new Pts().data,
        },
        bec: {
          pts: new Pts().data,
        },
        atb: {
          pts: new Pts().data,
        },
        at2: {
          pts: new Pts().data,
        },

        acb: {
          pts: new Pts().data,
        },
        apr: {
          pts: new Pts().data,
        },
        avb: {
          pts: new Pts().data,
        },
        avc: {
          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
          expludat: "",//修改后担保到期日
        },
        cbs: {
          max: {
            cur: "",			//  Amount Claimed		.ncdgrp.cbs.max.cur
            amt: "",			//  Balance		.ncdgrp.cbs.max.amt
          },
          opn1: {
            cur: "",			//  Open Amount		.ncdgrp.cbs.opn1.cur
            amt: "",			//  Balance		.ncdgrp.cbs.opn1.amt
          },
          opn2: {
            cur: "",			//  附加金额		.ncdgrp.cbs.opn2.cur
            amt: "",
          },
          max2: {
            amt: "",			//  附加金额		.ncdgrp.cbs.max2.amt
            cur: "",
          },
        },
        apl: {
          pts: new Pts().data,
        },
        ben: {
          pts: new Pts().data,
        },
        bec: {
          pts: new Pts().data,
        },
        prb: {
          pts: new Pts().data,
        },
        oth: {
          pts: new Pts().data,
        },
        blk: {
          addamtinf: "", //  Add. Amt. Information		.gcdgrp.blk.addamtinf
          presentdet: "", //  Present. Compl. Det.		.gcdgrp.blk.presentdet
        },
        tmpint: {
          pts: new Pts().data,
        },
        awi: {
          pts: new Pts().data,
        },
        int: {
          pts: new Pts().data,
        },
        iss: {
          pts: new Pts().data,
        },
        rmr: {
          pts: new Pts().data,
        },
      },
      nxtflg: "",			//  Further Processing		.nxtflg
      clmtxt: "",			//  Text of Claim		.clmtxt
      extpay: "",			//  Extend or Pay		.extpay
      clmtxts20: "",			// 需求声明文本 Demand Statem. Text 		.clmtxts20
      pageId: "",		// ctx的key
      transName: "",
      userId: "",
      setmod: new Pub().data.Setmod,
      trnmod: new Pub().data.Trnmod,
      liaall: new Pub().data.Liaall,
      liaccv: new Pub().data.Liaccv,
      docpan: new Pub().data.Docpan,
      doctre: new Pub().data.Doctre,
      trndia: new Pub().data.Trndia,
    }
  }
}