import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Nitfre {
	constructor() {
		this.data = {
			gitp0: {
				explab: "", //  Label unlimited Validity		.gitp0.explab
				lialab: "", //  Label unlimited lLability		.gitp0.lialab
				aplmullab: "", //  Label, that is set, if there are multiple applicants		.gitp0.aplmullab
				expfldlab: "", //  Label for Field Validity		.gitp0.expfldlab
				liafldlab: "", //  Label for Field Lability		.gitp0.liafldlab
				recget: {
					sdamod: {
						seainf: "", //  		.gitp0.recget.sdamod.seainf
						dadsnd: "", //  Drag  Drop Sender		.gitp0.recget.sdamod.dadsnd
					},
				},
			},
			nidgrp: {
				rec: {
					ownref: "", //  Reference		.nidgrp.rec.ownref
					nam: "", //  Externally Displayed Name to Identify the Contract		.nidgrp.rec.nam
					hndtyp: "", //  Handling Type		.nidgrp.rec.hndtyp
					gartyp: "", //  Type of Undertaking		.nidgrp.rec.gartyp
					expdat: "", //  Valid until		.nidgrp.rec.expdat
					liadat: "", //  Liability until		.nidgrp.rec.liadat
					orddat: "", //  Order Date		.gidgrp.rec.orddat
          purpos: "",
          inr: "",
          branchinr: "",
          etyextkey: "",
					giduil: "",
					opnsta: "",//开立状态
          amesta: "",//修改状态
          cansta: "",//撤销状态
				},
				cbs: {
					max: {
						cur: "", //  Currency		.nidgrp.cbs.max.cur
						amt: "", //  Balance		.nidgrp.cbs.max.amt
					},
					opn1: {
						cur: "", //  Currency		.nidgrp.cbs.opn1.cur
						amt: "", //  Balance		.nidgrp.cbs.opn1.amt
					},
				},
				apl: {
					ptytyp:"",
					pts: new Pts().data,
				},
				ben: {
					ptytyp:"",
					pts: new Pts().data,
				},
				ctr: {
					ptytyp:"",
					pts: new Pts().data,
				},
				iss: {
					ptytyp:"",
					pts: new Pts().data,
        },
        adv: {
					ptytyp:"",
					pts: new Pts().data,
				},
				at2: {
					ptytyp:"",
					pts: new Pts().data,
				},
				avb: {
					ptytyp:"",
					pts: new Pts().data,
				},
				bec: {
					ptytyp:"",
					pts: new Pts().data,
				},
				oth: {
					ptytyp:"",
					pts: new Pts().data,
				},
				apc: {
					ptytyp:"",
					pts: new Pts().data,
				},
				con: {
					ptytyp:"",
					pts: new Pts().data,
				},
			},
			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 nitfre		.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
				},
				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
				det: "", //  Query/ Answer		.fremsg.det
				tag77a: "", //  Narrative (77A)		.fremsg.tag77a
      },
			swiadd: new Pub().data.Trnmod.swiadd,
			setmod: new Pub().data.Setmod,
			mtabut: new Pub().data.Mtabut,
			trnmod: new Pub().data.Trnmod,
			docpan: new Pub().data.Docpan,
      doctre: new Pub().data.Doctre,
      liaall: new Pub().data.Liaall,
      liaccv: new Pub().data.Liaccv,
      trndia: new Pub().data.Trndia,
		}
	}
}