index.js 12.9 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 Cptati{
    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
						},
						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
							},
							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
								},
							},
132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
							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
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 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
						setmod: new Pub().data.Setmod,
						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
						// 		},
						// 	},
						// },
						trnmod: new Pub().data.Trnmod,
						// trnmod:{
						// 	trndoc:{
						// 		doccur:{
						// 			apflabcpycov:"",			//  Label 'Cover'		.trnmod.trndoc.doccur.apflabcpycov
						// 			apflabcpyori:"",			//  Label 'Original'		.trnmod.trndoc.doccur.apflabcpyori
						// 			keyadd1:"",			//  Label1 for Additional Text		.trnmod.trndoc.doccur.keyadd1
						// 			keyadd2:"",			//  Label2 for Additional Text		.trnmod.trndoc.doccur.keyadd2
						// 			keynar:"",			//  Label for Narrative		.trnmod.trndoc.doccur.keynar
						// 			cortyp:"",			//  Per Medium		.trnmod.trndoc.doccur.cortyp
						// 			oriflg:"",			//  Type of Copy		.trnmod.trndoc.doccur.oriflg
						// 			apf:"",			//  Application Form for SMH		.trnmod.trndoc.doccur.apf
						// 			apftyp1:"",			//  type 1		.trnmod.trndoc.doccur.apftyp1
						// 			apfcpy1:"",			//  no. of copies for type 1		.trnmod.trndoc.doccur.apfcpy1
						// 			apfcpyori:"",			//  no. originals for original for Send To		.trnmod.trndoc.doccur.apfcpyori
						// 			apftyp2:"",			//  type 2		.trnmod.trndoc.doccur.apftyp2
						// 			apfcpy2:"",			//  no. of copies for type 2		.trnmod.trndoc.doccur.apfcpy2
						// 			apfcpy5:"",			//  no. of copies Original CPY 2		.trnmod.trndoc.doccur.apfcpy5
						// 			apftyp3:"",			//  type 3		.trnmod.trndoc.doccur.apftyp3
						// 			apfcpy3:"",			//  no. of copies for type 3		.trnmod.trndoc.doccur.apfcpy3
						// 			apfcpy6:"",			//  no. of copies Original CPY 3		.trnmod.trndoc.doccur.apfcpy6
						// 			apftyp4:"",			//  type 4		.trnmod.trndoc.doccur.apftyp4
						// 			apfcpy4:"",			//  no. of copies for type 4		.trnmod.trndoc.doccur.apfcpy4
						// 			apfcpy7:"",			//  no. of copies Original CPY 4		.trnmod.trndoc.doccur.apfcpy7
						// 			ptcnam:"",			//  Contact		.trnmod.trndoc.doccur.ptcnam
						// 			addtxt:"",			//  Additional text for letter		.trnmod.trndoc.doccur.addtxt
						// 			addtxttxm:{
						// 				chkast:"",			//  Allow *		.trnmod.trndoc.doccur.addtxttxm.chkast
						// 			},
						// 			addstr:"",			//  Additional text for electronic message		.trnmod.trndoc.doccur.addstr
						// 			addstrtxm:{
						// 				chkast:"",			//  Allow *		.trnmod.trndoc.doccur.addstrtxm.chkast
						// 			},
						// 			tag79z:"",			//  Narrative for MT 730, MT752 and MT756		.trnmod.trndoc.doccur.tag79z
						// 			roladr:"",			//  actual role of receiver		.trnmod.trndoc.doccur.roladr
						// 			rcv:{
						// 				pts:new Pts().data,
						// 				namelc:"",			//  名称		.trnmod.trndoc.doccur.rcv.namelc
						// 				adrelc:"",			//  地址		.trnmod.trndoc.doccur.rcv.adrelc
						// 				dbfadrblkcn:"",			//  Chinese address		.trnmod.trndoc.doccur.rcv.dbfadrblkcn
						// 				adr:{
						// 					cortyp:"",			//  Primary Output Chanel of Messages SWT, LET, TLX, TCO		.trnmod.trndoc.doccur.rcv.adr.cortyp
						// 					uil:"",			//  Default Language Code		.trnmod.trndoc.doccur.rcv.adr.uil
						// 				},
						// 			},
						// 			rcvp:{
						// 				ptsget:{
						// 					sdamod:{
						// 						seainf:"",			//  		.trnmod.trndoc.doccur.rcvp.ptsget.sdamod.seainf
						// 						dadsnd:"",			//  Drag  Drop Sender		.trnmod.trndoc.doccur.rcvp.ptsget.sdamod.dadsnd
						// 					},
						// 				},
						// 			},
						// 			adrbic:"",			//  BIC		.trnmod.trndoc.doccur.adrbic
						// 			adrbicaut:"",			//  BIC/S.W.I.F.T. Authenticator Exchanged		.trnmod.trndoc.doccur.adrbicaut
						// 			msgpri:"",			//  Message Priority /SWIFT/Telex		.trnmod.trndoc.doccur.msgpri
						// 			adrblk:"",			//  Address		.trnmod.trndoc.doccur.adrblk
						// 			docdat:"",			//  Document Date		.trnmod.trndoc.doccur.docdat
						// 			supcovflg:"",			//  Suppress Cover Letter		.trnmod.trndoc.doccur.supcovflg
						// 			adrtid:"",			//  TradeConnect ID		.trnmod.trndoc.doccur.adrtid
						// 			adrtlx:"",			//  Telexnumber		.trnmod.trndoc.doccur.adrtlx
						// 			adrtlxaut:"",			//  Telex Authenticator Exchanged		.trnmod.trndoc.doccur.adrtlxaut
						// 			adrtlxans:"",			//  Telex Answerback		.trnmod.trndoc.doccur.adrtlxans
						// 			adreml:"",			//  Email address		.trnmod.trndoc.doccur.adreml
						// 			adrfax:"",			//  Faxnumber		.trnmod.trndoc.doccur.adrfax
						// 			adrdtacid:"",			//  DTA Account		.trnmod.trndoc.doccur.adrdtacid
						// 			adrrid:"",			//  Bolero Address RID		.trnmod.trndoc.doccur.adrrid
						// 			adrdtecid:"",			//  DTE Account		.trnmod.trndoc.doccur.adrdtecid
						// 			ptmstm:"",			//  stream of ptm records of selected address		.trnmod.trndoc.doccur.ptmstm
						// 			keycur:"",			//  Currency Telex/SWIFT for Key		.trnmod.trndoc.doccur.keycur
						// 			keyamt:"",			//  Key Amount		.trnmod.trndoc.doccur.keyamt
						// 			keytxt:"",			//  Key Text for Telex/SWIFT Key		.trnmod.trndoc.doccur.keytxt
						// 			adrref:"",			//  Contract Reference of Receiver		.trnmod.trndoc.doccur.adrref
						// 			attlab:"",			//  'Attached' Information		.trnmod.trndoc.doccur.attlab
						// 			remark:"",			//  备注(电证)		.trnmod.trndoc.doccur.remark
						// 		},
						// 		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
						// 	},
						// },
268 269 270 271 272 273
						lendoc:{
							actflg:"",			//  Input Account		.lendoc.actflg
							account:"",			//  ACT		.lendoc.account
							vercerref:"",			//  Verification Certificate Number		.lendoc.vercerref
							decnum:"",			//  Declaration Number		.lendoc.decnum
						},
chenzhaole committed
274 275 276 277 278 279 280 281 282 283
						bopmod:{
							szflg:"",			//  申报类型		.bopmod.szflg
							basflg:"",			//  基础数据		.bopmod.basflg
							dclflg:"",			//  申报数据		.bopmod.dclflg
							vrfflg:"",			//  核销数据		.bopmod.vrfflg
							ownextkey:"",			//  地区机构号		.bopmod.ownextkey
							outchargeccy:"",			//  国外银行扣费(涉外收入申报专用)		.bopmod.outchargeccy
							outchargeamt:"",			//  国外银行扣费(涉外收入申报专用)		.bopmod.outchargeamt
							acttyp:"",			//  款项来源		.bopmod.acttyp
						},
284

chenzhaole committed
285 286 287 288
						pageId: ""			// ctx的key
				}
    }
}