index.js 13.3 KB
Newer Older
chenzhaole committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3
import Pub from "../Public"
chenzhaole 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

export default class Cptato{
    constructor () {
        this.data = {
						attp:{
							shktyp:"",			//  static text 收汇款对象		.attp.shktyp
							opndatlab:"",			//  日期标签		.attp.opndatlab
							xnglab:"",			//  相关参考号		.attp.xnglab
							recget:{
								sdamod:{
									seainf:"",			//  		.attp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.attp.recget.sdamod.dadsnd
								},
							},
							sndlab:"",			//  SND Rol  Lable		.attp.sndlab
							pyep:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.attp.pyep.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.attp.pyep.ptsget.sdamod.dadsnd
									},
								},
							},
							resbch:"",			//  接收行BIC		.attp.resbch
							resbchnam:"",			//  接收行名称		.attp.resbchnam
							sndbchnam:"",			//  发报行名称		.attp.sndbchnam
							sndbch:"",			//  发报行BIC		.attp.sndbch
							orcp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.attp.orcp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.attp.orcp.ptsget.sdamod.dadsnd
									},
								},
							},
							orcadr:"",			//  汇款人地址		.attp.orcadr
							orcnam:"",			//  汇款人名称		.attp.orcnam
							pyenam:"",			//  收款人名称		.attp.pyenam
							pyeadr:"",			//  收款人地址		.attp.pyeadr
							payuil:"",			//  Uil Payment		.attp.payuil
							opndat:"",			//  起息日期		.attp.opndat
							bustyp:"",			//  业务种类		.attp.bustyp
							acctyp:"",			//  汇款人账户性质		.attp.acctyp
							swftyp:"",			//  报文类型		.attp.swftyp
							feetyp:"",			//  �'�用类型		.attp.feetyp
							sysno:"",			//  清算编号		.attp.sysno
							xnggbh:"",			//  相关参考号		.attp.xnggbh
							country:"",			//  付款人常驻国家/地区编码		.attp.country
							paycountcode:"",			//  收款人常驻国家/地区代码		.attp.paycountcode
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
							comlab:"",			//  附言标签		.attp.comlab
							commetlab:"",			//  自�'�区备注label		.attp.commetlab
							pybp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.attp.pybp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.attp.pybp.ptsget.sdamod.dadsnd
									},
								},
							},
							medp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.attp.medp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.attp.medp.ptsget.sdamod.dadsnd
									},
								},
							},
							rmtp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.attp.rmtp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.attp.rmtp.ptsget.sdamod.dadsnd
									},
								},
							},
							orip:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.attp.orip.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.attp.orip.ptsget.sdamod.dadsnd
									},
								},
							},
							atd:{
								sbkact:"",			//  汇款人开户行�'�号		.attp.atd.sbkact
								rbkact:"",			//  收款人开户行�'�号		.attp.atd.rbkact
							},
							shouyh:"",			//  受益行		.attp.shouyh
							com102:"",			//  Account with Institution / Account (Tag 57a)		.attp.com102
							commet:"",			//  附言		.attp.commet
							comsystbl:"",			//  自�'�区备注		.attp.comsystbl
