index.js 16.8 KB
Newer Older
jxl committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3
import Pub from "../Public"
huangxin committed
4

jxl committed
5 6 7
export default class Botset{
    constructor () {
        this.data = {
8 9
			botdrrl1blk:"",
			botcoll1blk:"",
jxl committed
10
						bodgrp:{
huangxin committed
11 12 13 14 15 16 17 18 19
							blk:{
								colins:"",			//  Collection Instructions		.bodgrp.blk.colins
								colinsflg:"",			//  Collection instructions modified		.bodgrp.blk.colinsflg
								dftins:"",			//  Draft Instructions		.bodgrp.blk.dftins
								proins:"",			//  Protest Instructions		.bodgrp.blk.proins
								othins:"",			//  Other Instructions		.bodgrp.blk.othins
								chgtxt:"",			//  Charges Text		.bodgrp.blk.chgtxt
								delins:"",			//  Delivery instructions		.bodgrp.blk.delins
							},
jxl committed
20
							rec:{
huangxin committed
21
								chato:"",			//  Our Charges to		.bodgrp.rec.chato
jxl committed
22
								focflg:"",			//  Free of Payment		.bodgrp.rec.focflg
huangxin committed
23 24 25 26
								waicolcod:"",			//  Protest Instructions		.bodgrp.rec.waicolcod
								wairmtcod:"",			//  Waive Remitting Bank Charges		.bodgrp.rec.wairmtcod
								othins:"",			//  Defer Payment until		.bodgrp.rec.othins
								lescom:"",			//  Warehouse/Insurance		.bodgrp.rec.lescom
jxl committed
27 28 29 30 31 32 33 34 35 36 37 38
								matpertyp:"",			//  Days/Months or Years for Maturity Period		.bodgrp.rec.matpertyp
								ownref:"",			//  Reference		.bodgrp.rec.ownref
								nam:"",			//  Name		.bodgrp.rec.nam
								doctypcod:"",			//  Collection Condition		.bodgrp.rec.doctypcod
								docsta:"",			//  Document Set Status		.bodgrp.rec.docsta
								matdat:"",			//  Maturity Date		.bodgrp.rec.matdat
								matpercnt:"",			//  Tenor Specification		.bodgrp.rec.matpercnt
								matperbeg:"",			//  Start of Maturity Period MATBEG		.bodgrp.rec.matperbeg
								rcvdat:"",			//  Order Date		.bodgrp.rec.rcvdat
								predat:"",			//  Presentation Date		.bodgrp.rec.predat
							},
							cbs:{
huangxin committed
39 40 41 42
								opn1:{
									cur:"",			//  Open Amount		.bodgrp.cbs.opn1.cur
									amt:"",			//  Open Amount		.bodgrp.cbs.opn1.amt
								},
jxl committed
43 44 45 46 47 48 49
								max:{
									cur:"",			//  Document Amount		.bodgrp.cbs.max.cur
									amt:"",			//  Document Amount		.bodgrp.cbs.max.amt
								},
							},
							drr:{
								pts:new Pts().data,
jxl committed
50 51 52
								namelc:"",			//  名称		.bodgrp.drr.namelc
								adrelc:"",			//  地址		.bodgrp.drr.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bodgrp.drr.dbfadrblkcn
jxl committed
53 54 55
							},
							col:{
								pts:new Pts().data,
jxl committed
56 57 58
								namelc:"",			//  名称		.bodgrp.col.namelc
								adrelc:"",			//  地址		.bodgrp.col.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bodgrp.col.dbfadrblkcn
jxl committed
59 60 61
							},
							dre:{
								pts:new Pts().data,
jxl committed
62 63 64
								namelc:"",			//  名称		.bodgrp.dre.namelc
								adrelc:"",			//  地址		.bodgrp.dre.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bodgrp.dre.dbfadrblkcn
jxl committed
65
							},
jxl committed
66
						},
jxl committed
67
						botp:{
jxl committed
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
							drrp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.botp.drrp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.botp.drrp.ptsget.sdamod.dadsnd
									},
								},
							},
							colp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.botp.colp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.botp.colp.ptsget.sdamod.dadsnd
									},
								},
							},
							drep:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.botp.drep.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.botp.drep.ptsget.sdamod.dadsnd
									},
								},
							},
							ptsaddp:{
								ptsaddg:[],			//  		.botp.ptsaddp.ptsaddg
							},
