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

export default class Bctdor{
    constructor () {
        this.data = {
						bcdgrp:{
							rec:{
								ownref:"",			//  Collection Number		.bcdgrp.rec.ownref
								nam:"",			//  Name		.bcdgrp.rec.nam
								rcvdat:"",			//  Docs Received on		.bcdgrp.rec.rcvdat
								advdat:"",			//  Date of Advice of Documents Received		.bcdgrp.rec.advdat
								matdat:"",			//  Maturity Date		.bcdgrp.rec.matdat
								predat:"",			//  Maturity Date		.bcdgrp.rec.predat
								doctypcod:"",			//  Payment Condition		.bcdgrp.rec.doctypcod
								docsta:"",			//  Document Set Status		.bcdgrp.rec.docsta
								chato:"",			//  Our Charges to		.bcdgrp.rec.chato
								focflg:"",			//  Free of Payment		.bcdgrp.rec.focflg
								waicolcod:"",			//  Waive Collecting Bank Charges		.bcdgrp.rec.waicolcod
								wairmtcod:"",			//  Waive Remitting Bank Charges		.bcdgrp.rec.wairmtcod
								othins:"",			//  Defer Payment until		.bcdgrp.rec.othins
								stagod:"",			//  Good's Code (for Statistics)		.bcdgrp.rec.stagod
								proins:"",			//  Protest Instructions		.bcdgrp.rec.proins
								agtdat:"",			//  Agent's Invoice Dated Tag 43C		.bcdgrp.rec.agtdat
								relgodflg:"",			//  Release of Goods		.bcdgrp.rec.relgodflg
								reltyp:"",			//  Release Type		.bcdgrp.rec.reltyp
								relgoddat:"",			//  Release Date		.bcdgrp.rec.relgoddat
								expdat:"",			//  Expiry Date of Shipping Guarantee		.bcdgrp.rec.expdat
								trpdoctyp:"",			//  Transport Doc. Type		.bcdgrp.rec.trpdoctyp
								trpdocnum:"",			//  Transport Doc. Ref.		.bcdgrp.rec.trpdocnum
								tradat:"",			//  Document Dated		.bcdgrp.rec.tradat
								tramod:"",			//  Mode of Transport		.bcdgrp.rec.tramod
								shpfro:"",			//  Shipment from		.bcdgrp.rec.shpfro
								shpto:"",			//  Shipment to		.bcdgrp.rec.shpto
								rtodreflg:"",			//  Release to Drawee Flag		.bcdgrp.rec.rtodreflg
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.bcdgrp.cbs.max.cur
									amt:"",			//  Document Amount		.bcdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.bcdgrp.cbs.opn1.cur
									amt:"",			//  Open Amount		.bcdgrp.cbs.opn1.amt
								},
							},
							dre:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.dre.namelc
								adrelc:"",			//  地址		.bcdgrp.dre.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.dre.dbfadrblkcn
							},
							rmi:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.rmi.namelc
								adrelc:"",			//  地址		.bcdgrp.rmi.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.rmi.dbfadrblkcn
							},
							drr:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.drr.namelc
								adrelc:"",			//  地址		.bcdgrp.drr.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.drr.dbfadrblkcn
							},
							blk:{
								resrej:"",			//  Reason 		.bcdgrp.blk.resrej
								colins:"",			//  Collection Instructions		.bcdgrp.blk.colins
								dftins:"",			//  Draft Instructions		.bcdgrp.blk.dftins
								othins:"",			//  Other Instructions		.bcdgrp.blk.othins
								chgtxt:"",			//  Charges Text		.bcdgrp.blk.chgtxt
								bctfre:"",			//  Free Text Tag 42J		.bcdgrp.blk.bctfre
								docpre:"",			//  Presented Documents		.bcdgrp.blk.docpre
								intins:"",			//  Interest Instructions		.bcdgrp.blk.intins
								agtaut:"",			//  Authority of Agent		.bcdgrp.blk.agtaut
								agtinf:"",			//  Further Information		.bcdgrp.blk.agtinf
								vesselnam:"",			//  Vessel Name		.bcdgrp.blk.vesselnam
								covgod:"",			//  Covered Goods		.bcdgrp.blk.covgod
								reladr:"",			//  Release to Address		.bcdgrp.blk.reladr
							},
							agt:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.agt.namelc
								adrelc:"",			//  地址		.bcdgrp.agt.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.agt.dbfadrblkcn
							},
							agb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.agb.namelc
								adrelc:"",			//  地址		.bcdgrp.agb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.agb.dbfadrblkcn
							},
							rog:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.rog.namelc
								adrelc:"",			//  地址		.bcdgrp.rog.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.rog.dbfadrblkcn
							},
							co2:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bcdgrp.co2.namelc
								adrelc:"",			//  地址		.bcdgrp.co2.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bcdgrp.co2.dbfadrblkcn
							},
						},
						bctp:{
							recget:{
								sdamod:{
									seainf:"",			//  		.bctp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.bctp.recget.sdamod.dadsnd
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.bctp.matp.mattxtlab
							},
							agtp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.agtp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.agtp.ptsget.sdamod.dadsnd
									},
								},
							},
							agbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.agbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.agbp.ptsget.sdamod.dadsnd
									},
								},
							},
							rogp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.rogp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.rogp.ptsget.sdamod.dadsnd
									},
								},
							},
							drep:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.drep.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.drep.ptsget.sdamod.dadsnd
									},
								},
							},
							co2p:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.co2p.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.co2p.ptsget.sdamod.dadsnd
									},
								},
							},
							rmip:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.rmip.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.rmip.ptsget.sdamod.dadsnd
									},
								},
							},
							drrp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.bctp.drrp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.bctp.drrp.ptsget.sdamod.dadsnd
									},
								},
							},
						},
						rejtypsel:"",			//  Select Rejection Type		.rejtypsel
						advtyp:"",			//  SWIFT Advice Type		.advtyp
						mtabut:{
							clsflg:"",			//  Close Flag		.mtabut.clsflg
							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
								},
							},
						},
						setmod:{
chenwen committed
198 199
							doccur:"",			//  document currency		.setmod.doccur
							docamt:"",			//  document amount		.setmod.docamt
chenwen committed
200 201 202 203 204 205 206
							docamttyplab:"",			//  settled amount description as label		.setmod.docamttyplab
							retmsg:"",			//  Label showing Retry overflow condition		.setmod.retmsg
							ref:"",			//  our reference		.setmod.ref
							dspflg:"",			//  Type of settlement		.setmod.dspflg
							xreflg:"",			//  Recalculate Rates		.setmod.xreflg
							setglg:{
								labdspflg:"",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
chenwen committed
207
								setgll:[]
chenwen committed
208 209 210
							},
							zmqacclab:"",			//  主�'�号LABEL		.setmod.zmqacclab
							zmqacc:"",			//  自�'�区主�'�号		.setmod.zmqacc
chenwen committed
211 212 213 214 215 216 217 218 219
							setfog:{
								setfol:[]
							},
							setfeg:{
								setfel:[]
							},
							glemod:{
								gleshwstm: {}
							}
chenwen committed
220 221 222 223 224 225 226 227
						},
						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