chenzhaole committed
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
						},
						cpdgrp:{
							rec:{
								ownref:"",			//  业务编号		.cpdgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.cpdgrp.rec.nam
								pyeact:"",			//  收款人帐号		.cpdgrp.rec.pyeact
								orcact:"",			//  汇款人帐号		.cpdgrp.rec.orcact
								trntyp:"",			//  汇款性�'�		.cpdgrp.rec.trntyp
								paytype:"",			//  汇款方式		.cpdgrp.rec.paytype
								gors:"",			//  收款对象		.cpdgrp.rec.gors
								clityp:"",			//  客户类型		.cpdgrp.rec.clityp
								othbch:"",			//  所属行		.cpdgrp.rec.othbch
								valdat:"",			//  Value Date		.cpdgrp.rec.valdat
								tsnflg:"",			//  同名划转标志		.cpdgrp.rec.tsnflg
								prechkdat:"",			//  PRECHKDAT		.cpdgrp.rec.prechkdat
								ischktyp:"",			//  是否需要核验		.cpdgrp.rec.ischktyp
							},
							pye:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.pye.namelc
								adrelc:"",			//  地址		.cpdgrp.pye.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.pye.dbfadrblkcn
							},
							orc:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.orc.namelc
								adrelc:"",			//  地址		.cpdgrp.orc.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.orc.dbfadrblkcn
							},
							cbs:{
								nom1:{
									cur:"",			//  汇款金额		.cpdgrp.cbs.nom1.cur
									amt:"",			//  汇款金额		.cpdgrp.cbs.nom1.amt
								},
								max:{
									cur:"",			//  汇款金额		.cpdgrp.cbs.max.cur
									amt:"",			//  汇款金额		.cpdgrp.cbs.max.amt
								},
							},
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
							pyb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.pyb.namelc
								adrelc:"",			//  地址		.cpdgrp.pyb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.pyb.dbfadrblkcn
							},
							med:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.med.namelc
								adrelc:"",			//  地址		.cpdgrp.med.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.med.dbfadrblkcn
							},
							rmt:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.rmt.namelc
								adrelc:"",			//  地址		.cpdgrp.rmt.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.rmt.dbfadrblkcn
							},
							ori:{
								pts:new Pts().data,
								namelc:"",			//  名称		.cpdgrp.ori.namelc
								adrelc:"",			//  地址		.cpdgrp.ori.adrelc
								dbfadrblkcn:"",			//  Chinese address		.cpdgrp.ori.dbfadrblkcn
							},
chenzhaole committed
158
						},
159
						setmod: new Pub().data.Setmod,
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
						// setmod: new Pub().data.Setmod,
			            // mtabut: new Pub().data.Mtabut,
			            // trnmod: new Pub().data.Trnmod,
			            // liaall: new Pub().data.Liaall,
						// 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
						// 	},
						// 	zmqacclab:"",			//  主�'�号LABEL		.setmod.zmqacclab
						// 	zmqacc:"",			//  自�'�区主�'�号		.setmod.zmqacc
						// 	glemod:{
						// 		gleshwstm:"",			//  Booking stream to Display		.setmod.glemod.gleshwstm
						// 	},
						// },
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203
						mtabut: new Pub().data.Mtabut,
						// 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
						// 		},
						// 	},
						// },
204
						trnmod: new Pub().data.Trnmod,
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
						// 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
						// 	},
						// },