huangxin committed
95 96 97 98 99 100 101 102 103 104
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.botp.recget.sdamod.dadsnd
									seainf:"",			//  		.botp.recget.sdamod.seainf
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.botp.matp.mattxtlab
							},
						},
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
						// liaall:{
						// 	misamt:"",			//  Amount not yet assigned		.liaall.misamt
						// 	concur:"",			//  External Booking Amount		.liaall.concur
						// 	outpct:"",			//  Sight Amount Percentage		.liaall.outpct
						// 	outamt:"",			//  Sight Amount		.liaall.outamt
						// 	exttotoldamt:"",			//  Old Amount booked externally		.liaall.exttotoldamt
						// 	exttotamt:"",			//  Total booking amount external assinged		.liaall.exttotamt
						// 	limmod:{
						// 		limpts:{
						// 			wrklab:"",			//  Label		.liaall.limmod.limpts.wrklab
						// 			othlab:"",			//  Label		.liaall.limmod.limpts.othlab
						// 			othlabss:"",			//  Label		.liaall.limmod.limpts.othlabss
						// 			wrk:{
						// 				pts:new Pts().data,
						// 			},
						// 			oth:{
						// 				pts:new Pts().data,
						// 			},
						// 			lsh:"",			//  合同流�'号		.liaall.limmod.limpts.lsh
						// 			nonrevflg1:"",			//  Flag to Mark Non-revolving Limits		.liaall.limmod.limpts.nonrevflg1
						// 			pfcod1:"",			//  合同流�'号		.liaall.limmod.limpts.pfcod1
						// 			nonrevflg2:"",			//  Flag to Mark Non-revolving Limits		.liaall.limmod.limpts.nonrevflg2
						// 			pfcod2:"",			//  合同流�'号		.liaall.limmod.limpts.pfcod2
						// 		},
						// 		wrkp:{
						// 			ptsget:{
						// 				sdamod:{
						// 					dadsnd:"",			//  Drag  Drop Sender		.liaall.limmod.wrkp.ptsget.sdamod.dadsnd
						// 					seainf:"",			//  		.liaall.limmod.wrkp.ptsget.sdamod.seainf
						// 				},
						// 			},
						// 		},
						// 		othp:{
						// 			ptsget:{
						// 				sdamod:{
						// 					dadsnd:"",			//  Drag  Drop Sender		.liaall.limmod.othp.ptsget.sdamod.dadsnd
						// 					seainf:"",			//  		.liaall.limmod.othp.ptsget.sdamod.seainf
						// 				},
						// 			},
						// 		},
						// 		ownref:"",			//  国结业务编号		.liaall.limmod.ownref
						// 		comamt:"",			//  业务余额		.liaall.limmod.comamt
						// 		ccvamt:"",			//  保证金余额		.liaall.limmod.ccvamt
						// 		ecifno:"",			//  ECIFNO		.liaall.limmod.ecifno
						// 	},
						// 	tenstm:"",			//  Tenor Stream		.liaall.tenstm
						// },
						// 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:"",			//  Settle Amt.		.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
						// 	},
						// 	redamt:"",			//  Reduction Amt.		.setmod.redamt
						// },
						// 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
						// 		},
						// 	},
						// 	clsflg:"",			//  Close Flag		.mtabut.clsflg
						// },
						// 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
						// 	},
						// },
jxl committed
211 212 213 214 215
						lendoc:{
							actflg:"",			//  Input Account		.lendoc.actflg
							account:"",			//  ACT		.lendoc.account
							vercerref:"",			//  Verification Certificate Number		.lendoc.vercerref
							decnum:"",			//  Declaration Number		.lendoc.decnum
huangxin committed
216
							botsetl1blk:"",
jxl committed
217 218 219 220 221 222 223 224 225 226
						},
						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
