index.js 14.8 KB
Newer Older
zhengxiaokui committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3
import Pub from "../Public"   //引入公共面板
zhengxiaokui 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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
export default class Letame{
    constructor () {
        this.data = {
          // 加入公共面板字段
          setmod: new Pub().data.Setmod,  //帐务、分录 加入公共面板账务字段
          mtabut: new Pub().data.Mtabut,   //附言
          trnmod: new Pub().data.Trnmod,   //面函 加入公共面板面函的字段
          liaall: new Pub().data.Liaall,//表外
          leta2bl1blk:"", //面函
          letbenl2blk:"", //面函
          letbenl1blk:"", //面函
          letissl1blk:"", //面函

						letamep:{
							ramrollab:"",			//  Label for RAMROL		.letamep.ramrollab
							recget:{
								sdamod:{
									seainf:"",			//  Reference		.letamep.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.letamep.recget.sdamod.dadsnd
								},
							},
							amenbr:"",			//  Actual Amendment No		.letamep.amenbr
							engcur:"",			//  Total Amendment		.letamep.engcur
							engamt:"",			//  Total Amendment		.letamep.engamt
							maxcur:"",			//  Currency of Maximum Amount		.letamep.maxcur
							maxamt:"",			//  New Maximum Amount		.letamep.maxamt
							ramrol:"",			//  Request of Amendment send to		.letamep.ramrol
							benconflg:"",			//  Beneficiary's Confirmation Required		.letamep.benconflg
							benaccflg:"",			//  Amendment Accepted by Beneficiary		.letamep.benaccflg
							cre707flg:"",			//  Create Amendment Message-Flag		.letamep.cre707flg
							lcrgodamep:{
								usrblk:"",			//  Block to enter additional info for Add/Delete		.letamep.lcrgodamep.usrblk
								modflg:"",			//  Modify Text to Replace		.letamep.lcrgodamep.modflg
								modmanflg:"",			//  Modify field for manual update		.letamep.lcrgodamep.modmanflg
							},
							lcrgodame:{
								buttxmsel:"",			//  ...		.letamep.lcrgodame.buttxmsel
							},
							lcrdocamep:{
								usrblk:"",			//  Block to enter additional info for Add/Delete		.letamep.lcrdocamep.usrblk
								modflg:"",			//  Modify Text to Replace		.letamep.lcrdocamep.modflg
								modmanflg:"",			//  Modify field for manual update		.letamep.lcrdocamep.modmanflg
							},
							lcrdocame:{
								buttxmsel:"",			//  ...		.letamep.lcrdocame.buttxmsel
							},
							adlcndamep:{
								usrblk:"",			//  Block to enter additional info for Add/Delete		.letamep.adlcndamep.usrblk
								modflg:"",			//  Modify Text to Replace		.letamep.adlcndamep.modflg
								modmanflg:"",			//  Modify field for manual update		.letamep.adlcndamep.modmanflg
							},
							adlcndame:{
								buttxmsel:"",			//  ...		.letamep.adlcndame.buttxmsel
							},
							spcrcbamep:{
								usrblk:"",			//  Block to enter additional info for Add/Delete		.letamep.spcrcbamep.usrblk
								modflg:"",			//  Modify Text to Replace		.letamep.spcrcbamep.modflg
								modmanflg:"",			//  Modify field for manual update		.letamep.spcrcbamep.modmanflg
							},
							spcbenamep:{
								modflg:"",			//  Modify Text to Replace		.letamep.spcbenamep.modflg
								modmanflg:"",			//  Modify field for manual update		.letamep.spcbenamep.modmanflg
								usrblk:"",			//  Block to enter additional info for Add/Delete		.letamep.spcbenamep.usrblk
							},
zhengxiaokui committed
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
						ledgrp:{
							rec:{
								ownref:"",			//  Reference		.ledgrp.rec.ownref
								nam:"",			//  Name		.ledgrp.rec.nam
								lcrtyp:"",			//  Form of L/C		.ledgrp.rec.lcrtyp
								collflg:"",			//  Collateralized L/C		.ledgrp.rec.collflg
								nomtop:"",			//  Amount Tolerance +/-		.ledgrp.rec.nomtop
								nomton:"",			//  Amount Tolerance - Negative		.ledgrp.rec.nomton
								nomspc:"",			//  Amount Specification		.ledgrp.rec.nomspc
								inctrf:"",			//  Incoming Transfer		.ledgrp.rec.inctrf
								resflg:"",			//  Reserved Contract		.ledgrp.rec.resflg
								opndat:"",			//  Issued on		.ledgrp.rec.opndat
								preadvdt:"",			//  Date Pre-advised		.ledgrp.rec.preadvdt
								shpdat:"",			//  Shipment Date		.ledgrp.rec.shpdat
								advdat:"",			//  Released on		.ledgrp.rec.advdat
								expdat:"",			//  Expiring on		.ledgrp.rec.expdat
								expplc:"",			//  in (Place)/ counters of		.ledgrp.rec.expplc
								cnfdet:"",			//  Confirmation Instruct.		.ledgrp.rec.cnfdet
								apprul:"",			//  Applicable Rules		.ledgrp.rec.apprul
								apprultxt:"",			//  Other Applicable Rules		.ledgrp.rec.apprultxt
								shppar:"",			//  Partial Shipment		.ledgrp.rec.shppar
								shptrs:"",			//  Transshipment		.ledgrp.rec.shptrs
								revflg:"",			//  Revolving Flag		.ledgrp.rec.revflg
								nonban:"",			//  Non-Bank Issuer		.ledgrp.rec.nonban
								teskeyunc:"",			//  Test Key Unconfirmity		.ledgrp.rec.teskeyunc
								dbtflg:"",			//  Authorization to Debit		.ledgrp.rec.dbtflg
								oppbnk:"",			//  境内外对手行代码		.ledgrp.rec.oppbnk
								shppars18:"",			//  Partial Shipment		.ledgrp.rec.shppars18
								shptrss18:"",			//  Transshipment		.ledgrp.rec.shptrss18
								avbwth:"",			//  Available with		.ledgrp.rec.avbwth
								avbby:"",			//  Available by		.ledgrp.rec.avbby
								shpfro:"",			//  Dispatch from		.ledgrp.rec.shpfro
								porloa:"",			//  Air-/Port of Departure		.ledgrp.rec.porloa
								pordis:"",			//  Air-/Port of Destination		.ledgrp.rec.pordis
								shpto:"",			//  Final Destination		.ledgrp.rec.shpto
								chato:"",			//  Own Charges Borne by		.ledgrp.rec.chato
								stacty:"",			//  Country Code for Statistics		.ledgrp.rec.stacty
								tenmaxday:"",			//  Maximum Tenor		.ledgrp.rec.tenmaxday
								prepers18:"",			//  Days of presentation period		.ledgrp.rec.prepers18
								prepertxts18:"",			//  Presentation period text		.ledgrp.rec.prepertxts18
								cnfins:"",			//  Confirm. Instruct.		.ledgrp.rec.cnfins
								aplbnkdirsnd:"",			//  Send Directly to Applicant's Bank		.ledgrp.rec.aplbnkdirsnd
								redclsflg:"",			//  Red/Green Clause		.ledgrp.rec.redclsflg
								spcbenflg:"",			//  Special payment conditions for beneficiary exists		.ledgrp.rec.spcbenflg
								spcrcbflg:"",			//  Special Payment Conditions for specified Bank only		.ledgrp.rec.spcrcbflg
								revtyp:"",			//  Revolving Type		.ledgrp.rec.revtyp
								revcum:"",			//  Credit is Marked as Cumulative		.ledgrp.rec.revcum
								revtimes:"",			//  Revolve Times		.ledgrp.rec.revtimes
								revnbr:"",			//  Revolving Count		.ledgrp.rec.revnbr
								revdat:"",			//  Next Revolve Date		.ledgrp.rec.revdat
							},
							cbs:{
								nom1:{
									cur:"",			//  Nominal Amount		.ledgrp.cbs.nom1.cur
									amt:"",			//  Nominal Amount		.ledgrp.cbs.nom1.amt
								},
								max2:{
									cur:"",			//  Additional Amount		.ledgrp.cbs.max2.cur
									amt:"",			//  Additional Amount		.ledgrp.cbs.max2.amt
								},
								max:{
									cur:"",			//  Maximum Amount		.ledgrp.cbs.max.cur
									amt:"",			//  Maximum Amount		.ledgrp.cbs.max.amt
								},
								opn2:{
									cur:"",			//  Open Add. Amount		.ledgrp.cbs.opn2.cur
									amt:"",			//  Open Add. Amount		.ledgrp.cbs.opn2.amt
								},
								opn1:{
									cur:"",			//  Currency		.ledgrp.cbs.opn1.cur
								},
							},
							preadvflg:"",			//  PreAdvice or Notification		.ledgrp.preadvflg
							ben:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.ben.namelc
								adrelc:"",			//  地址		.ledgrp.ben.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.ben.dbfadrblkcn
							},
							iss:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.iss.namelc
								adrelc:"",			//  地址		.ledgrp.iss.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.iss.dbfadrblkcn
							},
							apl:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.apl.namelc
								adrelc:"",			//  地址		.ledgrp.apl.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.apl.dbfadrblkcn
							},
							avb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.avb.namelc
								adrelc:"",			//  地址		.ledgrp.avb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.avb.dbfadrblkcn
							},
							blk:{
								avbwthtxt:"",			//  Available in		.ledgrp.blk.avbwthtxt
								defdet:"",			//  Deferred Payment Details		.ledgrp.blk.defdet
								dftat:"",			//  Drafts at		.ledgrp.blk.dftat
								shpper:"",			//  Shipment Period		.ledgrp.blk.shpper
								mixdet:"",			//  Mixed Payment Details		.ledgrp.blk.mixdet
								preper:"",			//  Presentation Period		.ledgrp.blk.preper
								feetxt:"",			//  Additional Details to Code for Charges CHATO		.ledgrp.blk.feetxt
								addamtcov:"",			//  Covered		.ledgrp.blk.addamtcov
								lcrgod:"",			//  Description of Goods		.ledgrp.blk.lcrgod
								lcrgodame:"",			//  Description of Goods History		.ledgrp.blk.lcrgodame
								lcrdoc:"",			//  Documents Required		.ledgrp.blk.lcrdoc
								lcrdocame:"",			//  Documents Required History		.ledgrp.blk.lcrdocame
								adlcnd:"",			//  Additional Conditions		.ledgrp.blk.adlcnd
								adlcndame:"",			//  Additional  Conditions History		.ledgrp.blk.adlcndame
								insbnk:"",			//  Instructions to Paying/Accepting/Negotiating Bank		.ledgrp.blk.insbnk
								insbnkame:"",			//  Instruction to Paying/Accepting/Negotiating Bank History		.ledgrp.blk.insbnkame
								revcls:"",			//  Revolving Clause		.ledgrp.blk.revcls
								revnotes:"",			//  Notes to Beneficiary		.ledgrp.blk.revnotes
								spcrcb:"",			//  Special Payment Conditions for Bank Only		.ledgrp.blk.spcrcb
								spcrcbame:"",			//  Special Payment Conditions for Bank Only History		.ledgrp.blk.spcrcbame
								spcben:"",			//  Special Payment Conditions for Beneficiary		.ledgrp.blk.spcben
								spcbename:"",			//  Special payment Conditions for beneficiary History		.ledgrp.blk.spcbename
							},
							drw:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.drw.namelc
								adrelc:"",			//  地址		.ledgrp.drw.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.drw.dbfadrblkcn
							},
							adv:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.adv.namelc
								adrelc:"",			//  地址		.ledgrp.adv.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.adv.dbfadrblkcn
							},
							a2b:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.a2b.namelc
								adrelc:"",			//  地址		.ledgrp.a2b.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.a2b.dbfadrblkcn
							},
							apb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.apb.namelc
								adrelc:"",			//  地址		.ledgrp.apb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.apb.dbfadrblkcn
							},
							rmb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.ledgrp.rmb.namelc
								adrelc:"",			//  地址		.ledgrp.rmb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.ledgrp.rmb.dbfadrblkcn
							},
							con:{
								pts:new Pts().data,
							},
