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

export default class Gitpdl{
    constructor () {
        this.data = {
						swiadd: {
							ameamt: "",
              newexpflg: "",
              newexpdat: "",
              exptyp: "",
              exptxt: "",
              liatypc: "",
              newliadat: "",
              newliaflg: "",
              liatxtc: "",
              addnewamt:"",
              newamt:"",
              
						},
            ptsptaList: [],
            addameamt:"",			//  附加金额变化值		.addameamt
						addamecur:"",			//  附加金额币种		.addamecur
						amenbr:"",			//  减额修改次数		.amenbr
						ameamt:"",			//  修改金额		.ameamt
						amecur:"",			//  修改币种		.amecur
						amedat:"",			//  修改日期		.amedat
						ameflg:"",			//  是否接受此笔减额修改		.ameflg
            decstm:"",			//  Decrease limits stream		.decstm
            adaflg:"",
						gidgrp:{
							rec:{
								objtyp:"",
								ver:"",
								inr:"",
								branchinr:"",
								ownref:"",			//  Reference		.gidgrp.rec.ownref
								nam:"",			//  Name		.gidgrp.rec.nam
								hndtyp:"",			//  Handling Type		.gidgrp.rec.hndtyp
								gartyp:"",			//  Type of Undertaking		.gidgrp.rec.gartyp
								expdat:"",			//  Valid until		.gidgrp.rec.expdat
								resflg:"",			//  Reserved Contract		.gidgrp.rec.resflg
								rejflg:"",			//  Direct rejection		.gidgrp.rec.rejflg
								drpreflg:"",			//  Type of Request		.gidgrp.rec.drpreflg
								purposin:"",			//  Incoming Purpose 		.gidgrp.rec.purposin
								purpos:"",			//  Outgoing Purpose		.gidgrp.rec.purpos
								gartypin:"",			//  Undertaking Type from Local Undertaking Seq. C		.gidgrp.rec.gartypin
								legfrm:"",			//  Form of Undertaking		.gidgrp.rec.legfrm
								demand:"",			//  Demand Indicator		.gidgrp.rec.demand
								giduil:"",			//  Language of Undertak.		.gidgrp.rec.giduil
								secuilflg:"",			//  Bilingual Guarantee		.gidgrp.rec.secuilflg
								gtxinr:"",			//  Choice of Text		.gidgrp.rec.gtxinr
								atxinr:"",			//  Choice of Text		.gidgrp.rec.atxinr
								exptyp:"",			//  Expiry Type		.gidgrp.rec.exptyp
								liatypc:"",			//  Liability Type 		.gidgrp.rec.liatypc
								liadat:"",			//  Our Liability until		.gidgrp.rec.liadat
								oldref:"",			//  Old Reference		.gidgrp.rec.oldref
								revflg:"",			//  Declaration of Indemnity		.gidgrp.rec.revflg
								autrnwflg:"",			//  Auto-Renewal		.gidgrp.rec.autrnwflg
								rmbflg:"",			//  Reimbursement Information		.gidgrp.rec.rmbflg
								orddat:"",			//  Order Date		.gidgrp.rec.orddat
								opndat:"",			//  Valid from		.gidgrp.rec.opndat
								expflg:"",			//  Unlimited Guarantee		.gidgrp.rec.expflg
								liaflg:"",			//  Unlimited Liability		.gidgrp.rec.liaflg
								inudat:"",			//  Inure Date		.gidgrp.rec.inudat
								teskeyunc:"",			//  Test Key Unconfirmity		.gidgrp.rec.teskeyunc
								guaflg:"",			//  Mortgage Flag		.gidgrp.rec.guaflg
								cmtflg:"",			//  跨境人民币保函		.gidgrp.rec.cmtflg
								fingua:"",			//  是否对外担保		.gidgrp.rec.fingua
								cfaguatyp:"",			//  对外担保类型		.gidgrp.rec.cfaguatyp
								vrfdat:"",			//  核销日期		.gidgrp.rec.vrfdat
								fenlishi:"",			//  是否分离式保函		.gidgrp.rec.fenlishi
								stacty:"",			//  Risk Country 		.gidgrp.rec.stacty
								deloric:"",			//  Delivery of Undertak.		.gidgrp.rec.deloric
								deloritxtc:"",			//  Delivery of Undertak.		.gidgrp.rec.deloritxtc
								deltoc:"",			//  Deli. To/Collection By		.gidgrp.rec.deltoc
								transferc:"",			//  Transfer Indicator - Local Undertaking Seq. C		.gidgrp.rec.transferc
								orcref:"",			//  Contract Reference		.gidgrp.rec.orcref
								orcdat:"",			//  Date from Original Contract		.gidgrp.rec.orcdat
								tenclsdat:"",			//  Closing Date		.gidgrp.rec.tenclsdat
								orcrat:"",			//  Original Perc./ Rate		.gidgrp.rec.orcrat
								orccur:"",			//  Contract Amount 		.gidgrp.rec.orccur
								orcamt:"",			//  Contract Amount 		.gidgrp.rec.orcamt
								acc:"",			//  A/c for Adv. Paym. Guar.		.gidgrp.rec.acc
								jurlaws20:"",			//  Governing Law		.gidgrp.rec.jurlaws20
								jurlaw:"",			//  Law of Jurisdiction		.gidgrp.rec.jurlaw
								jurplc:"",			//  Place of Jurisdiction		.gidgrp.rec.jurplc
								tenref:"",			//  Tender Reference		.gidgrp.rec.tenref
								tendat:"",			//  Tender Date		.gidgrp.rec.tendat
								trmdat:"",			//  Latest Transmiss. Date		.gidgrp.rec.trmdat
								juscod:"",			//  组织机构代码		.gidgrp.rec.juscod
								cunqii:"",			//  流动资金贷款利率档次		.gidgrp.rec.cunqii
								bilvvv:"",			//  上浮比率		.gidgrp.rec.bilvvv
								bngcod:"",			//  企业海关编码		.gidgrp.rec.bngcod
								mannum:"",			//  手册号码		.gidgrp.rec.mannum
								cnfsta:"",			//  Confirmation Status 		.gidgrp.rec.cnfsta
								partcon:"",			//  Partial Confirmation		.gidgrp.rec.partcon
								cnfdat:"",			//  Confirmation Date		.gidgrp.rec.cnfdat
								reccnfdet:"",			//  Confirm. Instr.		.gidgrp.rec.reccnfdet
								cnfdet:"",			//  Confirm. Instr.		.gidgrp.rec.cnfdet
								opndatc:"",			//  Requested Issue Date		.gidgrp.rec.opndatc
								gartypc:"",			//  Undertaking Type 		.gidgrp.rec.gartypc
								legfrmc:"",			//  Form of Undertaking		.gidgrp.rec.legfrmc
								demandc:"",			//  Demand Indicator 		.gidgrp.rec.demandc
								stdwrdc:"",			//  Standard wording required		.gidgrp.rec.stdwrdc
								gtxinrc:"",			//  Choice of Text		.gidgrp.rec.gtxinrc
								autrnwflgc:"",			//  Auto-Renewal - Local Undertaking Seq. C		.gidgrp.rec.autrnwflgc
								stdwrduilc:"",			//  Requested Language		.gidgrp.rec.stdwrduilc
								orcrefc:"",			//  Contract Reference		.gidgrp.rec.orcrefc
								orcdatc:"",			//  Date from Original Contract - Local Undertaking Seq. C		.gidgrp.rec.orcdatc
								tenclsdatc:"",			//  Closing Date		.gidgrp.rec.tenclsdatc
								orcratc:"",			//  Original Perc./ Rate		.gidgrp.rec.orcratc
								orccurc:"",			//  Contract Amount 		.gidgrp.rec.orccurc
								orcamtc:"",			//  Contract Amount 		.gidgrp.rec.orcamtc
								accc:"",			//  A/c Adv. Paym. Guar.		.gidgrp.rec.accc
								jurlawc:"",			//  Governing Law 		.gidgrp.rec.jurlawc
								jurlawtxtc:"",			//  Governing Law 		.gidgrp.rec.jurlawtxtc
								jurplcc:"",			//  Place of Jurisdiction		.gidgrp.rec.jurplcc
								tenrefc:"",			//  Tender Reference		.gidgrp.rec.tenrefc
								tendatc:"",			//  Tender Date		.gidgrp.rec.tendatc
								trmdatc:"",			//  Latest Transmission		.gidgrp.rec.trmdatc
								delori:"",			//  Delivery of Undertak.		.gidgrp.rec.delori
								deloritxt:"",			//  Delivery of Undertak.		.gidgrp.rec.deloritxt
								sndto:"",			//  Undertaking Send to		.gidgrp.rec.sndto
								delto:"",			//  Deliv. To/Collection By		.gidgrp.rec.delto
								transfer:"",			//  Transfer Indicator		.gidgrp.rec.transfer
								chato:"",			//  Own Charges Borne by		.gidgrp.rec.chato
								clsdat:"",
                credat:"",
                flwsta:"",
							},
							cbs:{
								max:{
									cur:"",			//  Guarantee Amount		.gidgrp.cbs.max.cur
									amt:"",			//  Guarantee Amount		.gidgrp.cbs.max.amt
                },
                max2:{
									cur:"",			
									amt:"",			
								},
								opn1:{
									cur:"",			//  Open Amount		.gidgrp.cbs.opn1.cur
									amt:"",			//  Balance		.gidgrp.cbs.opn1.amt
                },
                opn2:{
									cur:"",			
									amt:"",			
								},
								cnf:{
									cur:"",			//  Confirmation Amount		.gidgrp.cbs.cnf.cur
									amt:"",			//  Balance		.gidgrp.cbs.cnf.amt
								},
								mac:{
									cur:"",			//  Guarantee Amount		.gidgrp.cbs.mac.cur
									amt:"",			//  Guarantee Amount		.gidgrp.cbs.mac.amt
								},
								mac2:{
									cur:"",			//  Additional Amount		.gidgrp.cbs.mac2.cur
									amt:"",			//  Balance		.gidgrp.cbs.mac2.amt
								},
								opc2:{
									cur:"",			//  Open Add. Amount		.gidgrp.cbs.opc2.cur
									amt:"",			//  Balance		.gidgrp.cbs.opc2.amt
								},
							},
							apl:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.apl.namelc
								adrelc:"",			//  地址		.gidgrp.apl.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.apl.dbfadrblkcn
							},
							ben:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.ben.namelc
								adrelc:"",			//  地址		.gidgrp.ben.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.ben.dbfadrblkcn
							},
							adv:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.adv.namelc
								adrelc:"",			//  地址		.gidgrp.adv.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.adv.dbfadrblkcn
							},
							blk:{
								gartyptxtin:"",			//  Specification of Type of Undertaking - Counter Undertaking		.gidgrp.blk.gartyptxtin
								apprul:"",			//  Applicable Rules		.gidgrp.blk.apprul
								apprultxt:"",			//  Applicable Rules		.gidgrp.blk.apprultxt
								exptxt:"",			//  Expiry Condition/ Evt.		.gidgrp.blk.exptxt
								atxexptxt:"",			//  Expiry Condition/ Evt.		.gidgrp.blk.atxexptxt
								liatxtc:"",			//  Liability Condition		.gidgrp.blk.liatxtc
								atxliatxtc:"",			//  Liability Condition		.gidgrp.blk.atxliatxtc
								deltoadrc:"",			//  Delivery to Address		.gidgrp.blk.deltoadrc
								preperc:"",			//  Presentation Instr. 		.gidgrp.blk.preperc
								atxpreperc:"",			//  Presentation Instr. 		.gidgrp.blk.atxpreperc
								trfcondc:"",			//  Transfer Conditions		.gidgrp.blk.trfcondc
								feetxtc:"",			//  Additional Details to Code for Charges		.gidgrp.blk.feetxtc
								covgodsrv:"",			//  Object of Contract		.gidgrp.blk.covgodsrv
								orcplc:"",			//  Original Contract Place		.gidgrp.blk.orcplc
								addinf:"",			//  Additional Info		.gidgrp.blk.addinf
								atxcovgodsrv:"",			//  Underly. Transact. Det.		.gidgrp.blk.atxcovgodsrv
								gidtxt:"",			//  Guarantee Text		.gidgrp.blk.gidtxt
								gtxgidtxt:"",			//  Guarantee Text with Variables		.gidgrp.blk.gtxgidtxt
								gartyptxtc:"",			//  Undertaking Type 		.gidgrp.blk.gartyptxtc
								apprulc:"",			//  Applicable Rules		.gidgrp.blk.apprulc
								apprultxtc:"",			//  Applicable Rules		.gidgrp.blk.apprultxtc
								covgodsrvc:"",			//  Object of Contract - Local Undertaking Seq. C		.gidgrp.blk.covgodsrvc
								orcplcc:"",			//  Original Contract Place - Local Undertaking Seq. C		.gidgrp.blk.orcplcc
								addinfc:"",			//  Additional Info - Local Undertaking Seq. C		.gidgrp.blk.addinfc
								atxcovgodsrvc:"",			//  Underly. Transact. Det.		.gidgrp.blk.atxcovgodsrvc
								gidtxtc:"",			//  Guarantee Text  local undertaking		.gidgrp.blk.gidtxtc
								gtxgidtxtc:"",			//  Guarantee Text with Variables - Counter Undertaking		.gidgrp.blk.gtxgidtxtc
								addamtcovc:"",			//  Covered		.gidgrp.blk.addamtcovc
								deltoadr:"",			//  Delivery to Address		.gidgrp.blk.deltoadr
								preper:"",			//  Presentation Instr.		.gidgrp.blk.preper
								atxpreper:"",			//  Presentation Instr.		.gidgrp.blk.atxpreper
								trfcond:"",			//  Transfer Conditions		.gidgrp.blk.trfcond
								feetxt:"",			//  Additional Details to Code for Charges		.gidgrp.blk.feetxt
							},
							iss:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.iss.namelc
								adrelc:"",			//  地址		.gidgrp.iss.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.iss.dbfadrblkcn
							},
							ctr:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.ctr.namelc
								adrelc:"",			//  地址		.gidgrp.ctr.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.ctr.dbfadrblkcn
							},
							atb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.atb.namelc
								adrelc:"",			//  地址		.gidgrp.atb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.atb.dbfadrblkcn
							},
							con:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.con.namelc
								adrelc:"",			//  地址		.gidgrp.con.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.con.dbfadrblkcn
							},
							bdb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.bdb.namelc
								adrelc:"",			//  地址		.gidgrp.bdb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.bdb.dbfadrblkcn
							},
							cnr:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.cnr.namelc
								adrelc:"",			//  地址		.gidgrp.cnr.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.cnr.dbfadrblkcn
							},
							apc:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.apc.namelc
								adrelc:"",			//  地址		.gidgrp.apc.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.apc.dbfadrblkcn
							},
							ctc:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.ctc.namelc
								adrelc:"",			//  地址		.gidgrp.ctc.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.ctc.dbfadrblkcn
							},
							bec:{
								pts:new Pts().data,
								namelc:"",			//  名称		.gidgrp.bec.namelc
								adrelc:"",			//  地址		.gidgrp.bec.adrelc
								dbfadrblkcn:"",			//  Chinese address		.gidgrp.bec.dbfadrblkcn
							},
							avc:{
								pts:new Pts().data,
							},
						},
						oldgidgrp: {
							rec: {
                exptyp: '',
                expdat: '',
                expflg: '',
                liatypc: '',
                liadat: '',
				liaflg: '',
				purpos:"",
              },
              blk:{
                exptxt: '',
                atxexptxt: '',
                liatxtc:'',
                atxliatxtc: '',
              },
              cbs:{
								max:{
									cur:"",			//  Guarantee Amount		.gidgrp.cbs.max.cur
									amt:"",			//  Guarantee Amount		.gidgrp.cbs.max.amt
                },
                max2:{
									cur:"",			
									amt:"",			
								},
								opn1:{
									cur:"",			//  Open Amount		.gidgrp.cbs.opn1.cur
									amt:"",			//  Balance		.gidgrp.cbs.opn1.amt
                },
                opn2:{
									cur:"",			
									amt:"",			
								},
								cnf:{
									cur:"",			//  Confirmation Amount		.gidgrp.cbs.cnf.cur
									amt:"",			//  Balance		.gidgrp.cbs.cnf.amt
								},
								mac:{
									cur:"",			//  Guarantee Amount		.gidgrp.cbs.mac.cur
									amt:"",			//  Guarantee Amount		.gidgrp.cbs.mac.amt
								},
								mac2:{
									cur:"",			//  Additional Amount		.gidgrp.cbs.mac2.cur
									amt:"",			//  Balance		.gidgrp.cbs.mac2.amt
								},
								opc2:{
									cur:"",			//  Open Add. Amount		.gidgrp.cbs.opc2.cur
									amt:"",			//  Balance		.gidgrp.cbs.opc2.amt
								},
							},
						},
            gitp:{
              swiftflg:"",
            },
            pageId: "",			// ctx的key
            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,
						rmbbop: new Pub().data.Rmbbop,
      			cfagit: new Pub().data.Cfagit,
				}
    }
}