index.js 11.4 KB
Newer Older
严一鸣 committed
1 2 3
import Api from "~/service/Api"
import Pts from "../Common/Pts"

潘际乾 committed
4
import Public from "../Public"
zhujiazhan committed
5 6
import Setmod from '../Public/Setmod'
import Liaall from '../Public/Liaall'
潘际乾 committed
7

严一鸣 committed
8 9
export default class Brtset{
    constructor () {
潘际乾 committed
10
		const pub = new Public()
严一鸣 committed
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
        this.data = {
						brdgrp:{
							rec:{
								ownref:"",			//  单据参考号		.brdgrp.rec.ownref
								nam:"",			//  Name of Bill Contract		.brdgrp.rec.nam
								rcvdat:"",			//  到单日期		.brdgrp.rec.rcvdat
								advdat:"",			//  Date of Advice of Payment		.brdgrp.rec.advdat
								docflg:"",			//  单据类型		.brdgrp.rec.docflg
								docsta:"",			//  单据状态		.brdgrp.rec.docsta
								matdat:"",			//  Maturity Date		.brdgrp.rec.matdat
								tenmaxday:"",			//  Tenor day		.brdgrp.rec.tenmaxday
								stadat:"",			//  远期单据到期日		.brdgrp.rec.stadat
								frepayflg:"",			//  Free of Payment Flag		.brdgrp.rec.frepayflg
								docprbrol:"",			//  Presented by		.brdgrp.rec.docprbrol
								rptref:"",			//  合同号		.brdgrp.rec.rptref
								invref:"",			//  发票号		.brdgrp.rec.invref
							},
							cbs:{
								max:{
									cur:"",			//  单据金额		.brdgrp.cbs.max.cur
									amt:"",			//  单据金额		.brdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  单据余额		.brdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.brdgrp.cbs.opn1.amt
								},
								opn2:{
									cur:"",			//  附加金额		.brdgrp.cbs.opn2.cur
								},
							},
							apl:{
								pts:new Pts().data,
							},
							ben:{
								pts:new Pts().data,
							},
							prb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brdgrp.prb.namelc
								adrelc:"",			//  地址		.brdgrp.prb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brdgrp.prb.dbfadrblkcn
							},
						},
						lidgrp:{
							rec:{
								ownref:"",			//  信用证编号		.lidgrp.rec.ownref
								expdat:"",			//  Date of Expiry		.lidgrp.rec.expdat
							},
							cbs:{
								opn1:{
									cur:"",			//  Currency		.lidgrp.cbs.opn1.cur
									amt:"",			//  Balance		.lidgrp.cbs.opn1.amt
								},
							},
						},
						brtp:{
							lidget:{
								sdamod:{
									seainf:"",			//  		.brtp.lidget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.brtp.lidget.sdamod.dadsnd
								},
							},
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.brtp.recget.sdamod.dadsnd
									seainf:"",			//  		.brtp.recget.sdamod.seainf
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.brtp.matp.mattxtlab
							},
							prbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.brtp.prbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.brtp.prbp.ptsget.sdamod.dadsnd
									},
								},
							},
							prechkdat:"",			//  预计核验日期		.brtp.prechkdat
							ischktyp:"",			//  是否需要核验		.brtp.ischktyp
						},
zhujiazhan committed
93 94
						liaall: new Liaall().data,
						setmod: new Setmod().data ,
严一鸣 committed
95 96 97 98 99 100 101 102
						aamset:{
							utlamt:"",			//  单据金额		.aamset.utlamt
							utlamt2:"",			//  附加金额		.aamset.utlamt2
						},
						trtcre:{
							crefinflg:"",			//  Create Financing		.trtcre.crefinflg
						},
						paypsb:"",			//  Unpaid by Applicant		.paypsb
潘际乾 committed
103
						mtabut:pub.data.Mtabut,
严一鸣 committed
104 105 106 107 108
						nar754:"",			//  Narrative :77A:		.nar754
						bptbck:{
							bptbckg:[],			//  		.bptbck.bptbckg
							dscbckcur:"",			//  currency discount paid back		.bptbck.dscbckcur
						},
潘际乾 committed
109
						trnmod:pub.data.Trnmod,
