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

export default class Nftadd {
	constructor() {
		this.data = {
			nctp: {
				liafldlab: "", //  Label for Field Liability		.nctp.liafldlab
				expfldlab: "", //  Label for Field Validity		.nctp.expfldlab
				aplmullab: "", //  Label, that is set, if there are multiple applicants		.nctp.aplmullab
				lialab: "", //  Label unlimited Liability		.nctp.lialab
				explab: "", //  Label unlimited Validity		.nctp.explab
				nidget: {
					sdamod: {
						dadsnd: "", //  Drag  Drop Sender		.nctp.nidget.sdamod.dadsnd
						seainf: "", //  		.nctp.nidget.sdamod.seainf
					},
				},
				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
						},
					},
				},
				prechkdat: "", //  预计核验日期		.nctp.prechkdat
				ischktyp: "", //  是否需要核验		.nctp.ischktyp
			},
			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
					rptref: "", //  合同号		.nidgrp.rec.rptref
					invref: "", //  发票号		.nidgrp.rec.invref
					cmtflg: "", //  跨境人民币保函		.nidgrp.rec.cmtflg
					branchinr: "",
					inr: "",
					ver: "",
					segtyp: "",
					hndtyp: "", //开立方式
					expflg: "", // Unlimited Guarantee		.nidgrp.rec.expflg
					reddat: "",
					etyextkey: "",
					nidinr: "",
					opndat: "",
					fingua: "",
					fromflg: "",
					othersno: "",
					sndto: "",
					giduil: "",
					purpos: "",
					revflg: "",
					cnfsta: "",
					redamt: "",
				},
				cbs: {
					max: {
						cur: "", //  Guarantee Amount		.nidgrp.cbs.max.cur
						amt: "", //  Guarantee Amount		.nidgrp.cbs.max.amt
					},
					opn1: {
						cur: "", //  Open Amount		.nidgrp.cbs.opn1.cur
						amt: "", //  Balance		.nidgrp.cbs.opn1.amt
					},
					opc1: {
						cur: "", //  Open Add. Amount		.nidgrp.cbs.opc2.cur
						amt: "", //  Balance		.nidgrp.cbs.opc2.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
					},
					cnf: {
						cur: "", //  Confirmation Amount		.nidgrp.cbs.cnf.cur
						amt: "", //  Balance		.nidgrp.cbs.cnf.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
					deltoadr: "", //  Delivery to Address		.nidgrp.blk.deltoadr
					preper: "", //  Presentation Instr.		.nidgrp.blk.preper
					atxpreper: "", //  Presentation Instr.		.nidgrp.blk.atxpreper
					trfcond: "", //  Transfer Conditions		.nidgrp.blk.trfcond
					feetxt: "", //  Additional Details to Code for Charges		.nidgrp.blk.feetxt
					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,
					namelc: "", //  名称		.nidgrp.apl.namelc
					adrelc: "", //  地址		.nidgrp.apl.adrelc
					dbfadrblkcn: "", //  Chinese address		.nidgrp.apl.dbfadrblkcn
				},
				ben: {
					pts: new Pts().data,
					namelc: "", //  名称		.nidgrp.ben.namelc
					adrelc: "", //  地址		.nidgrp.ben.adrelc
					dbfadrblkcn: "", //  Chinese address		.nidgrp.ben.dbfadrblkcn
				},
				iss: {
					pts: new Pts().data,
					namelc: "", //  名称		.nidgrp.iss.namelc
					adrelc: "", //  地址		.nidgrp.iss.adrelc
					dbfadrblkcn: "", //  Chinese address		.nidgrp.iss.dbfadrblkcn
				},
				adv: {
					pts: new Pts().data,
					namelc: "", //  名称		.nidgrp.adv.namelc
					adrelc: "", //  地址		.nidgrp.adv.adrelc
					dbfadrblkcn: "", //  Chinese address		.nidgrp.adv.dbfadrblkcn
				},
			},
			ncdgrp: {
				rec: {
					inr: "", // the ncd table primary index
					branchinr: "", // the branch bank index 
					ver: "", // version 
					ownref: "", //  Claim Number		.ncdgrp.rec.ownref
					nam: "", //  Name		.ncdgrp.rec.nam
					clmdat: "", //  Date of Claim		.ncdgrp.rec.clmdat
					docprbrol: "", //  Presented by		.ncdgrp.rec.docprbrol
					payrol: "", //  Payer		.ncdgrp.rec.payrol
				},
				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
					},
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				prb: {
					pts: new Pts().data,
					namelc: "", //  名称		.ncdgrp.prb.namelc
					adrelc: "", //  地址		.ncdgrp.prb.adrelc
					dbfadrblkcn: "", //  Chinese address		.ncdgrp.prb.dbfadrblkcn
				},
				oth: {
					pts: new Pts().data,
					namelc: "", //  名称		.ncdgrp.oth.namelc
					adrelc: "", //  地址		.ncdgrp.oth.adrelc
					dbfadrblkcn: "", //  Chinese address		.ncdgrp.oth.dbfadrblkcn
				},
			},
			mtabut: {
				coninf: {
					oitinf: {
						labinftxt: "", //  Label for INFTXT		.mtabut.coninf.oitinf.labinftxt
						oit: {
							inftxt: "", //  Infotext		.mtabut.coninf.oitinf.oit.inftxt
							inflev: "", //  Infotext Level		.mtabut.coninf.oitinf.oit.inflev
						},
					},
					oitset: {
						labinftxt: "", //  Label for INFTXT		.mtabut.coninf.oitset.labinftxt
						oit: {
							inftxt: "", //  Infotext		.mtabut.coninf.oitset.oit.inftxt
							inflev: "", //  Infotext Level		.mtabut.coninf.oitset.oit.inflev
						},
					},
					conexedat: "", //  执行日期		.mtabut.coninf.conexedat
					usr: {
						extkey: "", //  User ID		.mtabut.coninf.usr.extkey
					},
				},
			},
			pageId: "", // ctx的key
			trndia: new Pub().data.Trndia,
		}
	}
}