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

export default class Nitopn {
  constructor() {
    this.data = {
      ptsptaList: [],
      textTempData: {},
      transName:"",
      zmqflg:"",
      addbcb: {
				label1: "1、申请人与我行已签署贸易融资协议(如需);",			//  国际部意见		.addbcb.label1
        label2: "2、申请人已提交全套业务所需资料;",			//  国际部意见		.addbcb.label2
        label3: "3、申请书要素齐全并已签章,签章已经核符;",			//  国际部意见		.addbcb.label3
        label4: "4、占用授信额度的保函业务,",			//  国际部意见		.addbcb.label4
        label5: "",      //  国际部意见		.addbcb.label5
        label12: "5、关联交易:",      //  国际部意见		.addbcb.label5
        label6: "",
        label13: "4、低风险开证业务:",			//  国际部意见		.addbcb.label6
        label7: "已提交《低风险业务授信调查报告》/《信贷业务通知书》;",			//  国际部意见		.addbcb.label7
        label8: ",并已完成审批报告手续, ",			//  国际部意见		.addbcb.label8
        label9: "2",			//  国际部意见		.addbcb.label9
        label10: "额度已切分,结算系统将自动扣减额度,保证金(如需)符合要求;",
				label11: "额度未切分,《信贷业务通知书》符合要求;",
				label14: "6、效期是否敞口 ",
				label15: "7、合同尚未签订或生效 ",
				label16: "8、保函期限超过三年,已经分行有权审批人审批同意",
        bccls1: "",
        bccls2: "",
        bccls3: "",
        preexpdat: "",
        expdat: "",
      },
      nitp: {
        wzhflgVsb:'',  //是否显示wzhflg栏位
        wzhflg:'',  //是否无纸化盖章
        dzbhflg: '', // 电子保函标志		.nitp.dzbhflg
        inc760: '', // incoming lose		.nitp.inc760
        lettername: '', // 面函标题		.nitp.lettername
        exptxtmodflg: '', // Modify Expiry Condition/Event		.nitp.exptxtmodflg
        prepermodflg: '', // Modify Document and Presentation Instructions		.nitp.prepermodflg
        chkpreper: '', // Allow *		.nitp.chkpreper
        covgodsrvmodflg: '', // Modify Object of Contract		.nitp.covgodsrvmodflg
				indirectswiadd: '', // InDirect Swift Add		.nitp.indirectswiadd
				indirectswiaddc: '',
        gidtxtmodflg: '', // Modify Guarantee Text		.nitp.gidtxtmodflg
        chkgidtxt: '', // Allow *		.nitp.chkgidtxt
        prepercmodflg: '', // Modify Document and Presentation Instructions		.nitp.prepercmodflg
        chkpreperc: '', // Allow *		.nitp.chkpreperc
        covgodsrvcmodflg: '', // Modify Object of Contract Sequence C		.nitp.covgodsrvcmodflg
        orcratc: '', // Original Perc./ Rate		.nidgrp.rec.orcratc
        gidtxtmodflgc: '', // Modify Guarantee Text - Local Undertaking Seq. C		.nitp.gidtxtmodflgc
        tempOwnref: '', //临时业务编号

        covgod: {
          chkast: '', // Allow *		.nitp.covgod.chkast
        },
        aamp: {
          aammod: {
            addamtflg: '', //  Add. Amount		.nitp.aamp.aammod.addamtflg
          },
        },
        aacp: {
          aacmod: {
            addamtflg: '', // Add. Amount		.nitp.aamp.aammod.addamtflg
          },
        },
        chargic: {
          chkast: '', // Allow *		.nitp.chargic.chkast
        },
        usr: {
          extkey: '', // Responsible User		.nitp.usr.extkey
        },
        chargi: {
          chkast: '',
        },
        covgodc: {
          chkast: '',
        },
        xyflg:"",
        wbxs:"",
        yptxy:"",
        yptgimod: {
          img:[]
        }
			},
			spt:{
				sta:''
			},
			swiadd:{
				m24infcpy:'',
				m22amecnt:'',
				orimsgid:'',
				orimsgtyp:''
			},
      nidgrp: {
        bdsght:'',
				payeecountcode:'',
				beneficiarymw:'',
				bidnummw:'',
				bidnamemw:'',
				inbidselltimemw:'',
				beneficiaryadrmw:'',
				dbhbenammw:'',
        benecreditcodemw:'',
        inbidselltime:'',
        rec: {
          inr:'',
          branchinr: '',
          bchkeyinr: '',
          opndat: '',
          guaflg: '',
          ownref: '', // Reference		.nidgrp.rec.ownref
          needcuscomopn: '',//需客户确认		.nidgrp.rec.needcuscomopn
          grtjuscod: '',//被保证人社会统一信用代码/组织机构代码.nidgrp.rec.grtjuscod
          hndtyp: '', // Handling Type		.nidgrp.rec.hndtyp
          gartyp: '', // Type of Undertaking		.nidgrp.rec.gartyp
          legfrm: '', // Form of Undertaking		.nidgrp.rec.legfrm
          demand: '', // Demand Indicator		.nidgrp.rec.demand
          fingua: '', // 是否对外担保		.nidgrp.rec.fingua
          cfaguatyp: '', // 对外担保类型		.nidgrp.rec.cfaguatyp
          cmtflg: '', // 跨境人民币保函		.nidgrp.rec.cmtflg
          giduil: '', // Language of Undertak.		.nidgrp.rec.niduil
          vrfdat: '', // 核销日期		.nidgrp.rec.vrfdat
          gtxinr: '', // Choice of Text		.nidgrp.rec.gtxinr
          fenlishi: '', // 是否分离式保函		.nidgrp.rec.fenlishi
          atxinr: '', // Choice of Text		.nidgrp.rec.atxinr
          orddat: '', // Order Date		.nidgrp.rec.orddat
          expflg: '', // Unlimited Guarantee		.nidgrp.rec.expflg
          expdat: '', // Valid until		.nidgrp.rec.expdat
          liaflg: '', // Unlimited Liability		.nidgrp.rec.liaflg
          liadat: '', // Our Liability until		.nidgrp.rec.liadat
          inudat: '', // Inure Date		.nidgrp.rec.inudat
          nam: '', // Name		.nidgrp.rec.nam
          liatxtc: '', // Liability Condition		.nidgrp.blk.liatxtc
          delori: '', // Delivery of Undertak.		.nidgrp.rec.delori
          deloritxt: '', // Delivery of Undertak.		.nidgrp.rec.deloritxt
          sndto: '', // Undertaking Send to		.nidgrp.rec.sndto
          delto: '', // Deliv. To/Collection By		.nidgrp.rec.delto
          chato: '', // Own Charges Borne by		.nidgrp.rec.chato
          orcref: '', // Contract Reference		.nidgrp.rec.orcref
          orcdat: '', // Date from Original Contract		.nidgrp.rec.orcdat
          tenclsdat: '', // Closing Date		.nidgrp.rec.tenclsdat
          orccur: '', // Contract Amount 		.nidgrp.rec.orccur
          orcamt: '0.00', // Contract Amount 		.nidgrp.rec.orcamt
          acc: '', // A/c for Adv. Paym. Guar.		.nidgrp.rec.acc
          jurlaw: '', // Law of Jurisdiction		.nidgrp.rec.jurlaw
          tenref: '', // Tender Reference		.nidgrp.rec.tenref
          tendat: '', // Tender Date		.nidgrp.rec.tendat
          trmdat: '', // Latest Transmiss. Date		.nidgrp.rec.trmdat
          mannum: '', // 手册号码		.nidgrp.rec.mannum
          bngcod: '', // 企业海关编码		.nidgrp.rec.bngcod
          juscod: '', // 组织机构代码		.nidgrp.rec.juscod
          cunqii: '', // 流动资金贷款利率档次		.nidgrp.rec.cunqii
          bilvvv: 0, // 上浮比率		.nidgrp.rec.bilvvv
          jurplc: '', // Place of Jurisdiction		.nidgrp.rec.jurplc
          reccnfdet: '', // Confirm. Instr.		.nidgrp.rec.reccnfdet
          cnfdet: '',
          cnfsta: '', // Confirmation Status 		.nidgrp.rec.cnfsta
          partcon: 0, // Partial Confirmation		.nidgrp.rec.partcon
          cnfdat: '', // Confirmation Date		.nidgrp.rec.cnfdat
          exptyp: '', // Expiry Type		.nidgrp.rec.exptyp
          aplnam: '', // 被保证人		.nidgrp.nidcxm.warran
          cxmflg: '', // 是否显示查询码		.nidgrp.nidcxm.cxmflg
          bennam: '', // 受益人名称		.nidgrp.nidcxm.benefi
          segtyp: '', // 特殊保函类型		.nidgrp.ghd.segtyp
          bustyp: '', // 业务类型		.nidgrp.ghd.bustyp
          remark: '', // 备注		.nidgrp.ghd.remark
          countrycod:'',
					projectname:'',
					projnam:'',
          guatyp:'',
          iscrotra:'',
          quycod: '',
          fromflg:'',
          flwsta:'',
          dbyhmc:'',

          ownusr: "",
          credat: null,
          clsdat: null,
          oldref: "",
          amedat: null,
          amenbr: 0,
          pndclm: 0,
          stacty: "",
          gidtxtmodflg: "",
          orcrat: "",
          purcan: "",
          avidat: null,
          decrea: "",
          resflg: "",
          stagod: "",
          redamt: "",
          redcur: "",
          reddat: null,
          outcur: "",
          outamt: "",
          cnfflg: "",
          revflg: "",
          opntrninr: "",
          apprulrmb: "",
          autdat: null,
          autrnwflgc: "",
          autrnwflg: "",
          gidtxtmodflg2: "",
          covgodsrvcmodflg: "",
          deloric: "",
          deltoc: "",
          giduil2: "",
          demandc: "",
          dftnbr: 0,
          dipreiday: 0,
          covgodsrvmodflg: "",
          dipreiflg3: "",
          dipreiflg1: "",
          deloritxtc: "",
          advper: "",
          expdatfinc: null,
          advnbr: 0,
          gartypin: "",
          exptxtmodflg: "",
          gtxinr2: "",
          gtxinrc: "",
          notnbrc: 0,
          gidtxtmodflgc: "",
          expdatfin: null,
          notper: "",
          opndatc: null,
          orddatc: null,
          notnbr: 0,
          prepermodflg: "",
          orcflgc: "",
          purposin: "",
          rejflg: "",
          prepercmodflg: "",
          rmbcha: "",
          purpos: "",
          rmbact: "",
          liatxtcmodflg: "",
          rnwper: "",
          rmbflg: "",
          rnwperc: "",
          rnwnbr: 0,
          rnwpertxt: "",
          rnwpers20: "",
          rnwnbrc: 0,
          secuilflg: "",
          rnwpertxtc: "",
          stdwrdc: "",
          s20staflg: "",
          transfer: "",
          stdwrduilc: "",
          transferc: "",
          inccormsgflg: "",
          etyextkey: "",
          accc: "",
          drpreflg: "",
          gartypc: "",
          jurlawc: "",
          jurlaws20: "",
          jurlawtxtc: "",
          jurplcc: "",
          legfrmc: "",
          liatypc: "",
          orcamtc: "",
          orccurc: "",
          orcdatc: null,
          orcrefc: "",
          orcratc: "",
          tenclsdatc: null,
          tendatc: null,
          tenrefc: "",
          trmdatc: null,
          expplc: "",
          feecoldat: null,

          teskeyunc: "",
          decflg: "",
          rskrat: "",
          cshpct: "",
          rptref: "",
          invref: "",

          oppbnk: "",
          bidnum: "",
          bidname: "",
          othersno: "",
          rtnfilestyle: "",
          gtxinrmw: "",
          gidtxtmodflgmw: "",
          benecreditcode: "",
          bidnamemw: "",
          amtwrdtxt: "",
          benadr: "",
          yptaplnam: "",
          yptapladr: "",
          grtnam: "",
          grtadr: "",
          swiftflg: "",
          bchname: "",
          opnsta: "",
          amesta: "",
          cansta: "",
          oldamt: "0.00",
          olddat: null,
          errmsg: "",
          idcode: "",
          zsjzts: "",
          bdbdbr: "",
          bdbrdz: "",
          bdbrdh: "",
          dbyhdb: "",
          dbyhdz: "",
          dbyhdh: "",
          sqrdbr: "",
          sqradr: "",
          sqrtel: "",
            beyzd1: "",
            beyzd2: "",
            beyzd3: "",
            beyzd4: "",
            beyzd5: "",
            beyzd6: "",
          ptyhgq: "",
          ptyhsx: "",
          bdbrmc: "",
          sqqydm: "",
          sqrnam: "",
          sqqyhg: "",
          needcuscomame: "",
        },
        cbs: {
          cnf: {
            cur: '', // Confirmation Amount		.nidgrp.cbs.cnf.cur
            amt: '0.00', // Balance		.nidgrp.cbs.cnf.amt
          },
          mac2: {
            cur: '',
            amt: '0.00',
          },
          mac: {
            cur: '',
            amt: '0.00',
          },
          max: {
            cur: '', // Guarantee Amount		.nidgrp.cbs.max.cur
            amt: '0.00', // Guarantee Amount		.nidgrp.cbs.max.amt
          },
          max2: {
            cur: '',
            amt: '0.00',
          },
          opc2: {
            cur: '',
            amt: '0.00',
          },
          opn1: {
            cur: '', // Open Amount		.nidgrp.cbs.opn1.cur
            amt: '0.00', // Balance		.nidgrp.cbs.opn1.amt
          },
        },
        blk: {
          inr:'',
          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
          deltoadr: '', // Delivery to Address		.nidgrp.blk.deltoadr
          trfcond: '', // Transfer Conditions		.nidgrp.blk.trfcond
          feetxt: '', // Additional Details to Code for Charges		.nidgrp.blk.feetxt
          atxpreper: '', // Presentation Instr.		.nidgrp.blk.atxpreper
          covgodsrv: '', // Object of Contract		.nidgrp.blk.covgodsrv
          orcplc: '', // Original Contract Place		.nidgrp.blk.orcplc
          addinf: '', // Additional Info		.nidgrp.blk.addinf
          gidtxt: '', // Guarantee Text with Variables		.nidgrp.blk.gidtxt
					gtxgidtxt: '', // Guarantee Text with Variables		.nidgrp.blk.gtxgidtxt
					gidtxtmw: '',
					gtxgidtxtmw: '',
        },
        ben: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        iss: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        adv: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        apl: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        con: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        ctr: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        atb: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        // avc: {
        // 	pts: new Pts().data,
        // },
        cnr: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        at2: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        bdb: {
          namelc: '',
          adrelc: '',
          pts: new Pts().data,
        },
        modifySet: [],
      },
      cnybop: {
        cnyflg: '',
        traflg: '',
        outflg: '',
        libflg: '',
        vouflg: '',
        svouchername: '',
        sdebtorname: '',
        sbankname: '',
        svoucheename: '',
        saddwordvou: '',
        sreversename: '',
        cnyvou: {
          spk: "",          //  业务主键      .cnybop.cnyvou.spk
          sbankorgcode: "",         //  报送银行机构代码      .cnybop.cnyvou.sbankorgcode
          cvouchdirection: "",          //  担保方向      .cnybop.cnyvou.cvouchdirection
          stransattr: "",       //  业务属性      .cnybop.cnyvou.stransattr
          svoucherswiftbic: "",         //  担保人机构代码       .cnybop.cnyvou.svoucherswiftbic
          svouchercountrycode: "",          //  担保人国别     .cnybop.cnyvou.svouchercountrycode
          svoucheeorgcode: "",          //  担保权人机构代码      .cnybop.cnyvou.svoucheeorgcode
          svoucheecountrycode: "",          //  担保权人国别    .cnybop.cnyvou.svoucheecountrycode
          sdebtororgcode: "",       //  债务人机构代码       .cnybop.cnyvou.sdebtororgcode
          sdebtorcountrycode: "",       //  债务人国别     .cnybop.cnyvou.sdebtorcountrycode
          sreverseorgcode: "",          //  反担保人机构代码      .cnybop.cnyvou.sreverseorgcode
          sreversecountrycode: "",          //  反担保人国别    .cnybop.cnyvou.sreversecountrycode
          sbanktrano: "",       //  银行业务编号    .cnybop.cnyvou.sbanktrano
          cvouchtype: "",       //  担保种类      .cnybop.cnyvou.cvouchtype
          cvouchmode: "",       //  反担保方式     .cnybop.cnyvou.cvouchmode
          dvouchefficientdate: "",          //  担保生效日期    .cnybop.cnyvou.dvouchefficientdate
          dvouchenddate: "",        //  担保到期日期    .cnybop.cnyvou.dvouchenddate
          scontractno: "",          //  担保合同编号    .cnybop.cnyvou.scontractno
          svouchno: "",         //  担保登记编号    .cnybop.cnyvou.svouchno
          currencycode: "",         //  担保币种      .cnybop.cnyvou.currencycode
          fvouchamt: "",        //  原币种金额     .cnybop.cnyvou.fvouchamt
        }
      },
      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,
      umdmod: new Pub().data.Umdmod,
      trndia: new Pub().data.Trndia,
      rmbbop: new Pub().data.Rmbbop,
			cfagit: new Pub().data.Cfagit,
			ypnmod: new Pub().data.Ypnmod
    };
  }
}