huangxin committed
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
							dbdp:{
								baspp:{
									cusnam:"",			//  		.bopmod.dbdp.baspp.cusnam
									cornam:"",			//  		.bopmod.dbdp.baspp.cornam
									corpnam:"",			//  		.bopmod.dbdp.baspp.corpnam
									roptnam:"",			//  RoptNam		.bopmod.dbdp.baspp.roptnam
									exratelab:"",			//  �'�汇/结汇汇率		.bopmod.dbdp.baspp.exratelab
									lcyamtlab:"",			//  �'�汇/结汇金额		.bopmod.dbdp.baspp.lcyamtlab
									acp:"",			//  确认		.bopmod.dbdp.baspp.acp
									tmprefnew:"",			//  TMPREFLABEL		.bopmod.dbdp.baspp.tmprefnew
								},
							},
							dbdgrp:{
								bas:{
									tmpref:"",			//  �'时申报流�'号		.bopmod.dbdgrp.bas.tmpref
									ownextkey:"",			//  地区机构号		.bopmod.dbdgrp.bas.ownextkey
									actiontype:"",			//  操作类型		.bopmod.dbdgrp.bas.actiontype
									rptno:"",			//  申报号码		.bopmod.dbdgrp.bas.rptno
									idcode:"",			//  身份证件号码		.bopmod.dbdgrp.bas.idcode
									lcyacc:"",			//  人民币帐号/银行卡号		.bopmod.dbdgrp.bas.lcyacc
									fcyamt:"",			//  现汇金额		.bopmod.dbdgrp.bas.fcyamt
									fcyacc:"",			//  外汇帐号/银行卡号		.bopmod.dbdgrp.bas.fcyacc
									othamt:"",			//  其它金额		.bopmod.dbdgrp.bas.othamt
									othacc:"",			//  其它帐号/银行卡号		.bopmod.dbdgrp.bas.othacc
									methods:"",			//  结算方式		.bopmod.dbdgrp.bas.methods
									buscode:"",			//  银行业务编号		.bopmod.dbdgrp.bas.buscode
									custype:"",			//  类型		.bopmod.dbdgrp.bas.custype
									actiondesc:"",			//  操作类型		.bopmod.dbdgrp.bas.actiondesc
									exrate:"",			//  结汇汇率		.bopmod.dbdgrp.bas.exrate
									lcyamt:"",			//  结汇金额		.bopmod.dbdgrp.bas.lcyamt
									custnm:"",			//  收款人名称		.bopmod.dbdgrp.bas.custnm
									oppuser:"",			//  付款人名称		.bopmod.dbdgrp.bas.oppuser
									custcod:"",			//  组织机构		.bopmod.dbdgrp.bas.custcod
									inchargeccy:"",			//  国内银行扣费		.bopmod.dbdgrp.bas.inchargeccy
									inchargeamt:"",			//  国内银行扣费		.bopmod.dbdgrp.bas.inchargeamt
									txccy:"",			//  收入款币种及金额		.bopmod.dbdgrp.bas.txccy
huangxin committed
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
									txamt:"",
								},
							},			//  收入款币种及金额		.bopmod.dbdgrp.bas.txamt
							dbap:{
								baspp:{
									cusnam:"",			//  		.bopmod.dbap.baspp.cusnam
									cornam:"",			//  		.bopmod.dbap.baspp.cornam
									corpnam:"",			//  		.bopmod.dbap.baspp.corpnam
									roptnam:"",			//  RoptNam		.bopmod.dbap.baspp.roptnam
									exratelab:"",			//  �'�汇/结汇汇率		.bopmod.dbap.baspp.exratelab
									lcyamtlab:"",			//  �'�汇/结汇金额		.bopmod.dbap.baspp.lcyamtlab
									acp:"",			//  确认		.bopmod.dbap.baspp.acp
									tmprefnew:"",			//  TMPREFLABEL		.bopmod.dbap.baspp.tmprefnew
								},
							},
							dbagrp:{
								bas:{
									tmpref:"",			//  �'时申报流�'号		.bopmod.dbagrp.bas.tmpref
									ownextkey:"",			//  地区机构号		.bopmod.dbagrp.bas.ownextkey
									actiontype:"",			//  操作类型		.bopmod.dbagrp.bas.actiontype
									rptno:"",			//  申报号码		.bopmod.dbagrp.bas.rptno
									idcode:"",			//  身份证件号码		.bopmod.dbagrp.bas.idcode
									lcyacc:"",			//  人民币帐号/银行卡号		.bopmod.dbagrp.bas.lcyacc
									fcyamt:"",			//  现汇金额		.bopmod.dbagrp.bas.fcyamt
									fcyacc:"",			//  外汇帐号/银行卡号		.bopmod.dbagrp.bas.fcyacc
									othamt:"",			//  其它金额		.bopmod.dbagrp.bas.othamt
									othacc:"",			//  其它帐号/银行卡号		.bopmod.dbagrp.bas.othacc
									methods:"",			//  结算方式		.bopmod.dbagrp.bas.methods
									buscode:"",			//  银行业务编号		.bopmod.dbagrp.bas.buscode
									custype:"",			//  类型		.bopmod.dbagrp.bas.custype
									actiondesc:"",			//  操作类型		.bopmod.dbagrp.bas.actiondesc
									exrate:"",			//  结汇汇率		.bopmod.dbagrp.bas.exrate
									lcyamt:"",			//  结汇金额		.bopmod.dbagrp.bas.lcyamt
									custnm:"",			//  收款人名称		.bopmod.dbagrp.bas.custnm
									oppuser:"",			//  付款人名称		.bopmod.dbagrp.bas.oppuser
									custcod:"",			//  组织机构		.bopmod.dbagrp.bas.custcod
									inchargeccy:"",			//  国内银行扣费		.bopmod.dbagrp.bas.inchargeccy
									inchargeamt:"",			//  国内银行扣费		.bopmod.dbagrp.bas.inchargeamt
									outchargeamt:"",			//  国外银行扣费		.bopmod.dbagrp.bas.outchargeamt
									outchargeccy:"",			//  国外银行扣费		.bopmod.dbagrp.bas.outchargeccy
									txccy:"",			//  收入款币种及金额		.bopmod.dbagrp.bas.txccy
									txamt:"",			//  收入款币种及金额		.bopmod.dbagrp.bas.txamt
huangxin committed
305 306
								},
							},