zhengxiaokui committed
224
						},
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
						oldledgrp:{
							cbs:{
								nom1:{
									amt:"",			//  Original Data		.oldledgrp.cbs.nom1.amt
								},
								max:{
									cur:"",			//  Currency		.oldledgrp.cbs.max.cur
									amt:"",			//  Balance		.oldledgrp.cbs.max.amt
								},
							},
							rec:{
								nomtop:"",			//  Amount Tolerance - Positive		.oldledgrp.rec.nomtop
								nomton:"",			//  Amount Tolerance - Negative		.oldledgrp.rec.nomton
								expdat:"",			//  Date of Expiry		.oldledgrp.rec.expdat
								shpdat:"",			//  Shipment Date		.oldledgrp.rec.shpdat
								prepers18:"",			//  Days of presentation period		.oldledgrp.rec.prepers18
								prepertxts18:"",			//  Presentation period text		.oldledgrp.rec.prepertxts18
							},
zhengxiaokui committed
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 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356
						letp:{
							aamp:{
								aammod:{
									addamtflg:"",			//  Add. Amount		.letp.aamp.aammod.addamtflg
								},
							},
							recget:{
								sdamod:{
									seainf:"",			//  		.letp.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.letp.recget.sdamod.dadsnd
								},
							},
							usr:{
								extkey:"",			//  Responsible User		.letp.usr.extkey
							},
							usrget:{
								sdamod:{
									seainf:"",			//  		.letp.usrget.sdamod.seainf
								},
							},
							benp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.benp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.benp.ptsget.sdamod.dadsnd
									},
								},
							},
							issp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.issp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.issp.ptsget.sdamod.dadsnd
									},
								},
							},
							aplp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.aplp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.aplp.ptsget.sdamod.dadsnd
									},
								},
							},
							oppbnkl:"",			//  对手行代码		.letp.oppbnkl
							avbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.avbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.avbp.ptsget.sdamod.dadsnd
									},
								},
							},
							drwp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.drwp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.drwp.ptsget.sdamod.dadsnd
									},
								},
							},
							labdefdet:"",			//  DEFDAT LAbel		.letp.labdefdet
							advp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.advp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.advp.ptsget.sdamod.dadsnd
									},
								},
							},
							a2bp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.a2bp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.a2bp.ptsget.sdamod.dadsnd
									},
								},
							},
							apbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.apbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.apbp.ptsget.sdamod.dadsnd
									},
								},
							},
							rmbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.letp.rmbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.letp.rmbp.ptsget.sdamod.dadsnd
									},
								},
							},
							ptsaddp:{
								ptsaddg:[],			//  		.letp.ptsaddp.ptsaddg
							},
							conp:{
								ptsget:{
									sdamod:{
										dadsnd:"",			//  Drag  Drop Sender		.letp.conp.ptsget.sdamod.dadsnd
										seainf:"",			//  		.letp.conp.ptsget.sdamod.seainf
									},
								},
							},
							leltb2b:{
								litb2bstm:"",			//  Streamgrid of other L/Cs backed by B2B LE		.letp.leltb2b.litb2bstm
							},
							totamt:"",			//  total open amount of connected contracts		.letp.totamt
							trnopnamt:"",			//  Open amount		.letp.trnopnamt
							trnshpdat:"",			//  Shipment date		.letp.trnshpdat
							trnexpdat:"",			//  Expiry date		.letp.trnexpdat
							chkmsg:"",			//  Messages		.letp.chkmsg
zhengxiaokui committed
357
						},
358 359 360
						pageId: ""			// ctx的key
				}
    }
zhengxiaokui committed
361
}