index.js 7.2 KB
Newer Older
fukai committed
1
import Api from "~/service/Api"
fukai committed
2
import Pts from "~/page/Model/Common/Pts"
3
import Pub from "../../../../components/business/commonModel/index.js";
fukai committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225

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,
							},
						},
						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
226 227 228 229 230
						pageId: "",			// ctx的key
						setmod: new Pub().data.Setmod,
						docpan: new Pub().data.Docpan,
						liaccv: new Pub().data.Liaccv,
						trndia: new Pub().data.Trndia,
fukai committed
231 232 233
				}
    }
}