import Api from "~/service/Api"
import Pts from "~/page/Model/Common/Pts"

export default class Fxtfcn{
    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
							},
							apl:{
								pts:new Pts().data,
								dbfadrblkcn:"",			//  Chinese address		.fxdgrp.apl.dbfadrblkcn
							},
							blk:{
								remark:"",			//  备注		.fxdgrp.blk.remark
							},
							cbs:{
								opn2:{
									cur:"",			//  Orig.Amount		.fxdgrp.cbs.opn2.cur
									amt:"",			//  Balance		.fxdgrp.cbs.opn2.amt
								},
								nom1:{
									amt:"",			//  Balance		.fxdgrp.cbs.nom1.amt
									cur:"",			//  待销账金额		.fxdgrp.cbs.nom1.cur
								},
							},
							act:{
								pts:new Pts().data,
								dbfadrblkcn:"",			//  Chinese address		.fxdgrp.act.dbfadrblkcn
							},
						},
						fxtp:{
							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:"",			//  资金部负责人		.fxtp.usr.extkey
							},
							actp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.fxtp.actp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.fxtp.actp.ptsget.sdamod.dadsnd
									},
								},
							},
						},
						mtabut:{
							clsflg:"",			//  Close Flag		.mtabut.clsflg
						},
						canamt:"",			//  Cancel Amount		.canamt
						cancur:"",			//  实际销账金额		.cancur
						pageId: ""			// ctx的key
				}
    }
}