jxl committed
307 308 309 310 311 312 313
						},
						cnybop:{
							cnyflg:"",			//  是否报送跨境人民币2101表		.cnybop.cnyflg
							traflg:"",			//  是否报送跨境人民币2107表		.cnybop.traflg
							outflg:"",			//  是否报送跨境人民币2111表		.cnybop.outflg
							libflg:"",			//  是否报送跨境人民币2106表		.cnybop.libflg
							vouflg:"",			//  是否报送跨境人民币2122表		.cnybop.vouflg
huangxin committed
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344
							cnyinc:{
								spk:"",			//  业务主键		.cnybop.cnyinc.spk
								sbankorgcode:"",			//  银行机构代码		.cnybop.cnyinc.sbankorgcode
								spayeeorgcode:"",			//  收款人机构代码		.cnybop.cnyinc.spayeeorgcode
								sswiftbic:"",			//  付款行SWIFT BIC		.cnybop.cnyinc.sswiftbic
								spayeracct:"",			//  清算(结算)账户账号		.cnybop.cnyinc.spayeracct
								smidtransbank:"",			//  中�'转汇行		.cnybop.cnyinc.smidtransbank
								dpayeedate:"",			//  收款日期		.cnybop.cnyinc.dpayeedate
								sbalancemode:"",			//  结算方式		.cnybop.cnyinc.sbalancemode
								sorilevyno:"",			//  原申报号码		.cnybop.cnyinc.sorilevyno
								sbanktrano:"",			//  银行业务编号		.cnybop.cnyinc.sbanktrano
								fpayeeamt:"",			//  货物贸易收款金额		.cnybop.cnyinc.fpayeeamt
								fcustomsamt:"",			//  已报关收款金额		.cnybop.cnyinc.fcustomsamt
								frecordamt:"",			//  已备案收款金额		.cnybop.cnyinc.frecordamt
								fprepayeeamt:"",			//  预收款金额		.cnybop.cnyinc.fprepayeeamt
								iaccountperiod:"",			//  结�'�期		.cnybop.cnyinc.iaccountperiod
								fonshoreamt:"",			//  无货物报关进出境物流货物金额		.cnybop.cnyinc.fonshoreamt
								foffshoreamt:"",			//  无货物报关离岸转手买卖金额		.cnybop.cnyinc.foffshoreamt
								fnogoodsamt:"",			//  无货物报关其他金额		.cnybop.cnyinc.fnogoodsamt
								cpayeeattr:"",			//  收款人属性		.cnybop.cnyinc.cpayeeattr
								cpayeraccttyp:"",			//  清算(结算)帐户类型		.cnybop.cnyinc.cpayeraccttyp
								spayercountrycode:"",			//  付款人常驻国家(地区)代码		.cnybop.cnyinc.spayercountrycode
								spayeecny:"",			//  收款币种		.cnybop.cnyinc.spayeecny
								spayeeacct:"",			//  收款人账号		.cnybop.cnyinc.spayeeacct
								ftotalamt:"",			//  原币金额		.cnybop.cnyinc.ftotalamt
							},
							spayeename:"",			//  收款人名称		.cnybop.spayeename
							spayername:"",			//  付款人名称		.cnybop.spayername
							saddword:"",			//  交易附言		.cnybop.saddword
							sbankname:"",			//  银行机构名称		.cnybop.sbankname
							incscale:"",			//  INCSCALE		.cnybop.incscale
jxl committed
345
						},
huangxin committed
346 347 348 349 350
						bptbck:{
							bptbckg:[],			//  		.bptbck.bptbckg
							dscbckcur:"",			//  currency discount paid back		.bptbck.dscbckcur
						},
						liaall: new Pub().data.Liaall,
351 352 353
						setmod: new Pub().data.Setmod,
						mtabut: new Pub().data.Mtabut,
						trnmod: new Pub().data.Trnmod,
jxl committed
354 355 356 357
						pageId: ""			// ctx的key
				}
    }
}