index.js 13.2 KB
Newer Older
1 2 3 4 5 6
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Litame{
    constructor () {
        this.data = {
7 8 9 10 11
						litadvl1blk:"",
						litapll1blk:"",
						litrmbl1blk:"",
						litrmbl2blk:"",

12 13 14 15 16 17 18 19 20 21 22 23 24 25
						litamep:{
							ramrollab:"",			//  Label for RAMROL		.litamep.ramrollab
							recget:{
								sdamod:{
									seainf:"",			//  参考号		.litamep.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.litamep.recget.sdamod.dadsnd
								},
							},
							engcur:"",			//  修改总金额		.litamep.engcur
							engamt:"",			//  修改总金额		.litamep.engamt
							maxcur:"",			//  Currency of Maximum Amount		.litamep.maxcur
							maxamt:"",			//  New Maximum Amount		.litamep.maxamt
							cre707flg:"",			//  Create Amendment Message		.litamep.cre707flg
							ramrol:"",			//  Request of Amendment send to		.litamep.ramrol
jianglong committed
26
							amenbr:0,			//  实际修改次数		.litamep.amenbr
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
							lcrdocamep:{
								usrblk:"",			//  Block to enter additional info for Add/Delete		.litamep.lcrdocamep.usrblk
								modflg:"",			//  Modify Text to Replace		.litamep.lcrdocamep.modflg
								modmanflg:"",			//  Modify field for manual update		.litamep.lcrdocamep.modmanflg
							},
							lcrgodamep:{
								modflg:"",			//  Modify Text to Replace		.litamep.lcrgodamep.modflg
								modmanflg:"",			//  Modify field for manual update		.litamep.lcrgodamep.modmanflg
								usrblk:"",			//  Block to enter additional info for Add/Delete		.litamep.lcrgodamep.usrblk
							},
							adlcndamep:{
								usrblk:"",			//  Block to enter additional info for Add/Delete		.litamep.adlcndamep.usrblk
								modflg:"",			//  Modify Text to Replace		.litamep.adlcndamep.modflg
								modmanflg:"",			//  Modify field for manual update		.litamep.adlcndamep.modmanflg
							},
42 43 44 45 46 47 48 49 50 51
							spcbenamep:{
								modflg:"",			//  Modify Text to Replace		.litamep.spcbenamep.modflg
								modmanflg:"",			//  Modify field for manual update		.litamep.spcbenamep.modmanflg
								usrblk:"",			//  Block to enter additional info for Add/Delete		.litamep.spcbenamep.usrblk
							},
							spcrcbamep:{
								usrblk:"",			//  Block to enter additional info for Add/Delete		.litamep.spcrcbamep.usrblk
								modflg:"",			//  Modify Text to Replace		.litamep.spcrcbamep.modflg
								modmanflg:"",			//  Modify field for manual update		.litamep.spcrcbamep.modmanflg
							},
52 53 54 55 56 57 58
						},
						lidgrp:{
							
							rec:{
								ownref:"",			//  Reference		.lidgrp.rec.ownref
								nam:"",			//  Name		.lidgrp.rec.nam
								lcrtyp:"",			//  Form of L/C		.lidgrp.rec.lcrtyp
jianglong committed
59 60
								nomtop:0,			//  Amount Tolerance +/-		.lidgrp.rec.nomtop
								nomton:0,			//  Amount Tolerance - Negative		.lidgrp.rec.nomton
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
								nomspc:"",			//  Amount Specification		.lidgrp.rec.nomspc
								opndat:"",			//  L/C Issued on		.lidgrp.rec.opndat
								preadvdt:"",			//  Date Pre-advised		.lidgrp.rec.preadvdt
								shpdat:"",			//  Latest Shipment Date		.lidgrp.rec.shpdat
								expdat:"",			//  L/C Expiring on		.lidgrp.rec.expdat
								expplc:"",			//  in (Place)/ counters of		.lidgrp.rec.expplc
								shppar:"",			//  Partial Shipment		.lidgrp.rec.shppar
								shptrs:"",			//  Transhipment		.lidgrp.rec.shptrs
								apprul:"",			//  Applicable Rules		.lidgrp.rec.apprul
								apprultxt:"",			//  Other Applicable Rules		.lidgrp.rec.apprultxt
								cnfdet:"",			//  Confirm. Instructions		.lidgrp.rec.cnfdet
								rmbflg:"",			//  Reimbursement Information		.lidgrp.rec.rmbflg
								revflg:"",			//  Revolving Flag		.lidgrp.rec.revflg
								resflg:"",			//  Reserved Contract		.lidgrp.rec.resflg
								shppars18:"",			//  Partial Shipment		.lidgrp.rec.shppars18
								shptrss18:"",			//  Transhipment		.lidgrp.rec.shptrss18
								guaflg:"",			//  Mortgage Flag		.lidgrp.rec.guaflg
								regref:"",			//  Register Ref.		.lidgrp.rec.regref
								rptref:"",			//  合同号		.lidgrp.rec.rptref
								oppbnk:"",			//  对手行代码		.lidgrp.rec.oppbnk
								dkflg:"",			//  是否代开信用证		.lidgrp.rec.dkflg
								avbwth:"",			//  Available with		.lidgrp.rec.avbwth
								avbby:"",			//  Available by		.lidgrp.rec.avbby
								shpfro:"",			//  Dispatch from		.lidgrp.rec.shpfro
								porloa:"",			//  Air-/Port of Departure		.lidgrp.rec.porloa
								pordis:"",			//  Air-/Port of Destination		.lidgrp.rec.pordis
								shpto:"",			//  Final Destination		.lidgrp.rec.shpto
								chato:"",			//  Drafts at		.lidgrp.rec.chato
								stacty:"",			//  Country Code Risk Country		.lidgrp.rec.stacty
jianglong committed
90 91
								tenmaxday:0,			//  Maximum tenor in days		.lidgrp.rec.tenmaxday
								prepers18:0,			//  Days of presentation period		.lidgrp.rec.prepers18
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
								prepertxts18:"",			//  Presentation period text		.lidgrp.rec.prepertxts18
								redclsflg:"",			//  Red/Green Clause		.lidgrp.rec.redclsflg
								spcbenflg:"",			//  Special payment conditions for beneficiary exists		.lidgrp.rec.spcbenflg
								spcrcbflg:"",			//  Special Payment Conditions for specified Bank only		.lidgrp.rec.spcrcbflg
							},
							cbs:{
								opn2:{
									cur:"",
									amt:"",
								},
								nom1:{
									cur:"",			//  Nominal Amount		.lidgrp.cbs.nom1.cur
									amt:"",			//  Nominal Amount		.lidgrp.cbs.nom1.amt
								},
								max2:{
									cur:"",			//  Currency		.lidgrp.cbs.max2.cur
									amt:"",			//Amount
								},
								max:{
									cur:"",			//  Maximum Amount		.lidgrp.cbs.max.cur
									amt:"",			//  Maximum Amount		.lidgrp.cbs.max.amt
								},
							},
							apl:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.apl.namelc
								adrelc:"",			//  地址		.lidgrp.apl.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.apl.dbfadrblkcn
							},
							adv:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.adv.namelc
								adrelc:"",			//  地址		.lidgrp.adv.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.adv.dbfadrblkcn
							},
							ben:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.ben.namelc
								adrelc:"",			//  地址		.lidgrp.ben.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.ben.dbfadrblkcn
							},
							avb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.avb.namelc
								adrelc:"",			//  地址		.lidgrp.avb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.avb.dbfadrblkcn
							},
							blk:{
								addamtcov:"",
								avbwthtxt:"",			//  Available in		.lidgrp.blk.avbwthtxt
								defdet:"",			//  Deferred Payment Details		.lidgrp.blk.defdet
								dftat:"",			//  Drafts at		.lidgrp.blk.dftat
								shpper:"",			//  Shipment Period		.lidgrp.blk.shpper
								preper:"",			//  Presentation Period		.lidgrp.blk.preper
								preperflg:"",			//  Presentation Period modified		.lidgrp.blk.preperflg
								feetxt:"",			//  Additional Details to Code for Charges		.lidgrp.blk.feetxt
								mixdet:"",			//  Mixed Payment Details		.lidgrp.blk.mixdet
								insbnk:"",			//  Instructions to Paying/Accepting/Negotiating Bank		.lidgrp.blk.insbnk
								insbnkame:"",			//  Instructions to P/A/N Amendment History		.lidgrp.blk.insbnkame
								lcrdoc:"",			//  Documents Required		.lidgrp.blk.lcrdoc
								lcrdocame:"",			//  Documents Required Amendment History		.lidgrp.blk.lcrdocame
								lcrgod:"",			//  Description of Goods		.lidgrp.blk.lcrgod
								lcrgodame:"",			//  Description of Goods Amendment History		.lidgrp.blk.lcrgodame
								adlcnd:"",			//  Additional Conditions		.lidgrp.blk.adlcnd
								adlcndame:"",			//  Additional  Conditions Amendment History		.lidgrp.blk.adlcndame
157 158 159
								spcben:"",			//  Special Payment Conditions for Beneficiary		.lidgrp.blk.spcben
								spcbename:"",			//  Special payment Conditions for beneficiary History		.lidgrp.blk.spcbename
								spcrcb:"",			//  Special Payment Conditions for Bank Only		.lidgrp.blk.spcrcb
160
								spcrcbame:"",	 //Historic Overview   .lidgrp.blk.spcrcbame
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
							},
							drw:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.drw.namelc
								adrelc:"",			//  地址		.lidgrp.drw.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.drw.dbfadrblkcn
							},
							ini:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.ini.namelc
								adrelc:"",			//  地址		.lidgrp.ini.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.ini.dbfadrblkcn
							},
							rmb:{
								pts:new Pts().data,
							},
							a2b:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.a2b.namelc
								adrelc:"",			//  地址		.lidgrp.a2b.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.a2b.dbfadrblkcn
							},
							con:{
								pts:new Pts().data,
								namelc:"",			//  名称		.lidgrp.con.namelc
								adrelc:"",			//  地址		.lidgrp.con.adrelc
								dbfadrblkcn:"",			//  Chinese address		.lidgrp.con.dbfadrblkcn
							},
						},
						trnmod:new Pub().data.Trnmod,
						oldlidgrp:{
							cbs:{
								nom1:{
									amt:"",			//  信用证金额		.oldlidgrp.cbs.nom1.amt
								},
								max:{
									cur:"",			//  Currency		.oldlidgrp.cbs.max.cur
									amt:"",			//  Balance		.oldlidgrp.cbs.max.amt
								},
							},
							rec:{
jianglong committed
202 203
								nomtop:0,			//  Amount Tolerance - Positive		.oldlidgrp.rec.nomtop
								nomton:0,			//  Amount Tolerance - Negative		.oldlidgrp.rec.nomton
204 205 206
								expdat:"",			//  到期日		.oldlidgrp.rec.expdat
								shpdat:"",			//  装运日		.oldlidgrp.rec.shpdat
								prepertxts18:"",			//  Presentation period text		.oldlidgrp.rec.prepertxts18
jianglong committed
207
								prepers18:0,			//  Presentation Period		.oldlidgrp.rec.prepers18
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 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 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332
							},
							blk:{
								preper:"",			//  Presentation Period		.oldlidgrp.blk.preper
								narhis:"",			//  Historic Overview of Narratives		.oldlidgrp.blk.narhis
							},
						},
						litp:{
							aamp:{
								aammod:{
									addamtflg:"",			//  Add. Amount		.litp.aamp.aammod.addamtflg
								},
							},
							recget:{
								sdamod:{
									seainf:"",			//  		.litp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.litp.recget.sdamod.dadsnd
								},
							},
							usr:{
								extkey:"",			//  Responsible User		.litp.usr.extkey
							},
							usrget:{
								sdamod:{
									seainf:"",			//  		.litp.usrget.sdamod.seainf
								},
							},
							aplp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.aplp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.aplp.ptsget.sdamod.dadsnd
									},
								},
							},
							advp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.advp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.advp.ptsget.sdamod.dadsnd
									},
								},
							},
							benp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.benp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.benp.ptsget.sdamod.dadsnd
									},
								},
							},
							oppbnkl:"",			//  对手行代码		.litp.oppbnkl
							avbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.avbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.avbp.ptsget.sdamod.dadsnd
									},
								},
							},
							drwp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.drwp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.drwp.ptsget.sdamod.dadsnd
									},
								},
							},
							defdetlab:"",			//  Label DEFDET		.litp.defdetlab
							avblab:"",			//  Label Available with Bank		.litp.avblab
							inip:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.inip.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.inip.ptsget.sdamod.dadsnd
									},
								},
							},
							rmbp:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.litp.rmbp.ptsget.sdamod.dadsnd
										seainf:"",			//  		.litp.rmbp.ptsget.sdamod.seainf
									},
								},
							},
							a2bp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.a2bp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.a2bp.ptsget.sdamod.dadsnd
									},
								},
							},
							ptsaddp:{
								ptsaddg:[],			//  		.litp.ptsaddp.ptsaddg
							},
							conp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.litp.conp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.litp.conp.ptsget.sdamod.dadsnd
									},
								},
							},
						},
						liaall: new Pub().data.Liaall,

						setmod: new Pub().data.Setmod,
						bcbtyp1:"",			//  不在名录		.bcbtyp1
						bcbtyp2:"",			//  异地付汇		.bcbtyp2
						bcbtyp3:"",			//  转口�'�易		.bcbtyp3
						bcbtyp4:"",			//  90天以上信用证		.bcbtyp4
						bcbtyp5:"",			//  不需要		.bcbtyp5
						bcbtyp6:"",			//  其它		.bcbtyp6
						bcbtyp7:"",			//  备查表类型填写文本框		.bcbtyp7
						bgftktyp:"",			//  不规范条款类型		.bgftktyp
						modtyp:"",			//  修改信用证类型		.modtyp
						litameadv:"",			//  特殊规定		.litameadv
						ameadvrmk:"",			//  特殊规定条件		.ameadvrmk
						bcbdat:"",			//  备案表效期		.bcbdat
						mtabut: new Pub().data.Mtabut,
						pageId: ""			// ctx的key
				}
    }
}