import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"
import Pub from "../../../../components/business/commonModel/index.js";
import Fxdgrp from '~/components/business/commonModel/fxdgrp';

export default class Fxtlcm{
    constructor () {
        this.data = {
						// fxdgrp:{
						// 	rec:{
						// 		ownref:"",			//  平盘业务参考号		.fxdgrp.rec.ownref
						// 		nam:"",			//  名称		.fxdgrp.rec.nam
						// 		fxtyp:"",			//  平盘类型		.fxdgrp.rec.fxtyp
						// 		opndat:"",			//  平盘日期		.fxdgrp.rec.opndat
						// 		valdat:"",			//  起息日		.fxdgrp.rec.valdat
						// 		rat:"",			//  平盘牌价		.fxdgrp.rec.rat
						// 		midrat:"",			//  中间价		.fxdgrp.rec.midrat
						// 		ownusr:"",			//  资金部负责人		.fxdgrp.rec.ownusr
						// 		usr:"",			//  清算中心负责人		.fxdgrp.rec.usr
						// 	},
						// 	apl:{
						// 		pts:new Pts().data,
						// 		dbfadrblkcn:"",			//  Chinese address		.fxdgrp.apl.dbfadrblkcn
						// 	},
						// 	blk:{
						// 		remark:"",			//  备注		.fxdgrp.blk.remark
						// 	},
						// 	cbs:{
						// 		max:{
						// 			cur:"",			//  Currency		.fxdgrp.cbs.max.cur
						// 			amt:"",			//  Balance		.fxdgrp.cbs.max.amt
						// 		},
						// 		nom1:{
						// 			cur:"",			//  Currency		.fxdgrp.cbs.nom1.cur
						// 			amt:"",			//  Balance		.fxdgrp.cbs.nom1.amt
						// 		},
						// 	},
						// 	act:{
						// 		pts:new Pts().data,
						// 	},
						// },
			            fxdgrp: new Fxdgrp().data,
						fxtp:{
							amtlab:"",			//  Amount Label		.fxtp.amtlab
							cnylab:"",			//  Amount LabelCNY		.fxtp.cnylab
							frgchk:"",			//  外币		.fxtp.frgchk
							cnychk:"",			//  人民币		.fxtp.cnychk
							aplp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.fxtp.aplp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.fxtp.aplp.ptsget.sdamod.dadsnd
									},
								},
							},
							usrget:{
								sdamod:{
									seainf:"",			//  		.fxtp.usrget.sdamod.seainf
								},
							},
							usr:{
								extkey:"",			//  User ID		.fxtp.usr.extkey
							},
							actp:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.fxtp.actp.ptsget.sdamod.dadsnd
										seainf:"",			//  		.fxtp.actp.ptsget.sdamod.seainf
									},
								},
							},
						},
						aplacc:{
							pts:new Pts().data,
						},
						aplaccp:{
							ptsget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.aplaccp.ptsget.sdamod.dadsnd
									seainf:"",			//  		.aplaccp.ptsget.sdamod.seainf
								},
							},
						},
						acc2:"",			//  APLACC's Account		.acc2
						acc1:"",			//  OWNACC's Account		.acc1
						swtflg:"",			//  发送MT300		.swtflg
						mt30m:{
							s22a:"",			//  Typeof Operation(:22A)		.mt30m.s22a
							s94a:"",			//  Scope of Operation(:94A)		.mt30m.s94a
							conref:"",			//  MT300 22C - 共同参号		.mt30m.conref
							s17t:"",			//  Block Trade Indicator(:17T)		.mt30m.s17t
							s17u:"",			//  MT300 17U - 分笔结算指示		.mt30m.s17u
							a53act:"",			//  Delivery Agent Account		.mt30m.a53act
							a53:{
								pts:new Pts().data,
							},
							a53p:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.a53p.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.a53p.ptsget.sdamod.seainf
									},
								},
							},
							iniact:"",			//  Intermediary Account		.mt30m.iniact
							ini:{
								pts:new Pts().data,
							},
							inip:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.inip.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.inip.ptsget.sdamod.seainf
									},
								},
							},
							rbcact:"",			//  Receiving Agent Account		.mt30m.rbcact
							rbc:{
								pts:new Pts().data,
							},
							rbcp:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.rbcp.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.rbcp.ptsget.sdamod.seainf
									},
								},
							},
							b53act:"",			//  Delivery Agent Account		.mt30m.b53act
							b53:{
								pts:new Pts().data,
							},
							b53p:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.b53p.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.b53p.ptsget.sdamod.seainf
									},
								},
							},
							b56act:"",			//  Intermediary Account		.mt30m.b56act
							b56:{
								pts:new Pts().data,
							},
							b56p:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.b56p.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.b56p.ptsget.sdamod.seainf
									},
								},
							},
							owcact:"",			//  Receiving Agent Account		.mt30m.owcact
							owc:{
								pts:new Pts().data,
							},
							owcp:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.owcp.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.owcp.ptsget.sdamod.seainf
									},
								},
							},
							b58act:"",			//  Beneficiary Institution Account		.mt30m.b58act
							b58:{
								pts:new Pts().data,
							},
							b58p:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.b58p.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.b58p.ptsget.sdamod.seainf
									},
								},
							},
							coninf:"",			//  Contact Information		.mt30m.coninf
							deamet:"",			//  Dealing Method		.mt30m.deamet
							deamettxt:"",			//  Dealing Method Text		.mt30m.deamettxt
							c84:{
								pts:new Pts().data,
							},
							c84p:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.c84p.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.c84p.ptsget.sdamod.seainf
									},
								},
							},
							c88:{
								pts:new Pts().data,
							},
							c88p:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.c88p.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.c88p.ptsget.sdamod.seainf
									},
								},
							},
							c85:{
								pts:new Pts().data,
							},
							c85p:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.mt30m.c85p.ptsget.sdamod.dadsnd
										seainf:"",			//  		.mt30m.c85p.ptsget.sdamod.seainf
									},
								},
							},
							comcur:"",			//  Broker's Commission Cur.		.mt30m.comcur
							comamt:"",			//  Broker's Commission Amount		.mt30m.comamt
							ctpref:"",			//  Counterparty's Reference		.mt30m.ctpref
							c88ref:"",			//  Broker's Reference		.mt30m.c88ref
							str300:"",			//  Sender to Receiver Information		.mt30m.str300
							enttyp:"",			//  Event Type		.mt30m.enttyp
							sndref:"",			//  Reference		.mt30m.sndref
							unlref:"",			//  Underlying Liability Reference		.mt30m.unlref
							plsdat:"",			//  Profit and Loss Srttlement Date		.mt30m.plsdat
							plsamt:"",			//  Profit and Loss Settlement Amount		.mt30m.plsamt
							plscur:"",			//  Profit and Loss Settlement Amount CUR		.mt30m.plscur
							ouscur:"",			//  Outstanding Settlement Amount CUR		.mt30m.ouscur
							ousamt:"",			//  Outstanding Settlement Amount		.mt30m.ousamt
						},
						fxt300l1blk:"",			//  XMLPanel fxt300l1的内置block		.fxt300l1blk
						pageId: "",			// ctx的key
						setmod: new Pub().data.Setmod,
						docpan: new Pub().data.Docpan,
						liaccv: new Pub().data.Liaccv,
						trndia: new Pub().data.Trndia,
				}
    }
}