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

export default class Fxtfop{
    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:"",
				},
				apl:{
					pts:new Pts().data,
				},
				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
					},
				},
			},
			fxtp:{
				
			},
			setmod: new Pub().data.Setmod,
			docpan: new Pub().data.Docpan,
			trndia: new Pub().data.Trndia,
		}
    }
}