import Pts from '~/model/Common/Pts';
import Pub from '~/model/Public';

export default class Gitopn {
	constructor() {
		this.data = {
			addbcb: {
				addbcbl1blk:"",
        name:"",			//  �'�物简称及税号		.addbcb.name
        godnam:"",			//  �'�物简称		.addbcb.godnam
        pwtyp1:"",			//  进口许可证		.addbcb.pwtyp1
        pwtyp2:"",			//  机电产品进口许可证		.addbcb.pwtyp2
        pwtyp3:"",			//  一般商品进口配额证明		.addbcb.pwtyp3
        pwtyp4:"",			//  特定商品进口登记证明		.addbcb.pwtyp4
        pwtyp5:"",			//  重要工业品自动进口许可证		.addbcb.pwtyp5
        pwtyp6:"",			//  凭保开证,批文后补		.addbcb.pwtyp6
        pwtyp7:"",			//  不需要		.addbcb.pwtyp7
        pwtyp8:"",			//  其他		.addbcb.pwtyp8
        pwtyp9:"",			//  批文类型填写文本框		.addbcb.pwtyp9
        bcbtyp1:"",			//  不在名录		.addbcb.bcbtyp1
        bcbtyp2:"",			//  异地付汇		.addbcb.bcbtyp2
        bcbtyp3:"",			//  转口�'�易		.addbcb.bcbtyp3
        bcbtyp4:"",			//  90天以上信用证		.addbcb.bcbtyp4
        bcbtyp5:"",			//  不需要		.addbcb.bcbtyp5
        bcbtyp6:"",			//  其它		.addbcb.bcbtyp6
        bcbtyp7:"",			//  备查表类型填写文本框		.addbcb.bcbtyp7
        label1:"",			//  国际部意见		.addbcb.label1
        label2:"",			//  国际部意见		.addbcb.label2
        label3:"",			//  国际部意见		.addbcb.label3
        label6:"",			//  国际部意见		.addbcb.label6
        label4:"",			//  国际部意见		.addbcb.label4
        label5:"",			//  国际部意见		.addbcb.label5
        pwdat:"",			//  批文效期		.addbcb.pwdat
        bcbdat:"",			//  备案表效期		.addbcb.bcbdat
        gitamecho:"",			//  GITAMECHO		.addbcb.gitamecho
        gitamermk:"",			//  GITAMERMK		.addbcb.gitamermk
        bgftktyp:"",			//  不规范条款类型		.addbcb.bgftktyp
        modtyp:"",			//  修改信用证类型		.addbcb.modtyp 
        litameadv:"",			//  特殊规定		.addbcb.litameadv
        ameadvrmk:"",			//  特殊规定条件		.addbcb.ameadvrmk
        bccls1:"",			//  效期是否敞口		.addbcb.bccls1
        bccls3:"",			//  保函期限超过三年,已经总行贸易金融部批准办理		.addbcb.bccls3
        preexpdat:"",			//  预计效期为		.addbcb.preexpdat
        expdat:"",			//  效期为		.addbcb.expdat
        bccls2:"",			//  合同尚未签订或生效		.addbcb.bccls2
        bccls4:"",			//  以下两个选项二选一		.addbcb.bccls4
			},
			gitp: {
				swiftflg: '', // 是否SWIFT格式		.gitp.swiftflg
				dzbhflg: '', // 电子保函标志		.gitp.dzbhflg
				inc760: '', // incoming lose		.gitp.inc760
				lettername: '', // 面函标题		.gitp.lettername
				exptxtmodflg: '', // Modify Expiry Condition/Event		.gitp.exptxtmodflg
				liatxtcmodflg: '', // Modify Liability Condition/Event - Counter Undertaking		.gitp.liatxtcmodflg
				prepermodflg: '', // Modify Document and Presentation Instructions		.gitp.prepermodflg
				chkpreper: '', // Allow *		.gitp.chkpreper
				covgodsrvmodflg: '', // Modify Object of Contract		.gitp.covgodsrvmodflg
				indirectswiadd: '', // InDirect Swift Add		.gitp.indirectswiadd
				gidtxtmodflg: '', // Modify Guarantee Text		.gitp.gidtxtmodflg
				chkgidtxt: '', // Allow *		.gitp.chkgidtxt
				prepercmodflg: '', // Modify Document and Presentation Instructions		.gitp.prepercmodflg
				chkpreperc: '', // Allow *		.gitp.chkpreperc
				covgodsrvcmodflg: '', // Modify Object of Contract Sequence C		.gitp.covgodsrvcmodflg
				orcratc: '', // Original Perc./ Rate		.gidgrp.rec.orcratc
				gidtxtmodflgc: '', // Modify Guarantee Text - Local Undertaking Seq. C		.gitp.gidtxtmodflgc

				covgod: {
					chkast: '', // Allow *		.gitp.covgod.chkast
				},
				aamp: {
					aammod: {
						addamtflg: '', //  Add. Amount		.gitp.aamp.aammod.addamtflg
					},
				},
				aacp: {
					aacmod: {
						addamtflg: '', // Add. Amount		.gitp.aamp.aammod.addamtflg
					},
				},
				chargic: {
					chkast: '', // Allow *		.gitp.chargic.chkast
				},
				usr: {
					extkey: '', // Responsible User		.gitp.usr.extkey
				},
				chargi: {
					chkast: '',
				},
				covgodc: {
					chkast: '',
				},
			},
			gidgrp: {
				rec: {
					branchinr: '00000047',
					ownref: '', // Reference		.gidgrp.rec.ownref
					purposin: '', // Incoming Purpose 		.gidgrp.rec.purposin
					purpos: '', // Outgoing Purpose		.gidgrp.rec.purpos
					hndtyp: '', // Handling Type		.gidgrp.rec.hndtyp
					gartyp: '', // Type of Undertaking		.gidgrp.rec.gartyp
					legfrm: '', // Form of Undertaking		.gidgrp.rec.legfrm
					demand: '', // Demand Indicator		.gidgrp.rec.demand
					fingua: '', // 是否对外担保		.gidgrp.rec.fingua
					cfaguatyp: '', // 对外担保类型		.gidgrp.rec.cfaguatyp
					cmtflg: '', // 跨境人民币保函		.gidgrp.rec.cmtflg
					giduil: '', // Language of Undertak.		.gidgrp.rec.giduil
					vrfdat: '', // 核销日期		.gidgrp.rec.vrfdat
					gtxinr: '', // Choice of Text		.gidgrp.rec.gtxinr
					fenlishi: '', // 是否分离式保函		.gidgrp.rec.fenlishi
					atxinr: '', // Choice of Text		.gidgrp.rec.atxinr
					orddat: '', // Order Date		.gidgrp.rec.orddat
					expflg: '', // Unlimited Guarantee		.gidgrp.rec.expflg
					expdat: '', // Valid until		.gidgrp.rec.expdat
					liaflg: '', // Unlimited Liability		.gidgrp.rec.liaflg
					liadat: '', // Our Liability until		.gidgrp.rec.liadat
					inudat: '', // Inure Date		.gidgrp.rec.inudat
					nam: '', // Name		.gidgrp.rec.nam
					liatxtc: '', // Liability Condition		.gidgrp.blk.liatxtc
					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
					chato: '', // Own Charges Borne by		.gidgrp.rec.chato
					orcref: '', // Contract Reference		.gidgrp.rec.orcref
					orcdat: '', // Date from Original Contract		.gidgrp.rec.orcdat
					tenclsdat: '', // Closing Date		.gidgrp.rec.tenclsdat
					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
					tenref: '', // Tender Reference		.gidgrp.rec.tenref
					tendat: '', // Tender Date		.gidgrp.rec.tendat
					trmdat: '', // Latest Transmiss. Date		.gidgrp.rec.trmdat
					mannum: '', // 手册号码		.gidgrp.rec.mannum
					bngcod: '', // 企业海关编码		.gidgrp.rec.bngcod
					juscod: '', // 组织机构代码		.gidgrp.rec.juscod
					cunqii: '', // 流动资金贷款利率档次		.gidgrp.rec.cunqii
					bilvvv: '', // 上浮比率		.gidgrp.rec.bilvvv
					jurplc: '', // Place of Jurisdiction		.gidgrp.rec.jurplc
					reccnfdet: '', // Confirm. Instr.		.gidgrp.rec.reccnfdet
					cnfdet: '',
					cnfsta: '', // Confirmation Status 		.gidgrp.rec.cnfsta
					partcon: '', // Partial Confirmation		.gidgrp.rec.partcon
					cnfdat: '', // Confirmation Date		.gidgrp.rec.cnfdat
					opndatc: '', // Requested Issue Date		.gidgrp.rec.opndatc
					gartypc: '', // Undertaking Type 		.gidgrp.rec.gartypc
					gartyptxtc: '', // Undertaking Type 		.gidgrp.blk.gartyptxtc
					legfrmc: '', // Form of Undertaking		.gidgrp.rec.legfrmc
					demandc: '', // Demand Indicator 		.gidgrp.rec.demandc
					stdwrduilc: '', // Requested Language		.gidgrp.rec.stdwrduilc
					gtxinrc: '', // Choice of Text		.gidgrp.rec.gtxinrc
					exptyp: '', // Expiry Type		.gidgrp.rec.exptyp
					deloritxtc: '', // Delivery of Undertak.		.gidgrp.rec.deloritxtc
					orcrefc: '', // Contract Reference		.gidgrp.rec.orcrefc
					tenclsdatc: '', // Closing Date		.gidgrp.rec.tenclsdatc
					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
					orcratc: '', // Original Perc./ Rate		.gidgrp.rec.orcratc
				},
				cbs: {
					cnf: {
						cur: '', // Confirmation Amount		.gidgrp.cbs.cnf.cur
						amt: '0.00', // Balance		.gidgrp.cbs.cnf.amt
					},
					mac2: {
						cur: '',
						amt: '0.00',
					},
					mac: {
						cur: '',
						amt: '0.00',
					},
					max: {
						cur: '', // Guarantee Amount		.gidgrp.cbs.max.cur
						amt: '0.00', // Guarantee Amount		.gidgrp.cbs.max.amt
					},
					max2: {
						cur: '', // Guarantee Amount		.gidgrp.cbs.max.cur
						amt: '0.00', // Guarantee Amount		.gidgrp.cbs.max.amt
					},
					opc2: {
						cur: '',
						amt: '0.00',
					},
					opn1: {
						cur: '', // Open Amount		.gidgrp.cbs.opn1.cur
						amt: '0.00', // Balance		.gidgrp.cbs.opn1.amt
					},
				},
				blk: {
					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
					deltoadr: '', // Delivery to Address		.gidgrp.blk.deltoadr
					trfcond: '', // Transfer Conditions		.gidgrp.blk.trfcond
					feetxt: '', // Additional Details to Code for Charges		.gidgrp.blk.feetxt
					atxpreper: '', // Presentation Instr.		.gidgrp.blk.atxpreper
					covgodsrv: '', // Object of Contract		.gidgrp.blk.covgodsrv
					orcplc: '', // Original Contract Place		.gidgrp.blk.orcplc
					addinf: '', // Additional Info		.gidgrp.blk.addinf
					gidtxt: '', // Guarantee Text with Variables		.gidgrp.blk.gidtxt
					gtxgidtxt: '', // Guarantee Text with Variables		.gidgrp.blk.gtxgidtxt
					apprulc: '', // Applicable Rules		.gidgrp.blk.apprulc
					feetxtc: '', // Additional Details to Code for Charges		.gidgrp.blk.feetxtc
					preperc: '', // Presentation Instr. 		.gidgrp.blk.preperc
					orcplcc: '', // Original Contract Place - Local Undertaking Seq. C		.gidgrp.blk.orcplcc
					addinfc: '', // Additional Info - Local Undertaking Seq. C		.gidgrp.blk.addinfc
					gtxgidtxtc: '', // Guarantee Text with Variables - Counter Undertaking		.gidgrp.blk.gtxgidtxtc
					addamtcovc: '', // Covered		.gidgrp.blk.addamtcovc
					covgodsrvc: '', // Object of Contract - Local Undertaking Seq. C		.gidgrp.blk.covgodsrvc
					atxcovgodsrvc: '', // Underly. Transact. Det.		.gidgrp.blk.atxcovgodsrvc
				},
				ghd: {
					segtyp: '', // 特殊保函类型		.gidgrp.ghd.segtyp
					bustyp: '', // 业务类型		.gidgrp.ghd.bustyp
					remark: '', // 备注		.gidgrp.ghd.remark
				},
				gidcxm: {
					warran: '', // 被保证人		.gidgrp.gidcxm.warran
					cxmflg: '', // 是否显示查询码		.gidgrp.gidcxm.cxmflg
					benefi: '', // 受益人名称		.gidgrp.gidcxm.benefi
				},
				apc: {
					pts: new Pts().data,
				},
				ctc: {
					pts: new Pts().data,
				},
				bec: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				iss: {
					pts: new Pts().data,
				},
				adv: {
					pts: new Pts().data,
				},
				apl: {
					pts: new Pts().data,
				},
				con: {
					pts: new Pts().data,
				},
				ctr: {
					pts: new Pts().data,
				},
				atb: {
					pts: new Pts().data,
				},
				avc: {
					pts: new Pts().data,
				},
				cnr: {
					pts: new Pts().data,
				},
				at2: {
					pts: new Pts().data,
				},
			},
			cfagit: {
				cfaflg: null,
				basflg: null, // 签约信息		.cfagit.basflg
				dclflg: null, // �'�任余额信息		.cfagit.dclflg
				vrfflg: null, // 履约信息		.cfagit.vrfflg
				ownextkey: null, // 地区机构号		.cfagit.ownextkey
				recgrp: {
					bas: {
						exguarancode: '', // 对外担保编号		.cfagit.recgrp.bas.exguarancode
						actiontype: '', // 操作类型		.cfagit.recgrp.bas.actiontype
						guarantorcode: '', // 担保人代码		.cfagit.recgrp.bas.guarantorcode
						guarancurr: '', // 保函金额		.cfagit.recgrp.bas.guarancurr
						guaranamount: '', // 保函金额		.cfagit.recgrp.bas.guaranamount
						guarantype: '', // 担保类型		.cfagit.recgrp.bas.guarantype
						maindebtcurr: '', // 主债务金额		.cfagit.recgrp.bas.maindebtcurr
						maindebtamount: '', // 主债务金额		.cfagit.recgrp.bas.maindebtamount
						bentype: '', // 受益人类型		.cfagit.recgrp.bas.bentype
						bencode: '', // 受益人代码		.cfagit.recgrp.bas.bencode
						bename: '', // 受益人中文名称		.cfagit.recgrp.bas.bename
						benamen: '', // 受益人英文名称		.cfagit.recgrp.bas.benamen
						guedtype: '', // 被担保人类型		.cfagit.recgrp.bas.guedtype
						guedindustrycode: '', // 被担保人所属行业		.cfagit.recgrp.bas.guedindustrycode
						guedcouncode: '', // 被担保人国别/地区代码		.cfagit.recgrp.bas.guedcouncode
						guappcode: '', // 担保申请人代码		.cfagit.recgrp.bas.guappcode
						guappname: '', // 担保申请人中文名称		.cfagit.recgrp.bas.guappname
						guappnamen: '', // 担保申请人英文名称		.cfagit.recgrp.bas.guappnamen
						actiondesc: '', // 删除原因		.cfagit.recgrp.bas.actiondesc
						bencountrycode: '', // 受益人国别/地区		.cfagit.recgrp.bas.bencountrycode
						contractdate: '', // 签约日期		.cfagit.recgrp.bas.contractdate
						maturity: '', // 到期日		.cfagit.recgrp.bas.maturity
						maindebtmanner: '', // 发行/上市方式		.cfagit.recgrp.bas.maindebtmanner
						guedcode: '', // 被担保人代码		.cfagit.recgrp.bas.guedcode
						guedname: '', // 被担保人中文名称		.cfagit.recgrp.bas.guedname
						guednamen: '', // 被担保人英文名称		.cfagit.recgrp.bas.guednamen
						maindebtcondate: '', // 主债务签约日期		.cfagit.recgrp.bas.maindebtcondate
						intrat: '', // 借款利率(%)		.cfagit.recgrp.bas.intrat
						guedparecompnamen: '', // 被担保人境内母公司英文名称		.cfagit.recgrp.bas.guedparecompnamen
						cgyn: '', // 是否有反担保人		.cfagit.recgrp.bas.cgyn
						cgcouncode: '', // 反担保人国别/地区代码		.cfagit.recgrp.bas.cgcouncode
						cgcode: '', // 反担保人国别/地区代码		.cfagit.recgrp.bas.cgcode
						maindebtmaturity: '', // 主债务到期日		.cfagit.recgrp.bas.maindebtmaturity
						cgname: '', // 反担保人中文名称		.cfagit.recgrp.bas.cgname
						cgnamen: '', // 反担保人英文名称		.cfagit.recgrp.bas.cgnamen
						thyn: '', // 是否调回境内		.cfagit.recgrp.bas.thyn
						thje: '', // 资金调回金额		.cfagit.recgrp.bas.thje
						jwyn: '', // 是否与境外投资相关		.cfagit.recgrp.bas.jwyn
						issuecountrycode: '', // 发行/上市国家与地区		.cfagit.recgrp.bas.issuecountrycode
						deloric: '', // Delivery of Undertak.		.gidgrp.rec.deloric
						deltoc: '', // Deli. To/Collection By		.gidgrp.rec.deltoc
						orcdatc: '', // Date from Original Contract - Local Undertaking Seq. C		.gidgrp.rec.orcdatc
					},
				},
				recp: {
					pubp: {
						acp: '', // 确认		.cfagit.recp.pubp.acp
						founds1: '', // 境外�'接投资		.cfagit.recp.pubp.founds1
						founds2: '', // 偿还境外债务		.cfagit.recp.pubp.founds2
						founds3: '', // 补充营运或流动性资金		.cfagit.recp.pubp.founds3
						founds4: '', // 其他境外使用		.cfagit.recp.pubp.founds4
						founds5: '', // 以�'接投资形式回流		.cfagit.recp.pubp.founds5
						founds6: '', // 以外债形式回流		.cfagit.recp.pubp.founds6
						founds7: '', // 以�'�易形式回流		.cfagit.recp.pubp.founds7
						founds8: '', // 以其他形式回流		.cfagit.recp.pubp.founds8
						cousel1: {
							guedparecompcode: '', // 被担保人境内母公司代码		.cfagit.recp.pubp.cousel1.guedparecompcode
						},
					},
					dclp: [],
				},
			},
			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,
			liaccv: new Pub().data.Liaccv,
			docpan: new Pub().data.Docpan,
			pageId: '',
			sysmod: {
				wrkbch: {
					bchref: '',
				},
			},
		};
	}
}