chenzhaole committed
223 224 225 226 227 228 229
						bopmod:{
							szflg:"",			//  申报类型		.bopmod.szflg
							basflg:"",			//  基础数据		.bopmod.basflg
							dclflg:"",			//  申报数据		.bopmod.dclflg
							vrfflg:"",			//  核销数据		.bopmod.vrfflg
							ownextkey:"",			//  地区机构号		.bopmod.ownextkey
							acttyp:"",			//  款项去向		.bopmod.acttyp
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 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304
							dbbp:{
								baspp:{
									cusnam:"",			//  		.bopmod.dbbp.baspp.cusnam
									cornam:"",			//  		.bopmod.dbbp.baspp.cornam
									corpnam:"",			//  		.bopmod.dbbp.baspp.corpnam
									roptnam:"",			//  RoptNam		.bopmod.dbbp.baspp.roptnam
									exratelab:"",			//  �'�汇/结汇汇率		.bopmod.dbbp.baspp.exratelab
									lcyamtlab:"",			//  �'�汇/结汇金额		.bopmod.dbbp.baspp.lcyamtlab
									acp:"",			//  确认		.bopmod.dbbp.baspp.acp
									tmprefnew:"",			//  TMPREFLABEL		.bopmod.dbbp.baspp.tmprefnew
								},
							},
							dbbgrp:{
								bas:{
									tmpref:"",			//  �'时申报流�'号		.bopmod.dbbgrp.bas.tmpref
									ownextkey:"",			//  地区机构号		.bopmod.dbbgrp.bas.ownextkey
									actiontype:"",			//  操作类型		.bopmod.dbbgrp.bas.actiontype
									rptno:"",			//  申报号码		.bopmod.dbbgrp.bas.rptno
									idcode:"",			//  身份证件号码		.bopmod.dbbgrp.bas.idcode
									lcyacc:"",			//  人民币帐号/银行卡号		.bopmod.dbbgrp.bas.lcyacc
									fcyamt:"",			//  现汇金额		.bopmod.dbbgrp.bas.fcyamt
									fcyacc:"",			//  外汇帐号/银行卡号		.bopmod.dbbgrp.bas.fcyacc
									othamt:"",			//  其它金额		.bopmod.dbbgrp.bas.othamt
									othacc:"",			//  其它帐号/银行卡号		.bopmod.dbbgrp.bas.othacc
									methods:"",			//  结算方式		.bopmod.dbbgrp.bas.methods
									buscode:"",			//  银行业务编号		.bopmod.dbbgrp.bas.buscode
									custype:"",			//  类型		.bopmod.dbbgrp.bas.custype
									actiondesc:"",			//  操作类型		.bopmod.dbbgrp.bas.actiondesc
									exrate:"",			//  �'�汇汇率		.bopmod.dbbgrp.bas.exrate
									lcyamt:"",			//  �'�汇金额		.bopmod.dbbgrp.bas.lcyamt
									custnm:"",			//  汇款人名称		.bopmod.dbbgrp.bas.custnm
									oppuser:"",			//  收款人名称		.bopmod.dbbgrp.bas.oppuser
									custcod:"",			//  组织机构		.bopmod.dbbgrp.bas.custcod
									txccy:"",			//  汇款币种及金额		.bopmod.dbbgrp.bas.txccy
									txamt:"",			//  汇款币种及金额		.bopmod.dbbgrp.bas.txamt
								},
							},
							dbep:{
								baspp:{
									cusnam:"",			//  		.bopmod.dbep.baspp.cusnam
									cornam:"",			//  		.bopmod.dbep.baspp.cornam
									corpnam:"",			//  		.bopmod.dbep.baspp.corpnam
									roptnam:"",			//  RoptNam		.bopmod.dbep.baspp.roptnam
									exratelab:"",			//  �'�汇/结汇汇率		.bopmod.dbep.baspp.exratelab
									lcyamtlab:"",			//  �'�汇/结汇金额		.bopmod.dbep.baspp.lcyamtlab
									acp:"",			//  确认		.bopmod.dbep.baspp.acp
									tmprefnew:"",			//  TMPREFLABEL		.bopmod.dbep.baspp.tmprefnew
								},
							},
							dbegrp:{
								bas:{
									tmpref:"",			//  �'时申报流�'号		.bopmod.dbegrp.bas.tmpref
									ownextkey:"",			//  地区机构号		.bopmod.dbegrp.bas.ownextkey
									actiontype:"",			//  操作类型		.bopmod.dbegrp.bas.actiontype
									rptno:"",			//  申报号码		.bopmod.dbegrp.bas.rptno
									idcode:"",			//  身份证件号码		.bopmod.dbegrp.bas.idcode
									lcyacc:"",			//  人民币帐号/银行卡号		.bopmod.dbegrp.bas.lcyacc
									fcyamt:"",			//  现汇金额		.bopmod.dbegrp.bas.fcyamt
									fcyacc:"",			//  外汇帐号/银行卡号		.bopmod.dbegrp.bas.fcyacc
									othamt:"",			//  其它金额		.bopmod.dbegrp.bas.othamt
									othacc:"",			//  其它帐号/银行卡号		.bopmod.dbegrp.bas.othacc
									methods:"",			//  结算方式		.bopmod.dbegrp.bas.methods
									buscode:"",			//  银行业务编号		.bopmod.dbegrp.bas.buscode
									custype:"",			//  类型		.bopmod.dbegrp.bas.custype
									actiondesc:"",			//  操作类型		.bopmod.dbegrp.bas.actiondesc
									exrate:"",			//  �'�汇汇率		.bopmod.dbegrp.bas.exrate
									lcyamt:"",			//  �'�汇金额		.bopmod.dbegrp.bas.lcyamt
									custnm:"",			//  汇款人名称		.bopmod.dbegrp.bas.custnm
									oppuser:"",			//  收款人名称		.bopmod.dbegrp.bas.oppuser
									custcod:"",			//  组织机构		.bopmod.dbegrp.bas.custcod
									txccy:"",			//  汇款币种和金额		.bopmod.dbegrp.bas.txccy
									txamt:"",			//  汇款币种和金额		.bopmod.dbegrp.bas.txamt
									oppacc:"",			//  收款人账号		.bopmod.dbegrp.bas.oppacc
								},
							},
chenzhaole committed
305 306 307 308 309
						},
						pageId: ""			// ctx的key
				}
    }
}