index.js 15.1 KB
Newer Older
zhengxiaokui committed
1 2 3
import Api from "~/service/Api"
import Pts from "../Common/Pts"

Eivi 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
export default class Letsel{
    constructor () {
        this.data = {
						selbut:{
							dspamenbr:"",			//  Display No of amendments		.selbut.dspamenbr
							dsputlnbr:"",			//  Display No. of received docs.		.selbut.dsputlnbr
							dspclsdat:"",			//  Label Closed		.selbut.dspclsdat
							dsppndram:"",			//  Display Number of Req. of Amendment		.selbut.dsppndram
							sptpenlab:"",			//  Label showing pending items stored for contract		.selbut.sptpenlab
							trnpenlab:"",			//  Label showing stored uncommited transactions for contract		.selbut.trnpenlab
							trnpenlab_descr:"",			//  Description for TRNPENLAB		.selbut.trnpenlab_descr
							dspadvnbr:"",			//  Display No of advised sets		.selbut.dspadvnbr
							sptpenlab_descr:"",			//  Description for SPTPENLAB		.selbut.sptpenlab_descr
							syswrn:{
								dsp:"",			//  Display		.selbut.syswrn.dsp
							},
						},
						dsprevnbr:"",			//  Revolving Done		.dsprevnbr
						dsppcrsta:"",			//  Display LC against Packing Credit		.dsppcrsta
						dsptrdclsdat:"",			//  Display Closing Date of Packing Credit		.dsptrdclsdat
						dspbedclsdat:"",			//  Display Closing Date of Document Set		.dspbedclsdat
						dspbpdclsdat:"",			//  Display Closing Date of Advance		.dspbpdclsdat
						dspltdclsdat:"",			//  Diplay Closing Date of Transfer		.dspltdclsdat
						dspbtdclsdat:"",			//  Display Closing Date of Docs of Transfer		.dspbtdclsdat
						dspprenbr:"",			//  Display Number of Transfer Documents		.dspprenbr
						dspltamenbr:"",			//  Display LT Amendments		.dspltamenbr
						sptpenltbt_descr:"",			//  Description for SPTPENLTBT		.sptpenltbt_descr
						sptpentrbp_descr:"",			//  Description for SPTPENTRBP		.sptpentrbp_descr
						trnpenltbt_descr:"",			//  Description for TRNPENLTBT		.trnpenltbt_descr
						trnpentrbp_descr:"",			//  Description for TRNPENTRBP		.trnpentrbp_descr
						sptpenltbt:"",			//  Label showing pending items stored for LT/BT		.sptpenltbt
						sptpentrbp:"",			//  Label showing pending items stored for TR/BP		.sptpentrbp
						trnpenltbt:"",			//  Label showing stored uncommited transactions for LT/BT		.trnpenltbt
						trnpentrbp:"",			//  Label showing stored uncommited transactions for TR/BP		.trnpentrbp
						ledgrp:{
							rec:{
40
								inr:"",
Eivi committed
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 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 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
								ownref:"",			//  L/C Reference		.ledgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.ledgrp.rec.nam
								revflg:"",			//  Revolving Flag		.ledgrp.rec.revflg
								avbby:"",			//  Available by [AVBBY0]		.ledgrp.rec.avbby
								opndat:"",			//  Date Issued		.ledgrp.rec.opndat
								shpdat:"",			//  Shipment Date		.ledgrp.rec.shpdat
								expdat:"",			//  Date/Place of Expiry		.ledgrp.rec.expdat
								expplc:"",			//  Date/Place of Expiry		.ledgrp.rec.expplc
								lcrtyp:"",			//  Form of L/C		.ledgrp.rec.lcrtyp
							},
							cbs:{
								nom1:{
									cur:"",			//  L/C Amount		.ledgrp.cbs.nom1.cur
									amt:"",			//  Balance		.ledgrp.cbs.nom1.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.ledgrp.cbs.opn1.cur
									amt:"",			//  Balance		.ledgrp.cbs.opn1.amt
								},
							},
							ben:{
								pts:new Pts().data,
							},
							iss:{
								pts:new Pts().data,
							},
							apl:{
								pts:new Pts().data,
							},
							avbnam:"",			//  Available with		.ledgrp.avbnam
						},
						recget:{
							sdamod:{
								seainf:"",			//  		.recget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.recget.sdamod.dadsnd
							},
						},
						clsflg:"",			//  Show closed Contracts		.clsflg
						bedgrp:{
							rec:{
								ownref:"",			//  Document Reference		.bedgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bedgrp.rec.nam
								doctypcod:"",			//  Document Type		.bedgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.bedgrp.rec.matdat
								orddat:"",			//  Maturity Date		.bedgrp.rec.orddat
								rcvdat:"",			//  Received on		.bedgrp.rec.rcvdat
								predat:"",			//  Presentation Date		.bedgrp.rec.predat
								docsta:"",			//  Document Set Status		.bedgrp.rec.docsta
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.bedgrp.cbs.max.cur
									amt:"",			//  Balance		.bedgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.bedgrp.cbs.opn1.cur
									amt:"",			//  Balance		.bedgrp.cbs.opn1.amt
								},
							},
							prb:{
								pts:new Pts().data,
							},
							iss:{
								pts:new Pts().data,
							},
							apl:{
								pts:new Pts().data,
							},
						},
						bedget:{
							sdamod:{
								seainf:"",			//  		.bedget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.bedget.sdamod.dadsnd
							},
							clsflg:"",			//  which contracts to show		.bedget.clsflg
						},
						btdgrp:{
							rec:{
								ownref:"",			//  Document Reference		.btdgrp.rec.ownref
								nam:"",			//  Name of Bill Contract		.btdgrp.rec.nam
								doctypcod:"",			//  Document Type		.btdgrp.rec.doctypcod
								rcvdatbe2:"",			//  Maturity Date		.btdgrp.rec.rcvdatbe2
								docsta:"",			//  Document Set Status		.btdgrp.rec.docsta
								matdat:"",			//  Maturity Date		.btdgrp.rec.matdat
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.btdgrp.cbs.max.cur
									amt:"",			//  Document Amount		.btdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.btdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.btdgrp.cbs.opn1.amt
								},
							},
							be1:{
								pts:new Pts().data,
							},
							be2:{
								pts:new Pts().data,
							},
						},
						btdget:{
							sdamod:{
								seainf:"",			//  		.btdget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.btdget.sdamod.dadsnd
							},
							clsflg:"",			//  which contracts to show		.btdget.clsflg
						},
						bppnttyp:"",			//  Contr. to be Financed		.bppnttyp
						bpdgrp:{
							rec:{
								ownref:"",			//  Advance Reference		.bpdgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bpdgrp.rec.nam
								opndat:"",			//  Open Date		.bpdgrp.rec.opndat
								matdat:"",			//  Maturity Date		.bpdgrp.rec.matdat
								fintyp:"",			//  Type of Advance		.bpdgrp.rec.fintyp
								finact:"",			//  Advance Account		.bpdgrp.rec.finact
							},
							cbs:{
								max:{
									cur:"",			//  Advance Amount		.bpdgrp.cbs.max.cur
									amt:"",			//  Balance		.bpdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.bpdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.bpdgrp.cbs.opn1.amt
								},
							},
							fia:{
								pts:new Pts().data,
							},
						},
						bpdget:{
							sdamod:{
								seainf:"",			//  		.bpdget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.bpdget.sdamod.dadsnd
							},
							clsflg:"",			//  which contracts to show		.bpdget.clsflg
						},
						ltdgrp:{
							rec:{
								ownref:"",			//  Transfer Reference		.ltdgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.ltdgrp.rec.nam
								avbby:"",			//  Available by		.ltdgrp.rec.avbby
								shpdat:"",			//  Shipment Date		.ltdgrp.rec.shpdat
								opndat:"",			//  Date Issued/Form		.ltdgrp.rec.opndat
								lcrtyp:"",			//  Date Issued/Form		.ltdgrp.rec.lcrtyp
								expdat:"",			//  Date / Place of Expiry		.ltdgrp.rec.expdat
								expplc:"",			//  Date / Place of Expiry		.ltdgrp.rec.expplc
							},
							cbs:{
								nom1:{
									cur:"",			//  Transfer L/C Amount		.ltdgrp.cbs.nom1.cur
									amt:"",			//  Balance		.ltdgrp.cbs.nom1.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.ltdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.ltdgrp.cbs.opn1.amt
								},
							},
							avt:{
								pts:new Pts().data,
							},
							be1:{
								pts:new Pts().data,
							},
							be2:{
								pts:new Pts().data,
							},
							adt:{
								pts:new Pts().data,
							},
						},
						ltdget:{
							sdamod:{
								seainf:"",			//  		.ltdget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.ltdget.sdamod.dadsnd
							},
							clsflg:"",			//  which contracts to show		.ltdget.clsflg
						},
						trpnttyp:"",			//  Contr. to be Financed		.trpnttyp
						trdgrp:{
							rec:{
								ownref:"",			//  Finance Reference		.trdgrp.rec.ownref
								nam:"",			//  Name of Loan Contract		.trdgrp.rec.nam
								pctfin:"",			//  Financing of		.trdgrp.rec.pctfin
								fintyp:"",			//  Finance Type		.trdgrp.rec.fintyp
								matdat:"",			//  Maturity Date		.trdgrp.rec.matdat
								stttendat:"",			//  Start Date Tenor		.trdgrp.rec.stttendat
							},
							cbs:{
								max:{
									cur:"",			//  Finance Amount		.trdgrp.cbs.max.cur
									amt:"",			//  Finance Amount		.trdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.trdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.trdgrp.cbs.opn1.amt
								},
							},
							fip:{
								pts:new Pts().data,
							},
						},
						trdget:{
							sdamod:{
								seainf:"",			//  		.trdget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.trdget.sdamod.dadsnd
							},
							clsflg:"",			//  which contracts to show		.trdget.clsflg
						},
						cnftxt:"",			//  Confirmation text		.cnftxt
						aamled:{
							addamtflg:"",			//  Add. Amount		.aamled.addamtflg
						},
						matbep:{
							mattxtlab:"",			//  Label for MATTXT		.matbep.mattxtlab
						},
						aamltd:{
							addamtflg:"",			//  Add. Amount		.aamltd.addamtflg
						},
						aambtd:{
							addamtflg:"",			//  Add. Amount		.aambtd.addamtflg
						},
						matbtp:{
							mattxtlab:"",			//  Label for MATTXT		.matbtp.mattxtlab
						},
						fpdgrp:{
							rec:{
								perint:"",			//  Percentage 		.fpdgrp.rec.perint
								rdsflg:"",			//  Re-Discounting?		.fpdgrp.rec.rdsflg
								silflg:"",			//  Un-Disclosed?		.fpdgrp.rec.silflg
								funflg:"",			//  Funded?		.fpdgrp.rec.funflg
								opndatlc:"",			//  Date L/C Opened/Issued		.fpdgrp.rec.opndatlc
								expdatlc:"",			//  LC Date of Expire		.fpdgrp.rec.expdatlc
								opndat:"",			//  Opened on		.fpdgrp.rec.opndat
								expdat:"",			//  Forfaiting Agreement Date of Expiry		.fpdgrp.rec.expdat
								valdat:"",			//  This Purchase Offer is Valid until		.fpdgrp.rec.valdat
								ownref:"",			//  Reference		.fpdgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.fpdgrp.rec.nam
							},
							sel:{
								pts:new Pts().data,
							},
							cbs:{
								max:{
									cur:"",			//  Agree to Purchase		.fpdgrp.cbs.max.cur
									amt:"",			//  Balance		.fpdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.fpdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.fpdgrp.cbs.opn1.amt
								},
								sld:{
									cur:"",			//  Sold or Reserved		.fpdgrp.cbs.sld.cur
									amt:"",			//  Balance		.fpdgrp.cbs.sld.amt
								},
							},
							inv:{
								pts:new Pts().data,
							},
						},
						fpdget:{
							clsflg:"",			//  which contracts to show		.fpdget.clsflg
							sdamod:{
								seainf:"",			//  		.fpdget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.fpdget.sdamod.dadsnd
							},
						},
						cfgfil:{
wangren committed
312
							btnstm: [],	
Eivi committed
313 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 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
							bitmap:"",			//  Bitmap for folder		.cfgfil.bitmap
							regside1:"",			//  Regside		.cfgfil.regside1
							regside2:"",			//  Regside		.cfgfil.regside2
							regside3:"",			//  Regside		.cfgfil.regside3
							regside4:"",			//  Regside		.cfgfil.regside4
							regside5:"",			//  Regside		.cfgfil.regside5
							regside6:"",			//  Regside		.cfgfil.regside6
							regside7:"",			//  Regside		.cfgfil.regside7
							regside8:"",			//  Regside		.cfgfil.regside8
							regside9:"",			//  Regside		.cfgfil.regside9
							regside10:"",			//  Regside		.cfgfil.regside10
							regside11:"",			//  Regside		.cfgfil.regside11
							regside12:"",			//  Regside		.cfgfil.regside12
							subtxt1:"",			//  submenu text 1		.cfgfil.subtxt1
							subtxt2:"",			//  submenu text 2		.cfgfil.subtxt2
							subtxt3:"",			//  submenu text 3		.cfgfil.subtxt3
							subtxt4:"",			//  submenu text 4		.cfgfil.subtxt4
							subtxt5:"",			//  submenu text 5		.cfgfil.subtxt5
							subtxt6:"",			//  submenu text 6		.cfgfil.subtxt6
							subtxt7:"",			//  submenu text 7		.cfgfil.subtxt7
							subtxt8:"",			//  submenu text 8		.cfgfil.subtxt8
							subtxt9:"",			//  submenu text 9		.cfgfil.subtxt9
							subtxt10:"",			//  submenu text 10		.cfgfil.subtxt10
							subtxt11:"",			//  submenu text 11		.cfgfil.subtxt11
							regtxt1:"",			//  Register text 1		.cfgfil.regtxt1
							regtxt2:"",			//  Register text 2		.cfgfil.regtxt2
							regtxt3:"",			//  Register text 3		.cfgfil.regtxt3
							regtxt4:"",			//  Register text 4		.cfgfil.regtxt4
							regtxt5:"",			//  Register text 5		.cfgfil.regtxt5
							regtxt6:"",			//  Register text 6		.cfgfil.regtxt6
							regtxt7:"",			//  Register text 7		.cfgfil.regtxt7
							regtxt8:"",			//  Register text 8		.cfgfil.regtxt8
							regtxt9:"",			//  Register text 9		.cfgfil.regtxt9
							regtxt10:"",			//  Register text 10		.cfgfil.regtxt10
							regtxt11:"",			//  Register text 11		.cfgfil.regtxt11
							regtxt12:"",			//  Register text 12		.cfgfil.regtxt12
							hotsub1:"",			//  hotspot submenu 1		.cfgfil.hotsub1
							hotsub2:"",			//  hotspot submenu 1		.cfgfil.hotsub2
							hotsub3:"",			//  hotspot submenu 1		.cfgfil.hotsub3
							hotsub4:"",			//  hotspot submenu 1		.cfgfil.hotsub4
							hotsub5:"",			//  hotspot submenu 1		.cfgfil.hotsub5
							hotsub6:"",			//  hotspot submenu 1		.cfgfil.hotsub6
							hotsub7:"",			//  hotspot submenu 1		.cfgfil.hotsub7
							hotsub8:"",			//  hotspot submenu 1		.cfgfil.hotsub8
							hotsub9:"",			//  hotspot submenu 1		.cfgfil.hotsub9
							hotsub10:"",			//  hotspot submenu 1		.cfgfil.hotsub10
							hotsub11:"",			//  hotspot submenu 1		.cfgfil.hotsub11
							hotreg1:"",			//  hotspot reg1		.cfgfil.hotreg1
							hotreg2:"",			//  hotspot reg2		.cfgfil.hotreg2
							hotreg3:"",			//  hotspot reg3		.cfgfil.hotreg3
							hotreg4:"",			//  hotspot reg4		.cfgfil.hotreg4
							hotreg5:"",			//  hotspot reg5		.cfgfil.hotreg5
							hotreg6:"",			//  hotspot reg6		.cfgfil.hotreg6
							hotreg7:"",			//  hotspot reg7		.cfgfil.hotreg7
							hotreg8:"",			//  hotspot reg8		.cfgfil.hotreg8
							hotreg9:"",			//  hotspot reg9		.cfgfil.hotreg9
							hotreg10:"",			//  hotspot reg10		.cfgfil.hotreg10
							hotreg11:"",			//  hotspot reg11		.cfgfil.hotreg11
							hotreg12:"",			//  hotspot reg12		.cfgfil.hotreg12
							subtrn1:"",			//  Submenu trn 1		.cfgfil.subtrn1
							subtrn2:"",			//  Submenu trn 2		.cfgfil.subtrn2
							subtrn3:"",			//  Submenu trn 3		.cfgfil.subtrn3
							subtrn4:"",			//  Submenu trn 4		.cfgfil.subtrn4
							subtrn5:"",			//  Submenu trn 5		.cfgfil.subtrn5
							subtrn6:"",			//  Submenu trn 6		.cfgfil.subtrn6
							subtrn7:"",			//  Submenu trn 7		.cfgfil.subtrn7
							subtrn8:"",			//  Submenu trn 8		.cfgfil.subtrn8
							subtrn9:"",			//  Submenu trn 9		.cfgfil.subtrn9
							subtrn10:"",			//  Submenu trn 10		.cfgfil.subtrn10
							subtrn11:"",			//  Submenu trn 11		.cfgfil.subtrn11
						},
						pageId: ""			// ctx的key
				}
    }
zhengxiaokui committed
387
}