index.js 11.5 KB
Newer Older
1
import Api from "~/service/Api";
fukai committed
2
import Pts from "../Common/Pts"
fukai committed
3
export default class Cptopn{
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
    constructor () {
        this.data = {
						cpdgrp:{
							rec:{
								ownref:"",			//  Our Reference		.cpdgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.cpdgrp.rec.nam
								valdat:"",			//  Value Date		.cpdgrp.rec.valdat
								detchgcod:"",			//  Details of Charges		.cpdgrp.rec.detchgcod
								stagod:"",			//  Good's Code for Statistics		.cpdgrp.rec.stagod
								f23e:"",			//  指令代码		.cpdgrp.rec.f23e
								curf33b:"",			//  原始金额		.cpdgrp.rec.curf33b
								amtf33b:"",			//  原始金额		.cpdgrp.rec.amtf33b
								f36:"",			//  汇率		.cpdgrp.rec.f36
								cur71f:"",			//  发报行扣费金额		.cpdgrp.rec.cur71f
								amt71f:"",			//  发报行扣费金额		.cpdgrp.rec.amt71f
								f23b:"",			//  银行操作码		.cpdgrp.rec.f23b
hulei committed
20
								pyeact:"",			//  收款人账号		.cpdgrp.rec.pyeact
21
								sztyp:"",			//  收支类型		.cpdgrp.rec.sztyp
hulei committed
22
								orcact:"",			//  汇款人账号		.cpdgrp.rec.orcact
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
								trntyp:"",			//  汇款性�'�		.cpdgrp.rec.trntyp
								paytype:"",			//  汇款方式		.cpdgrp.rec.paytype
								gors:"",			//  收款对象		.cpdgrp.rec.gors
								paydat:"",			//  付款日期		.cpdgrp.rec.paydat
								clityp:"",			//  客户类型		.cpdgrp.rec.clityp
								feecur:"",			//  国外�'�用币种		.cpdgrp.rec.feecur
								sysno:"",			//  清算编号		.cpdgrp.rec.sysno
								swftyp:"",			//  swift type		.cpdgrp.rec.swftyp
								othbch:"",			//  所属行		.cpdgrp.rec.othbch
								feeamt:"",			//  国外�'�用金额		.cpdgrp.rec.feeamt
								tsnflg:"",			//  同名划转标志		.cpdgrp.rec.tsnflg
								ischktyp:"",			//  是否需要核验		.cpdgrp.rec.ischktyp
								prechkdat:"",			//  PRECHKDAT		.cpdgrp.rec.prechkdat
							},
							cbs:{
								nom1:{
									cur:"",			//  Currency		.cpdgrp.cbs.nom1.cur
									amt:"",			//  汇款金额		.cpdgrp.cbs.nom1.amt
								},
								max:{
									cur:"",			//  Currency		.cpdgrp.cbs.max.cur
									amt:"",			//  汇款金额		.cpdgrp.cbs.max.amt
								},
							},
							pye:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.pye.namelc
								adrelc:"",			//  地址		.cpdgrp.pye.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.pye.dbfadrblkcn
							},
							snd:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.snd.namelc
								adrelc:"",			//  地址		.cpdgrp.snd.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.snd.dbfadrblkcn
							},
							blk:{
								contag70:"",			//  Content of TAG 70		.cpdgrp.blk.contag70
							},
							orc:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.orc.namelc
								adrelc:"",			//  地址		.cpdgrp.orc.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.orc.dbfadrblkcn
							},
							ori:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.ori.namelc
								adrelc:"",			//  地址		.cpdgrp.ori.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.ori.dbfadrblkcn
							},
						},
						cptp:{
							recget:{
								sdamod:{
									seainf:"",			//  		.cptp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.cptp.recget.sdamod.dadsnd
								},
							},
							shktyp:"",			//  static text 收汇款对象		.cptp.shktyp
							valdat:"",			//  static text		.cptp.valdat
							paydatsta:"",			//  static of paydat		.cptp.paydatsta
							feesta:"",			//  static of fee		.cptp.feesta
							clmlab:"",			//  static lable value		.cptp.clmlab
							commetlab:"",			//  自�'�区备注label		.cptp.commetlab
							pyep:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.cptp.pyep.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.cptp.pyep.ptsget.sdamod.dadsnd
									},
								},
							},
							sndp:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.cptp.sndp.ptsget.sdamod.dadsnd
										seainf:"",			//  		.cptp.sndp.ptsget.sdamod.seainf
									},
								},
							},
							orcp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.cptp.orcp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.cptp.orcp.ptsget.sdamod.dadsnd
									},
								},
							},
							orip:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.cptp.orip.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.cptp.orip.ptsget.sdamod.dadsnd
									},
								},
							},
							payuil:"",			//  Uil Payment		.cptp.payuil
							seclab:"",			//  static text		.cptp.seclab
							resbch:"",			//  接收行行号		.cptp.resbch
							resbchnam:"",			//  汇款人名称		.cptp.resbchnam
							commet:"",			//  附言		.cptp.commet
							flg:"",			//  电汇凭证		.cptp.flg
							bustyp:"",			//  业务种类		.cptp.bustyp
							secmod:"",			//  二代模式		.cptp.secmod
							orcadr:"",			//  付款人地址		.cptp.orcadr
							pyeadr:"",			//  收款人地址		.cptp.pyeadr
							pyebchkey:"",			//  收款人名称		.cptp.pyebchkey
							pyebchnam:"",			//  收款人开户行名称		.cptp.pyebchnam
							pyenam:"",			//  收款人名称		.cptp.pyenam
							orcnam:"",			//  付款人名称		.cptp.orcnam
