index.js 8.44 KB
Newer Older
nanrui committed
1 2 3 4 5 6
import Api from "~/service/Api"
import Pts from "../Common/Pts"

export default class Botsel{
    constructor () {
        this.data = {
nanrui committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
						selbut:{
							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
							sptpenlab_descr:"",			//  Description for SPTPENLAB		.selbut.sptpenlab_descr
							trnpenlab_descr:"",			//  Description for TRNPENLAB		.selbut.trnpenlab_descr
						},
						dspbpd:"",			//  Display BPE Contract		.dspbpd
						dspbpdclsdat:"",			//  Display Closing Date of Advance		.dspbpdclsdat
						bodgrp:{
							rec:{
								ownref:"",			//  Reference		.bodgrp.rec.ownref
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bodgrp.rec.nam
								matpertyp:"",			//  Days/Months or Years for Maturity Period		.bodgrp.rec.matpertyp
								doctypcod:"",			//  Collection Condition		.bodgrp.rec.doctypcod
								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
								docsta:"",			//  Document Set Status		.bodgrp.rec.docsta
29
								inr: "",
nanrui committed
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
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.bodgrp.cbs.max.cur
									amt:"",			//  Document Amount		.bodgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.bodgrp.cbs.opn1.cur
									amt:"",			//  Open Amount		.bodgrp.cbs.opn1.amt
								},
							},
							drr:{
								pts:new Pts().data,
							},
							col:{
								pts:new Pts().data,
							},
							dre:{
								pts:new Pts().data,
							},
						},
						recget:{
							sdamod:{
								seainf:"",			//  		.recget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.recget.sdamod.dadsnd
							},
						},
57
						clsflg:"",			//  Show closed Contract		.clsflg
nanrui committed
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
						matp:{
							mattxtlab:"",			//  Label for MATTXT		.matp.mattxtlab
						},
						bpdgrp:{
							rec:{
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bpdgrp.rec.nam
								ownref:"",			//  Reference		.bpdgrp.rec.ownref
								fintyp:"",			//  Type of Financing		.bpdgrp.rec.fintyp
								finact:"",			//  Advance Account		.bpdgrp.rec.finact
							},
							cbs:{
								max:{
									cur:"",			//  Advance Amount		.bpdgrp.cbs.max.cur
									amt:"",			//  Balance		.bpdgrp.cbs.max.amt
								},
							},
						},
						bpdget:{
							sdamod:{
								seainf:"",			//  		.bpdget.sdamod.seainf
								dadsnd:"",			//  Drag  Drop Sender		.bpdget.sdamod.dadsnd
							},
							clsflg:"",			//  which contracts to show		.bpdget.clsflg
						},
						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:{
							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
							btnstm:[]
						},
nanrui committed
197 198 199 200
						pageId: ""			// ctx的key
				}
    }
}