严一鸣 committed
110 111
						dftcre:{
							dfflag:"",			//  同业代付		.dftcre.dfflag
zhujiazhan committed
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
							dfdgrp:{
								rec:{
									pntref:"",			//  Parent Reference		.dftcre.dfdgrp.rec.pntref
									pntnam:"",			//  Parent Contract Name	.dftcre.dfdgrp.rec.pntnam
									ownref:"",			//  代付业务编号:			.dftcre.dfdgrp.rec.ownref
									nam:"",			//  Name of Loan Contract		.dftcre.dfdgrp.rec.nam
									fintyp:"",			//  代付类型:				.dftcre.dfdgrp.rec.fintyp
									dfuflg:"",			//  境内境外代付:			.dftcre.dfdgrp.rec.dfuflg
									trntyp:"",			//  交易类型:				.dftcre.dfdgrp.rec.trntyp
									stttendat:"",			//  代付起始日:		.	 dftcre.dfdgrp.rec.stttendat
									matdat:"",			//  代付到期日:				.dftcre.dfdgrp.rec.matdat
									tenday:"",			//  代付期限:				.dftcre.dfdgrp.rec.tenday
									intprd:"",			//  计息周期:				.dftcre.dfdgrp.rec.intprd
									actrat:"",			//  代付利率:				.dftcre.dfdgrp.rec.actrat
									flttyp:"",			//  利率浮动方式:			.dftcre.dfdgrp.rec.flttyp
									guaflg:"",			//  货押标识:				.dftcre.dfdgrp.rec.guaflg
									fltval:"",			//  浮动值					.dftcre.dfdgrp.rec.fltval
									bankcn:"",			//  代付行中文名				.dftcre.dfdgrp.rec.bankcn
									bankno:"",			//  代付行核心客户号			.dftcre.dfdgrp.rec.bankno
									bnkact:"",			//  同业代付内部�'�号		.dftcre.dfdgrp.rec.bnkact
									rescur:"",			//  代付利息:				.dftcre.dfdgrp.rec.rescur
									resamt:"",			//  代付利息				.dftcre.dfdgrp.rec.resamt
									invtyp:"",			//  发票类型				.dftcre.dfdgrp.rec.invtyp
								},
								cbs:{
									max:{
										amt:"",			//  代付金额:		.dftcre.dfdgrp.cbs.max.amt
										cur:"",			//  代付金额:		.dftcre.dfdgrp.cbs.max.cur
									},
									opn1:{
										amt:"",			//  代付余额:		.dftcre.dfdgrp.cbs.opn1.amt
										cur:"",			//  代付余额:		.dftcre.dfdgrp.cbs.opn1.cur
									},
								},
								apl:{
									pts:new Pts().data,
									namelc:"",			//  名称		.dftcre.dfdgrp.apl.namelc
									adrelc:"",			//  地址		.dftcre.dfdgrp.apl.adrelc
									dbfadrblkcn:"",			//  Chinese address		.dftcre.dfdgrp.apl.dbfadrblkcn
								},
								dff:{
									pts:new Pts().data,
									namelc:"",			//  名称		.dftcre.dfdgrp.dff.namelc
									adrelc:"",			//  地址		.dftcre.dfdgrp.dff.adrelc
									dbfadrblkcn:"",			//  Chinese address		.dftcre.dfdgrp.dff.dbfadrblkcn
								},
							},
							dftp:{
								pctlab:"",			//  Percentage Label		.dftcre.dftp.pctlab
								aplp:{
									ptsget:{
										sdamod:{
											seainf:"",			//  		.dftcre.dftp.aplp.ptsget.sdamod.seainf
											dadsnd:"",			//  Drag  Drop Sender		.dftcre.dftp.aplp.ptsget.sdamod.dadsnd
										},
									},
								},
								dffp:{
									ptsget:{
										sdamod:{
											seainf:"",			//  		.dftcre.dftp.dffp.ptsget.sdamod.seainf
											dadsnd:"",			//  Drag  Drop Sender		.dftcre.dftp.dffp.ptsget.sdamod.dadsnd
										},
									},
								},
							},
							oricur:"",			//  单据金额:		.dftcre.oricur
							oriamt:"",			//  单据金额:		.dftcre.oriamt
							dfucur:"",			//  代付金额:		.dftcre.dfucur
							dfuamt:"",			//  代付金额:		.dftcre.dfuamt
严一鸣 committed
182 183 184 185 186 187 188
						},
						zcsdrq:"",			//  最迟送达日期		.zcsdrq
						bopmod:{
							szflg:"",			//  申报类型		.bopmod.szflg
							basflg:"",			//  基础数据		.bopmod.basflg
							dclflg:"",			//  申报数据		.bopmod.dclflg
							vrfflg:"",			//  核销数据		.bopmod.vrfflg
zhujiazhan committed
189
							ownextkey:"",			//  地区机构号	.bopmod.ownextkey
严一鸣 committed
190
							acttyp:"",			//  款项去向		.bopmod.acttyp
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
							dbcp:{
								baspp:{
									cusnam:"",			//  		.bopmod.dbcp.baspp.cusnam
									cornam:"",			//  		.bopmod.dbcp.baspp.cornam
									corpnam:"",			//  		.bopmod.dbcp.baspp.corpnam
									roptnam:"",			//  RoptNam		.bopmod.dbcp.baspp.roptnam
									exratelab:"",			//  �'�汇/结汇汇率		.bopmod.dbcp.baspp.exratelab
									lcyamtlab:"",			//  �'�汇/结汇金额		.bopmod.dbcp.baspp.lcyamtlab
									acp:"",			//  确认		.bopmod.dbcp.baspp.acp
									tmprefnew:"",			//  TMPREFLABEL		.bopmod.dbcp.baspp.tmprefnew
								},
							},
							dbcgrp:{
								bas:{
									tmpref:"",			//  �'时申报流�'号		.bopmod.dbcgrp.bas.tmpref
									ownextkey:"",			//  地区机构号		.bopmod.dbcgrp.bas.ownextkey
									actiontype:"",			//  操作类型		.bopmod.dbcgrp.bas.actiontype
									rptno:"",			//  申报号码		.bopmod.dbcgrp.bas.rptno
									idcode:"",			//  身份证件号码		.bopmod.dbcgrp.bas.idcode
									lcyacc:"",			//  人民币帐号/银行卡号		.bopmod.dbcgrp.bas.lcyacc
									fcyamt:"",			//  现汇金额		.bopmod.dbcgrp.bas.fcyamt
									fcyacc:"",			//  外汇帐号/银行卡号		.bopmod.dbcgrp.bas.fcyacc
									othamt:"",			//  其它金额		.bopmod.dbcgrp.bas.othamt
									othacc:"",			//  其它帐号/银行卡号		.bopmod.dbcgrp.bas.othacc
									methods:"",			//  结算方式		.bopmod.dbcgrp.bas.methods
									buscode:"",			//  银行业务编号		.bopmod.dbcgrp.bas.buscode
									custype:"",			//  类型		.bopmod.dbcgrp.bas.custype
									actiondesc:"",			//  操作类型		.bopmod.dbcgrp.bas.actiondesc
									exrate:"",			//  �'�汇汇率		.bopmod.dbcgrp.bas.exrate
									lcyamt:"",			//  �'�汇金额		.bopmod.dbcgrp.bas.lcyamt
									custnm:"",			//  付款人名称		.bopmod.dbcgrp.bas.custnm
									oppuser:"",			//  收款人名称		.bopmod.dbcgrp.bas.oppuser
									custcod:"",			//  组织机构		.bopmod.dbcgrp.bas.custcod
									actuccy:"",			//  实际付款币种及金额		.bopmod.dbcgrp.bas.actuccy
									actuamt:"",			//  实际付款币种及金额		.bopmod.dbcgrp.bas.actuamt
									lcbgno:"",			//  信用证/保函编号		.bopmod.dbcgrp.bas.lcbgno
									issdate:"",			//  开证日期		.bopmod.dbcgrp.bas.issdate
									tenor:"",			//  期限		.bopmod.dbcgrp.bas.tenor
									txccy:"",			//  付款币种及金额		.bopmod.dbcgrp.bas.txccy
									txamt:"",			//  付款币种及金额		.bopmod.dbcgrp.bas.txamt
									outchargeccy:"",			//  扣费币种及金额		.bopmod.dbcgrp.bas.outchargeccy
									outchargeamt:"",			//  扣费币种及金额		.bopmod.dbcgrp.bas.outchargeamt
								},
							},
严一鸣 committed
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
						},
						cfadft:{
							cfaflg:"",			//  海外代付		.cfadft.cfaflg
							ownextkey:"",			//  地区机构号		.cfadft.ownextkey
							basflg:"",			//  签约信息		.cfadft.basflg
							dclflg:"",			//  变动信息		.cfadft.dclflg
						},
						cfatrt:{
							ownextkey:"",			//  地区机构号		.cfatrt.ownextkey
							cfaflg:"",			//  外汇贷款		.cfatrt.cfaflg
							basflg:"",			//  签约信息		.cfatrt.basflg
							dclflg:"",			//  变动信息		.cfatrt.dclflg
							cda:{
								cfeogudad:"",			//  中资企业境外担保项下贷款业务批准文件号		.cfatrt.cda.cfeogudad
								cfeogudamount:"",			//  中资企业境外担保项下境内贷款额度金额		.cfatrt.cda.cfeogudamount
								useofunds:"",			//  资金用途		.cfatrt.cda.useofunds
								cfeogudcurr:"",			//  中资企业境外担保项下境内贷款额度币种		.cfatrt.cda.cfeogudcurr
							},
							cdaflg:"",			//  是否外保内�'�		.cfatrt.cdaflg
						},
						cfabrt:{
							basflg:"",			//  签约信息		.cfabrt.basflg
							cfaflg:"",			//  远期信用证		.cfabrt.cfaflg
							dclflg:"",			//  变动信息		.cfabrt.dclflg
							ownextkey:"",			//  地区机构号		.cfabrt.ownextkey
						},
						cnybop:{
							cnyflg:"",			//  是否报送跨境人民币2101表		.cnybop.cnyflg
							traflg:"",			//  是否报送跨境人民币2107表		.cnybop.traflg
							outflg:"",			//  是否报送跨境人民币2111表		.cnybop.outflg
							libflg:"",			//  是否报送跨境人民币2106表		.cnybop.libflg
							vouflg:"",			//  是否报送跨境人民币2122表		.cnybop.vouflg
						},
						hmdmod2:{
							bennam:"",			//  交易对手名称		.hmdmod2.bennam
						},
						pageId: ""			// ctx的key
				}
    }
}