liuxin committed
134 135
                            qsfysd:"",
                            fwtgyh:"",
136 137 138 139 140 141 142 143 144 145 146
							cleage:"",			//  清算代理行		.cptp.cleage
							evebch:"",			//  光大开户分行		.cptp.evebch
							coract:"",			//  清算代理行账号		.cptp.coract
							liqtyp:"",			//  清算模式		.cptp.liqtyp
							comsystbl:"",			//  自�'�区备注		.cptp.comsystbl
							reconebch:"",			//  收款�'接参与者行号		.cptp.reconebch
							reconebchnam:"",			//  收款�'接参与者名称		.cptp.reconebchnam
							draweecountcode:"",			//  付款人常驻国家/地区代码		.cptp.draweecountcode
							payeecountcode:"",			//  收款人常驻国家/地区代码		.cptp.payeecountcode
							uetr:"",			//  Uetr		.cptp.uetr
						},
liuxin committed
147
						pyenam:"",//  收款人名称		pyenam
148 149 150 151 152 153 154 155 156 157
						setmod:{
							docamttyplab:"",			//  settled amount description as label		.setmod.docamttyplab
							retmsg:"",			//  Label showing Retry overflow condition		.setmod.retmsg
							ref:"",			//  our reference		.setmod.ref
							doccur:"",			//  document currency		.setmod.doccur
							docamt:"",			//  document amount		.setmod.docamt
							dspflg:"",			//  Type of settlement		.setmod.dspflg
							xreflg:"",			//  Recalculate Rates		.setmod.xreflg
							setglg:{
								labdspflg:"",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
158
								setgll:[]
159 160 161
							},
							zmqacclab:"",			//  主�'�号LABEL		.setmod.zmqacclab
							zmqacc:"",			//  自�'�区主�'�号		.setmod.zmqacc
162 163 164 165 166
							setfog:{
								setfol:[]
							},
							setfeg:{
								setfel:[]
167
							},
168
							glemod:{
潘际乾 committed
169
								gleshwstm: {}
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
						},
						mtabut:{
							coninf:{
								oitinf:{
									labinftxt:"",			//  Label for INFTXT		.mtabut.coninf.oitinf.labinftxt
									oit:{
										inftxt:"",			//  Infotext		.mtabut.coninf.oitinf.oit.inftxt
										inflev:"",			//  Infotext Level		.mtabut.coninf.oitinf.oit.inflev
									},
								},
								oitset:{
									labinftxt:"",			//  Label for INFTXT		.mtabut.coninf.oitset.labinftxt
									oit:{
										inftxt:"",			//  Infotext		.mtabut.coninf.oitset.oit.inftxt
										inflev:"",			//  Infotext Level		.mtabut.coninf.oitset.oit.inflev
									},
								},
								conexedat:"",			//  执行日期		.mtabut.coninf.conexedat
								usr:{
									extkey:"",			//  User ID		.mtabut.coninf.usr.extkey
								},
							},
						},
						trnmod:{
							trndoc:{
								advlabel:"",			//  ADVLABEL		.trnmod.trndoc.advlabel
								amdnam:"",			//  AMDNAM		.trnmod.trndoc.amdnam
								advdoc:"",			//  国内证通知书		.trnmod.trndoc.advdoc
								advnam:"",			//  国内证落款		.trnmod.trndoc.advnam
								amdapl:"",			//  修改申请人名称		.trnmod.trndoc.amdapl
								doclbl:"",			//  Lable for CONDOCSTM		.trnmod.trndoc.doclbl
								doctrestm:"",			//  Document tree		.trnmod.trndoc.doctrestm
								shwinc:"",			//  Show Incoming Messages		.trnmod.trndoc.shwinc
								shwout:"",			//  Show Outgoing Messages		.trnmod.trndoc.shwout
								condocstm:"",			//  Connected Documents		.trnmod.trndoc.condocstm
								rcvatt:{
									seainf:"",			//  		.trnmod.trndoc.rcvatt.seainf
								},
								filrecv:"",			//  File Receiver		.trnmod.trndoc.filrecv
210
								doceot:[],
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
							},
						},
						finmod:{
							pctlab:"",			//  Percentage Label		.finmod.pctlab
							fincod:"",			//  %		.finmod.fincod
							intprd:"",			//  计息周期		.finmod.intprd
							intdat:"",			//  计息日期		.finmod.intdat
							ratchgtyp:"",			//  利率调�'方式		.finmod.ratchgtyp
							ratchgprd:"",			//  利率调�'周期		.finmod.ratchgprd
							ratchgdat:"",			//  利率调�'月日数		.finmod.ratchgdat
							graday:"",			//  宽限期		.finmod.graday
							flttyp:"",			//  浮动方式		.finmod.flttyp
							fltval:"",			//  浮动值		.finmod.fltval
							ovdinttyp:"",			//  呆滞计息方式		.finmod.ovdinttyp
							ovdintrat:"",			//  罚息比率		.finmod.ovdintrat
							act1:"",			//  第一还款�'�号		.finmod.act1
							acttyp:"",			//  第三方还款方式		.finmod.acttyp
							accbch:"",			//  入�'�机构		.finmod.accbch
							intamt:"",			//  预收息金额		.finmod.intamt
							act3:"",			//  第三方还款�'�号		.finmod.act3
						},
						trdgrp:{
							rec:{
								pntref:"",			//  Parent Contract		.trdgrp.rec.pntref
								pntnam:"",			//  Name		.trdgrp.rec.pntnam
								nam:"",			//  Name		.trdgrp.rec.nam
								issdat:"",			//  Finance Date		.trdgrp.rec.issdat
								fintyp:"",			//  Finance Type		.trdgrp.rec.fintyp
								pctfin:"",			//  % Financed		.trdgrp.rec.pctfin
								intrat:"",			//  Margin Spread applied to Interest Rate		.trdgrp.rec.intrat
								actrat:"",			//  actural rate		.trdgrp.rec.actrat
								stttendat:"",			//  Start Date Tenor		.trdgrp.rec.stttendat
								matdat:"",			//  Maturity Date		.trdgrp.rec.matdat
								tenday:"",			//  Tenor Days		.trdgrp.rec.tenday
								ownref:"",			//  Our Reference		.trdgrp.rec.ownref
							},
							cbs:{
								max:{
									cur:"",			//  Currency		.trdgrp.cbs.max.cur
									amt:"",			//  融资金额		.trdgrp.cbs.max.amt
								},
							},
							fip:{
								pts:new Pts().data,
								namelc:"",			//  名称		.trdgrp.fip.namelc
								adrelc:"",			//  地址		.trdgrp.fip.adrelc
								dbfadrblkcn:"",			//  Chinese address		.trdgrp.fip.dbfadrblkcn
							},
						},
						fipp:{
							ptsget:{
								sdamod:{
									seainf:"",			//  		.fipp.ptsget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.fipp.ptsget.sdamod.dadsnd
								},
							},
						},
						bopmod:{
							szflg:"",			//  申报类型		.bopmod.szflg
							basflg:"",			//  基础数据		.bopmod.basflg
							dclflg:"",			//  申报数据		.bopmod.dclflg
							vrfflg:"",			//  核销数据		.bopmod.vrfflg
							ownextkey:"",			//  地区机构号		.bopmod.ownextkey
							acttyp:"",			//  款项去向		.bopmod.acttyp
						},
						cnybop:{
							cnyflg:"",			//  是否报送跨境人民币2101表		.cnybop.cnyflg
							traflg:"",			//  是否报送跨境人民币2107表		.cnybop.traflg
							outflg:"",			//  是否报送跨境人民币2111表		.cnybop.outflg
							libflg:"",			//  是否报送跨境人民币2106表		.cnybop.libflg
							vouflg:"",			//  是否报送跨境人民币2122表		.cnybop.vouflg
						},
潘际乾 committed
283
						pageId: ""			// ctx的key
284 285
				}
    }
fukai committed
286
}