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

export default class Nctpfr {
	constructor() {
		this.data = {
			ncdgrp: {
				rec: {
					demstat: "", //  Demand Statement		.ncdgrp.rec.demstat
					newexpdat: "", //  Validity Requested		.ncdgrp.rec.newexpdat
					ownref: "", //  Claim Number		.ncdgrp.rec.ownref
					nam: "", //  Externally Displayed Name to Identify the Contract		.ncdgrp.rec.nam
					clmdat: "", //  Date of Claim		.ncdgrp.rec.clmdat
          inr: "",
				},
				blk: {
					addamtinf: "", //  Add. Amt. Information		.ncdgrp.blk.addamtinf
					presentdet: "", //  Present. Compl. Det.		.ncdgrp.blk.presentdet
				},
				cbs: {
					max: {
						cur: "", //  Amount Claimed		.ncdgrp.cbs.max.cur
						amt: "", //  Balance		.ncdgrp.cbs.max.amt
          },
          max2: {
						cur: "",
						amt: "0.00",			//  附加金额		.ncdgrp.cbs.max2.amt
					},
					opn1: {
						cur: "", //  Open Amount		.ncdgrp.cbs.opn1.cur
						amt: "", //  Balance		.ncdgrp.cbs.opn1.amt
          },
          opn2: {
						cur: "",			//  附加金额		.ncdgrp.cbs.opn2.cur
						amt: "0.00",
					},
				},
				apl: {
					ptytyp:"",
					pts: new Pts().data,
				},
				ben: {
					ptytyp:"",
					pts: new Pts().data,
				},
				bec: {
					ptytyp:"",
					pts: new Pts().data,
				},
				prb: {
					ptytyp:"",
					pts: new Pts().data,
				},
				oth: {
					ptytyp:"",
					pts: new Pts().data,
				},
				iss: {
					ptytyp:"",
					pts: new Pts().data,
				},
				int: {
					ptytyp:"",
					pts: new Pts().data,
				},
				awi: {
					ptytyp:"",
					pts: new Pts().data,
				},
				oap: {
					ptytyp:"",
					pts: new Pts().data,
				},
				rmr: {
					ptytyp:"",
					pts: new Pts().data,
				},	
			},
			clmtxts20: "", //  Demand Statem. Text 		.clmtxts20
			gctp0: {
				intp: {
					ptsget: {
						sdamod: {
							dadsnd: "", //  Drag  Drop Sender		.gctp0.intp.ptsget.sdamod.dadsnd
							seainf: "", //  		.gctp0.intp.ptsget.sdamod.seainf
						},
					},
				},
				awip: {
					ptsget: {
						sdamod: {
							dadsnd: "", //  Drag  Drop Sender		.gctp0.awip.ptsget.sdamod.dadsnd
							seainf: "", //  		.gctp0.awip.ptsget.sdamod.seainf
						},
					},
				},
				aplmullab: "", //  Label, that is set, if there are multiple applicants		.gctp0.aplmullab
				liafldlab: "", //  Label for Field Liability		.gctp0.liafldlab
				expfldlab: "", //  Label for Field Validity		.gctp0.expfldlab
				explab: "", //  Label unlimited Validity		.gctp0.explab
				lialab: "", //  Label unlimited Liability		.gctp0.lialab
				gidget: {
					sdamod: {
						seainf: "", //  		.gctp0.gidget.sdamod.seainf
						dadsnd: "", //  Drag  Drop Sender		.gctp0.gidget.sdamod.dadsnd
					},
				},
				recget: {
					sdamod: {
						dadsnd: "", //  Drag  Drop Sender		.gctp0.recget.sdamod.dadsnd
						seainf: "", //  		.gctp0.recget.sdamod.seainf
					},
				},
				adaflg: "", //  Add.  Amount		.gctp0.adaflg
			},
			extpay: "", //  Extend or Pay		.extpay
			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
					branchinr: "",
          inr: "",
          etyextkey:"",
					giduil:"",
					opnsta: "",//开立状态
          amesta: "",//修改状态
          cansta: "",//撤销状态
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				cbs: {
					opn1: {
						cur: "", //  Open Guar. Amt. 		.nidgrp.cbs.opn1.cur
						amt: "", //  Balance		.nidgrp.cbs.opn1.amt
          },
          opn2: {
						cur: "",
						amt: "",
					},
					opc1: {
						cur: "", //  Open Guar. Amt. 		.nidgrp.cbs.opn1.cur
						amt: "", //  Balance		.nidgrp.cbs.opn1.amt
          },
          max2: {
						cur: "",
						amt: "",
					},
				},
			},
			fremsg: {
				reldatlab: "", //  label for date		.fremsg.reldatlab
				strinflab: "", //  label for tag 79		.fremsg.strinflab
				sndmt: "", //  发报类型		.fremsg.sndmt
				fulmt: "", //  报文类型		.fremsg.fulmt
				prttitle: "", //  标题		.fremsg.prttitle
				relmt: "", //  相关报文		.fremsg.relmt
				reldat: "", //  from		.fremsg.reldat
				reldir: "", //  relevant message sent/received		.fremsg.reldir
				strinf: "", //  Narrative		.fremsg.strinf
				tag20lab: "", //  MT799 tag20		.fremsg.tag20lab
				tag20ref: "", //  tag 20 Ref.		.fremsg.tag20ref
				flg: "", //  FLG FOR GITFRE		.fremsg.flg
				msgrol: "", //  收报行		.fremsg.msgrol
				ccrol: "", //  副本的收报行		.fremsg.ccrol
				msgrolSet: [],
				othmsg: {
					pts: new Pts().data,
					namelc: "", //  名称		.fremsg.othmsg.namelc
					adrelc: "", //  地址		.fremsg.othmsg.adrelc
					dbfadrblkcn: "", //  Chinese address		.fremsg.othmsg.dbfadrblkcn
				},
				othcc: {
					pts: new Pts().data,
					namelc: "", //  名称		.fremsg.othcc.namelc
					adrelc: "", //  地址		.fremsg.othcc.adrelc
					dbfadrblkcn: "", //  Chinese address		.fremsg.othcc.dbfadrblkcn
				},
				det: "", //  Query/ Answer		.fremsg.det
				tag77a: "", //  Narrative (77A)		.fremsg.tag77a
				tag22d: "", //  Form of Undertaking		.fremsg.tag22d
				tag23: "", //  Undertaking Number		.fremsg.tag23
				issrol: "", //  Issuer of Undertak.		.fremsg.issrol
				iss: {
					pts: new Pts().data,
					namelc: "", //  名称		.fremsg.iss.namelc
					adrelc: "", //  地址		.fremsg.iss.adrelc
					dbfadrblkcn: "", //  Chinese address		.fremsg.iss.dbfadrblkcn
				},
				tag23h: "", //  Function		.fremsg.tag23h
				tag45d: "", //  Details of Request		.fremsg.tag45d
			},
			gctfrel1blk: "",
			gctfrel2blk: "",
			gct752l1blk: "",
			swiadd: new Pub().data.Trnmod.swiadd,
			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,
		}
	}
}