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

export default class Netopn {
  constructor() {
    this.data = {
			ptsptaList: [],
			textTempData: {},
      gitbenl1blk: "",
      gitapll1blk: "",
      gitapll2blk: "",
      gitbenl2blk: "",
      gitapll3blk: "",
      gitbenl4blk: "",
      gitissl1blk: "",
      gitrmbl1blk: "",
      zmqflg:"",
      nitp: {
        recget: {
          sdamod: {
            seainf: "",			//  Reference		.nitp.recget.sdamod.seainf
            dadsnd: "",			//  Drag  Drop Sender		.nitp.recget.sdamod.dadsnd
          },
        },
        aamp: {
          aammod: {
            addamtflg: "",			//  Add. Amount		.nitp.aamp.aammod.addamtflg
          },
        },
        exptxtmodflg: "",			//  Modify Expiry Condition/Event		.nitp.exptxtmodflg
        liatxtcmodflg: "",			//  Modify Liability Condition/Event - Counter Undertaking		.nitp.liatxtcmodflg
        usr: {
          extkey: "",			//  Responsible User		.nitp.usr.extkey
        },
        usrget: {
          sdamod: {
            seainf: "",			//  		.nitp.usrget.sdamod.seainf
          },
        },
        inccormsgflg: "",			//  Incoming Corporate Message Flag		.nitp.inccormsgflg
        drpreflglab1: "",			//  Label for Type of Request		.nitp.drpreflglab1
        inc760: "",			//  incoming lose		.nitp.inc760
        morapllab: "",			//  Label set if nore than one applicant		.nitp.morapllab
        drpreflglab: "",			//  Label for Type of Request		.nitp.drpreflglab
        bantyp: "",			//  bank typ		.nitp.bantyp
        letterlabel: "",			//  LETTERLABEL		.nitp.letterlabel
        oppbnkl: "",			//  对手行代码		.nitp.oppbnkl
        drpreflg: "",			//  Type of Request		.nitp.drpreflg
        lettername: "",			//  面函标题		.nitp.lettername
        dzbhflg: "",			//  电子保函标志		.nitp.dzbhflg
        ctrp: {
          ptsget: {
            sdamod: {
              seainf: "",			//  		.nitp.ctrp.ptsget.sdamod.seainf
              dadsnd: "",			//  Drag  Drop Sender		.nitp.ctrp.ptsget.sdamod.dadsnd
            },
          },
        },
        aplsupflg: "",			//  Suppress Applicant in 760 Seqence B Flag		.nitp.aplsupflg
        atbp: {
          ptsget: {
            sdamod: {
              seainf: "",			//  		.nitp.atbp.ptsget.sdamod.seainf
              dadsnd: "",			//  Drag  Drop Sender		.nitp.atbp.ptsget.sdamod.dadsnd
            },
          },
        },
        labapl: "",			//  Label of apl		.nitp.labapl
        labctr: "",			//  Label of CTR		.nitp.labctr
        labaplref: "",			//  Label of APL's ref		.nitp.labaplref
        labctrref: "",			//  Label of CTR's ref		.nitp.labctrref
        labissbak: "",			//  Label of issue bank		.nitp.labissbak
        labissref: "",			//  Label of issue bank's ref		.nitp.labissref
        // conp: {
        //   ptsget: {
        //     sdamod: {
        //       seainf: "",			//  		.nitp.conp.ptsget.sdamod.seainf
        //       dadsnd: "",			//  Drag  Drop Sender		.nitp.conp.ptsget.sdamod.dadsnd
        //     },
        //   },
        // },
        laborcdat: "",			//  Label for Contract Date		.nitp.laborcdat
        labaddinf: "",			//  Label for Additional Info		.nitp.labaddinf
        covgodsrvmodflg: "",			//  Modify Object of Contract		.nitp.covgodsrvmodflg
        covgod: {
          chkast: "",			//  Allow *		.nitp.covgod.chkast
        },
        aplnamtxt: "",			//  申请人名称		.nitp.aplnamtxt
        indirectswiadd: "",			//  InDirect Swift Add		.nitp.indirectswiadd
        gidtxtmodflg: "",			//  Modify Guarantee Text		.nitp.gidtxtmodflg
        chkgidtxt: "",			//  Allow *		.nitp.chkgidtxt
        prepercmodflg: "",			//  Modify Document and Presentation Instructions		.nitp.prepercmodflg
        chkpreperc: "",			//  Allow *		.nitp.chkpreperc
        chargic: {
          chkast: "",			//  Allow *		.nitp.chargic.chkast
        },
        labaddinfc: "",			//  Label for Additional Info in Sequence C		.nitp.labaddinfc
        covgodsrvcmodflg: "",			//  Modify Object of Contract Sequence C		.nitp.covgodsrvcmodflg
        // covgodc: {
        //   chkast: "",			//  Allow *		.nitp.covgodc.chkast
        // },
        // gidtxtmodflgc: "",			//  Modify Guarantee Text - Local Undertaking Seq. C		.nitp.gidtxtmodflgc
        // chkgidtxtc: "",			//  Allow *		.nitp.chkgidtxtc
      },
      nidgrp: {
				payeecountcode: '',
        rec: {
          branchinr: '',
          bchkeyinr:'',
          fingua: "",			//  是否对外担保		.nidgrp.rec.fingua
          cfaguatyp: "",			//  对外担保类型		.nidgrp.rec.cfaguatyp
          cmtflg: "",			//  跨境人民币保函		.nidgrp.rec.cmtflg
          ownref: "",			//  Reference		.nidgrp.rec.ownref
          resflg: "",			//  Reserved Contract		.nidgrp.rec.resflg
          rejflg: "",			//  Direct rejection		.nidgrp.rec.rejflg
          drpreflg: "",			//  Type of Request		.nidgrp.rec.drpreflg
          purposin: "",			//  Incoming Purpose 		.nidgrp.rec.purposin
          hndtyp: "FA",			//  Handling Type		.nidgrp.rec.hndtyp
          gartyp: "",			//  Type of Undertaking		.nidgrp.rec.gartyp
          gartypin: "",			//  Undertaking Type from Local Undertaking Seq. C		.nidgrp.rec.gartypin
          legfrm: "",			//  Form of Undertaking		.nidgrp.rec.legfrm
          demand: "",			//  Demand Indicator		.nidgrp.rec.demand
          giduil: "",			//  Language of Undertak.		.nidgrp.rec.giduil
          secuilflg: "",			//  Bilingual Guarantee		.nidgrp.rec.secuilflg
          gtxinr: "",			//  Choice of Text		.nidgrp.rec.gtxinr
          atxinr: "",			//  Choice of Text		.nidgrp.rec.atxinr
          exptyp: "",			//  Expiry Type		.nidgrp.rec.exptyp
          expdat: "",			//  Valid until		.nidgrp.rec.expdat
          liatypc: "",			//  Liability Type 		.nidgrp.rec.liatypc
          liadat: "",			//  Our Liability until		.nidgrp.rec.liadat
          oldref: "",			//  Old Reference		.nidgrp.rec.oldref
          revflg: "",			//  Declaration of Indemnity		.nidgrp.rec.revflg
          autrnwflg: "",			//  Auto-Renewal		.nidgrp.rec.autrnwflg
          rmbflg: "",			//  Reimbursement Information		.nidgrp.rec.rmbflg
          orddat: "",			//  Order Date		.nidgrp.rec.orddat
					opndat: "",			//  Valid from		.nidgrp.rec.opndat
					credat: new Date(),
          expflg: "",			//  Unlimited Guarantee		.nidgrp.rec.expflg
          liaflg: "",			//  Unlimited Liability		.nidgrp.rec.liaflg
          nam: "",			//  Name		.nidgrp.rec.nam
          inudat: "",			//  Inure Date		.nidgrp.rec.inudat
          teskeyunc: "",			//  Test Key Unconfirmity		.nidgrp.rec.teskeyunc
          guaflg: "",			//  Mortgage Flag		.nidgrp.rec.guaflg
          // vrfdat: "",			//  核销日期		.nidgrp.rec.vrfdat
          fenlishi: "",			//  是否分离式保函		.nidgrp.rec.fenlishi
          stacty: "",			//  Risk Country 		.nidgrp.rec.stacty
          orcref: "",			//  Contract Reference		.nidgrp.rec.orcref
          orcdat: "",			//  Date from Original Contract		.nidgrp.rec.orcdat
          tenclsdat: "",			//  Closing Date		.nidgrp.rec.tenclsdat
          orcrat: "",			//  Original Perc./ Rate		.nidgrp.rec.orcrat
          orccur: "",			//  Contract Amount 		.nidgrp.rec.orccur
          orcamt: "",			//  Contract Amount 		.nidgrp.rec.orcamt
          acc: "",			//  A/c for Adv. Paym. Guar.		.nidgrp.rec.acc
          jurlaws20: "",			//  Governing Law		.nidgrp.rec.jurlaws20
          jurlaw: "",			//  Law of Jurisdiction		.nidgrp.rec.jurlaw
          jurplc: "",			//  Place of Jurisdiction		.nidgrp.rec.jurplc
          tenref: "",			//  Tender Reference		.nidgrp.rec.tenref
          tendat: "",			//  Tender Date		.nidgrp.rec.tendat
          trmdat: "",			//  Latest Transmiss. Date		.nidgrp.rec.trmdat
          juscod: "",			//  组织机构代码		.nidgrp.rec.juscod
          cunqii: "",			//  流动资金贷款利率档次		.nidgrp.rec.cunqii
          bilvvv: "",			//  上浮比率		.nidgrp.rec.bilvvv
          bngcod: "",			//  企业海关编码		.nidgrp.rec.bngcod
          mannum: "",			//  手册号码		.nidgrp.rec.mannum
          cnfsta: "",			//  Confirmation Status 		.nidgrp.rec.cnfsta
          partcon: "",			//  Partial Confirmation		.nidgrp.rec.partcon
          cnfdat: "",			//  Confirmation Date		.nidgrp.rec.cnfdat
          reccnfdet: "",			//  Confirm. Instr.		.nidgrp.rec.reccnfdet
					cnfdet: "",			//  Confirm. Instr.		.nidgrp.rec.cnfdet
					countrycod:'',
          // opndatc: "",			//  Requested Issue Date		.nidgrp.rec.opndatc
          // gartypc: "",			//  Undertaking Type 		.nidgrp.rec.gartypc
          // legfrmc: "",			//  Form of Undertaking		.nidgrp.rec.legfrmc
          // demandc: "",			//  Demand Indicator 		.nidgrp.rec.demandc
          // stdwrdc: "",			//  Standard wording required		.nidgrp.rec.stdwrdc
          // gtxinrc: "",			//  Choice of Text		.nidgrp.rec.gtxinrc
          // autrnwflgc: "",			//  Auto-Renewal - Local Undertaking Seq. C		.nidgrp.rec.autrnwflgc
          // stdwrduilc: "",			//  Requested Language		.nidgrp.rec.stdwrduilc
          // deloric: "",			//  Delivery of Undertak.		.nidgrp.rec.deloric
          // deloritxtc: "",			//  Delivery of Undertak.		.nidgrp.rec.deloritxtc
          // deltoc: "",			//  Deli. To/Collection By		.nidgrp.rec.deltoc
          // transferc: "",			//  Transfer Indicator - Local Undertaking Seq. C		.nidgrp.rec.transferc
          // orcrefc: "",			//  Contract Reference		.nidgrp.rec.orcrefc
          // orcdatc: "",			//  Date from Original Contract - Local Undertaking Seq. C		.nidgrp.rec.orcdatc
          // tenclsdatc: "",			//  Closing Date		.nidgrp.rec.tenclsdatc
          // orcratc: "",			//  Original Perc./ Rate		.nidgrp.rec.orcratc
          // orccurc: "",			//  Contract Amount 		.nidgrp.rec.orccurc
          // orcamtc: "",			//  Contract Amount 		.nidgrp.rec.orcamtc
          // accc: "",			//  A/c Adv. Paym. Guar.		.nidgrp.rec.accc
          // jurlawc: "",			//  Governing Law 		.nidgrp.rec.jurlawc
          // jurlawtxtc: "",			//  Governing Law 		.nidgrp.rec.jurlawtxtc
          // jurplcc: "",			//  Place of Jurisdiction		.nidgrp.rec.jurplcc
          // tenrefc: "",			//  Tender Reference		.nidgrp.rec.tenrefc
          // tendatc: "",			//  Tender Date		.nidgrp.rec.tendatc
          // trmdatc: "",			//  Latest Transmission		.nidgrp.rec.trmdatc
          segtyp: "",			//  特殊保函类型		.nidgrp.ghd.segtyp
          bustyp: "",			//  业务类型		.nidgrp.ghd.bustyp
          wahnum: "",			//  仓库号		.nidgrp.ghd.wahnum
          remark: "",			//  备注		.nidgrp.ghd.remark
          aplnam: "",			//  申请人名称关税保函专用		.nidgrp.ghd.aplnam  被保证人		.nidgrp.nidcxm.warran
          cxmflg: "",			//  是否显示查询码		.nidgrp.nidcxm.cxmflg
          bennam: "",			//  受益人名称		.nidgrp.nidcxm.benefi
          ownusr:"",
          oppbnk:"" //oppbnk

        },
        cbs: {
          max: {
            cur: "",			//  Guarantee Amount		.nidgrp.cbs.max.cur
            amt: "",			//  Guarantee Amount		.nidgrp.cbs.max.amt
          },
          max2: {
            cur: "",			//  Guarantee Amount		.nidgrp.cbs.max2.cur
            amt: "0.00",			//  Guarantee Amount		.nidgrp.cbs.max2.amt
          },
          opn1: {
            cur: "",			//  Open Amount		.nidgrp.cbs.opn1.cur
            amt: "",			//  Balance		.nidgrp.cbs.opn1.amt
          },
          cnf: {
            cur: "",			//  Confirmation Amount		.nidgrp.cbs.cnf.cur
            amt: "",			//  Balance		.nidgrp.cbs.cnf.amt
          },
          mac: {
            cur: "",			//  Guarantee Amount		.nidgrp.cbs.mac.cur
            amt: "",			//  Guarantee Amount		.nidgrp.cbs.mac.amt
          },
          mac2: {
            cur: "",			//  Additional Amount		.nidgrp.cbs.mac2.cur
            amt: "",			//  Balance		.nidgrp.cbs.mac2.amt
          },
          opc2: {
            cur: "",			//  Open Add. Amount		.nidgrp.cbs.opc2.cur
            amt: "",			//  Balance		.nidgrp.cbs.opc2.amt
          },
        },
        blk: {
          gartyptxtin: "",			//  Specification of Type of Undertaking - Counter Undertaking		.nidgrp.blk.gartyptxtin
          apprul: "",			//  Applicable Rules		.nidgrp.blk.apprul
          apprultxt: "",			//  Applicable Rules		.nidgrp.blk.apprultxt
          exptxt: "",			//  Expiry Condition/ Evt.		.nidgrp.blk.exptxt
          atxexptxt: "",			//  Expiry Condition/ Evt.		.nidgrp.blk.atxexptxt
          liatxtc: "",			//  Liability Condition		.nidgrp.blk.liatxtc
          // atxliatxtc: "",			//  Liability Condition		.nidgrp.blk.atxliatxtc
          covgodsrv: "",			//  Object of Contract		.nidgrp.blk.covgodsrv
          orcplc: "",			//  Original Contract Place		.nidgrp.blk.orcplc
          addinf: "",			//  Additional Info		.nidgrp.blk.addinf
          atxcovgodsrv: "",			//  Underly. Transact. Det.		.nidgrp.blk.atxcovgodsrv
          gidtxt: "",			//  Guarantee Text		.nidgrp.blk.gidtxt
          gtxgidtxt: "",			//  Guarantee Text with Variables		.nidgrp.blk.gtxgidtxt
          // gartyptxtc: "",			//  Undertaking Type 		.nidgrp.blk.gartyptxtc
          // apprulc: "",			//  Applicable Rules		.nidgrp.blk.apprulc
          // apprultxtc: "",			//  Applicable Rules		.nidgrp.blk.apprultxtc
          // deltoadrc: "",			//  Delivery to Address		.nidgrp.blk.deltoadrc
          // preperc: "",			//  Presentation Instr. 		.nidgrp.blk.preperc
          // atxpreperc: "",			//  Presentation Instr. 		.nidgrp.blk.atxpreperc
          // trfcondc: "",			//  Transfer Conditions		.nidgrp.blk.trfcondc
          // feetxtc: "",			//  Additional Details to Code for Charges		.nidgrp.blk.feetxtc
          // covgodsrvc: "",			//  Object of Contract - Local Undertaking Seq. C		.nidgrp.blk.covgodsrvc
          // orcplcc: "",			//  Original Contract Place - Local Undertaking Seq. C		.nidgrp.blk.orcplcc
          // addinfc: "",			//  Additional Info - Local Undertaking Seq. C		.nidgrp.blk.addinfc
          // atxcovgodsrvc: "",			//  Underly. Transact. Det.		.nidgrp.blk.atxcovgodsrvc
          // gidtxtc: "",			//  Guarantee Text  local undertaking		.nidgrp.blk.gidtxtc
          // gtxgidtxtc: "",			//  Guarantee Text with Variables - Counter Undertaking		.nidgrp.blk.gtxgidtxtc
          // addamtcovc: "",			//  Covered		.nidgrp.blk.addamtcovc
        },
        apl: {
          pts: new Pts().data,
        },
        ben: {
          pts: new Pts().data,
        },
        iss: {
          pts: new Pts().data,
        },
        adv: {
          pts: new Pts().data,
        },


        ctr: {
          pts: new Pts().data,
        },
        atb: {
          pts: new Pts().data,
        },
        con: {
          pts: new Pts().data,
        },
        bdb: {
          pts: new Pts().data,
        },
        cnr: {
          pts: new Pts().data,
        },
        apc: {
          pts: new Pts().data,
        },
        ctc: {
          pts: new Pts().data,
        },
        bec: {
          pts: new Pts().data,
        },
        avc: {
          pts: new Pts().data,
        },
      },
      setmod: new Pub().data.Setmod,
      mtabut: new Pub().data.Mtabut,
      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,
			umdmod: new Pub().data.Umdmod,
			rmbbop: new Pub().data.Rmbbop,
    }
  }
}