chenwen committed
228 229 230 231 232 233 234 235 236 237 238 239 240 241
							liaallg:[],
							liaccv:{
								newamt:"",			//  合同金额		.liaall.liaccv.newamt
								concur:"",			//  应付保证金金额		.liaall.liaccv.concur
								totcovamt:"",			//  金额总和		.liaall.liaccv.totcovamt
								newresamt:"",			//  Reserved Amount		.liaall.liaccv.newresamt
								addinf:"",			//  Additional Information 		.liaall.liaccv.addinf
								cshpct:"",			//  保证金应收比例		.liaall.liaccv.cshpct
								relcshpct:"",			//  保证金实收比例		.liaall.liaccv.relcshpct
								gleflg:"",			//  Create gle flag		.liaall.liaccv.gleflg
								chgcurflg:"",			//  Change currency flag		.liaall.liaccv.chgcurflg
								pctresamt:"",			//  reserve amount based percent		.liaall.liaccv.pctresamt
							    liaccvg:[],
							},
chenwen committed
242 243 244 245 246 247 248 249
						},
						trnmod:{
							trndoc:{
								advlabel:"",			//  ADVLABEL		.trnmod.trndoc.advlabel
								amdnam:"",			//  AMDNAM		.trnmod.trndoc.amdnam
								advdoc:"",			//  国内证通知书		.trnmod.trndoc.advdoc
								advnam:"",			//  国内证落款		.trnmod.trndoc.advnam
								amdapl:"",			//  修改申请人名称		.trnmod.trndoc.amdapl
chenwen committed
250 251 252 253 254 255 256 257 258 259
								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
								doceot:[],
chenwen committed
260 261 262 263 264 265
							},
						},
						pageId: ""			// ctx的key
				}
    }
}