index.js 13.5 KB
Newer Older
lianyang committed
1 2 3 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
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"   //引入公共面板

export default class Betsnd{
    constructor () {
        this.data = {

          setmod: new Pub().data.Setmod,  //帐务、分录 加入公共面板账务字段
          mtabut: new Pub().data.Mtabut,   //附言
          trnmod: new Pub().data.Trnmod,   //面函 加入公共面板面函的字段
          liaall: new Pub().data.Liaall,//表外
          betapll3blk:"",
          betapll1blk:"",
          betapll2blk:"",
          betprbl4blk:"",

						betp:{
							ledget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.betp.ledget.sdamod.dadsnd
									seainf:"",			//  		.betp.ledget.sdamod.seainf
								},
							},
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.betp.recget.sdamod.dadsnd
									seainf:"",			//  		.betp.recget.sdamod.seainf
								},
							},
							adaflg:"",			//  Add. amount		.betp.adaflg
							docgrdm:{
								docdsclab:"",			//  Label of document description		.betp.docgrdm.docdsclab
lianyang committed
34
                docgrd:"",        //betp.docgrdm.docgrd   加表格内容字段
lianyang committed
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 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
							},
							othp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.betp.othp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.betp.othp.ptsget.sdamod.dadsnd
									},
								},
							},
							prbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.betp.prbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.betp.prbp.ptsget.sdamod.dadsnd
									},
								},
							},
							folwupopt:"",			//  Processing Options		.betp.folwupopt
							cre752flg:"",			//  Create 752		.betp.cre752flg
							furide:"",			//  进一步的确认		.betp.furide
							docp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.betp.docp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.betp.docp.ptsget.sdamod.dadsnd
									},
								},
							},
						},
						ledgrp:{
							rec:{
								ownref:"",			//  参考号		.ledgrp.rec.ownref
							},
							cbs:{
								opn1:{
									cur:"",			//  Currency		.ledgrp.cbs.opn1.cur
									amt:"",			//  Balance		.ledgrp.cbs.opn1.amt
								},
							},
						},
						bedgrp:{
							rec:{
								ownref:"",			//  单据参考号		.bedgrp.rec.ownref
								doctypcod:"",			//  单据类型		.bedgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.bedgrp.rec.matdat
								rcvdat:"",			//  Received on		.bedgrp.rec.rcvdat
								predat:"",			//  Presentation Date		.bedgrp.rec.predat
								docsta:"",			//  单据状态		.bedgrp.rec.docsta
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bedgrp.rec.nam
								payrol:"",			//  Payer		.bedgrp.rec.payrol
								docprbrol:"",			//  Presented by		.bedgrp.rec.docprbrol
								shpdat:"",			//  Date of Shipment		.bedgrp.rec.shpdat
								docrolflg:"",			//  Send Documents to Another Address		.bedgrp.rec.docrolflg
								docrol:"",			//  Receiver of Documents		.bedgrp.rec.docrol
								approvcod:"",			//  Documents on Approval Basis		.bedgrp.rec.approvcod
								disdat:"",			//  Date of Advice		.bedgrp.rec.disdat
								lescom:"",			//  Less comm.		.bedgrp.rec.lescom
							},
							cbs:{
								max:{
									cur:"",			//  单据金额		.bedgrp.cbs.max.cur
									amt:"",			//  单据金额		.bedgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  单据余额		.bedgrp.cbs.opn1.cur
									amt:"",			//  Balance		.bedgrp.cbs.opn1.amt
								},
							},
							prb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bedgrp.prb.namelc
								adrelc:"",			//  地址		.bedgrp.prb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bedgrp.prb.dbfadrblkcn
							},
							iss:{
								pts:new Pts().data,
							},
							apl:{
								pts:new Pts().data,
							},
							oth:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bedgrp.oth.namelc
								adrelc:"",			//  地址		.bedgrp.oth.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bedgrp.oth.dbfadrblkcn
							},
							blk:{
								matper:"",			//  Maturity Period		.bedgrp.blk.matper
								intdis:"",			//  Internal Discrepancies		.bedgrp.blk.intdis
								comcon:"",			//  Comments and Conclusions		.bedgrp.blk.comcon
								setinsbe:"",			//  Settlement Instructions transaction field		.bedgrp.blk.setinsbe
								docdis:"",			//  Discrepancies		.bedgrp.blk.docdis
								docdisflg:"",			//  Discrepancies modified		.bedgrp.blk.docdisflg
lianyang committed
128 129
								benref:"",			//  新受益人编号		.bedgrp.blk.benref\
                prsdoc:"",        //加Rgfp.vue左下表格字段//path字段 bedgrp.blk.prsdoc
lianyang committed
130 131 132 133 134 135 136 137
							},
							doc:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bedgrp.doc.namelc
								adrelc:"",			//  地址		.bedgrp.doc.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bedgrp.doc.dbfadrblkcn
							},
						},
lianyang committed
138 139 140 141 142 143
            oldbedgrp:{
              rec:{
                rcvdat:"",    //到单日期recevied on 是否高亮可选 oldbedgrp.rec.rcvdat
                predat:"",     //提示日期 Presented on 是否高亮可选 oldbedgrp.rec.predat
              }
            },
lianyang committed
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 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
						ameadrflg:"",			//  Ammendment Ben. or Iss. Address		.ameadrflg
						bedsnd:{
							snd732:"",			//  Create MT 732		.bedsnd.snd732
							ingdsc:"",			//  Ignore Discrepancies		.bedsnd.ingdsc
							usadet:"",			//  远期单据指示		.bedsnd.usadet
							addphr:"",			//  偿付条款		.bedsnd.addphr
							newbenadr:"",			//  新受益人地址		.bedsnd.newbenadr
						},
						rmbclmnow:"",			//  Claim Reimbursement now		.rmbclmnow
						rmbclmlate:"",			//  Claim Reimbursement late		.rmbclmlate
						// liaall:{
						// 	misamt:"",			//  Amount not yet assigned		.liaall.misamt
						// 	concur:"",			//  External Booking Amount		.liaall.concur
						// 	outpct:"",			//  Sight Amount Percentage		.liaall.outpct
						// 	outamt:"",			//  Sight Amount		.liaall.outamt
						// 	exttotoldamt:"",			//  Old Amount booked externally		.liaall.exttotoldamt
						// 	exttotamt:"",			//  Total booking amount external assinged		.liaall.exttotamt
						// 	limmod:{
						// 		limpts:{
						// 			wrklab:"",			//  Label		.liaall.limmod.limpts.wrklab
						// 			othlab:"",			//  Label		.liaall.limmod.limpts.othlab
						// 			othlabss:"",			//  Label		.liaall.limmod.limpts.othlabss
						// 			wrk:{
						// 				pts:new Pts().data,
						// 			},
						// 			oth:{
						// 				pts:new Pts().data,
						// 			},
						// 			lsh:"",			//  合同流�'号		.liaall.limmod.limpts.lsh
						// 			nonrevflg1:"",			//  Flag to Mark Non-revolving Limits		.liaall.limmod.limpts.nonrevflg1
						// 			pfcod1:"",			//  合同流�'号		.liaall.limmod.limpts.pfcod1
						// 			nonrevflg2:"",			//  Flag to Mark Non-revolving Limits		.liaall.limmod.limpts.nonrevflg2
						// 			pfcod2:"",			//  合同流�'号		.liaall.limmod.limpts.pfcod2
						// 		},
						// 		wrkp:{
						// 			ptsget:{
						// 				sdamod:{
						// 					dadsnd:"",			//  Drag  Drop Sender		.liaall.limmod.wrkp.ptsget.sdamod.dadsnd
						// 					seainf:"",			//  		.liaall.limmod.wrkp.ptsget.sdamod.seainf
						// 				},
						// 			},
						// 		},
						// 		othp:{
						// 			ptsget:{
						// 				sdamod:{
						// 					dadsnd:"",			//  Drag  Drop Sender		.liaall.limmod.othp.ptsget.sdamod.dadsnd
						// 					seainf:"",			//  		.liaall.limmod.othp.ptsget.sdamod.seainf
						// 				},
						// 			},
						// 		},
						// 		ownref:"",			//  国结业务编号		.liaall.limmod.ownref
						// 		comamt:"",			//  业务余额		.liaall.limmod.comamt
						// 		ccvamt:"",			//  保证金余额		.liaall.limmod.ccvamt
						// 		ecifno:"",			//  ECIFNO		.liaall.limmod.ecifno
						// 	},
						// },
						// setmod:{
						// 	docamttyplab:"",			//  settled amount description as label		.setmod.docamttyplab
						// 	retmsg:"",			//  Label showing Retry overflow condition		.setmod.retmsg
						// 	ref:"",			//  our reference		.setmod.ref
						// 	doccur:"",			//  document currency		.setmod.doccur
						// 	docamt:"",			//  document amount		.setmod.docamt
						// 	dspflg:"",			//  Type of settlement		.setmod.dspflg
						// 	xreflg:"",			//  Recalculate Rates		.setmod.xreflg
						// 	setglg:{
						// 		labdspflg:"",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
						// 	},
						// 	zmqacclab:"",			//  主�'�号LABEL		.setmod.zmqacclab
						// 	zmqacc:"",			//  自�'�区主�'�号		.setmod.zmqacc
						// },
						// mtabut:{
						// 	coninf:{
						// 		oitinf:{
						// 			labinftxt:"",			//  Label for INFTXT		.mtabut.coninf.oitinf.labinftxt
						// 			oit:{
						// 				inftxt:"",			//  Infotext		.mtabut.coninf.oitinf.oit.inftxt
						// 				inflev:"",			//  Infotext Level		.mtabut.coninf.oitinf.oit.inflev
						// 			},
						// 		},
						// 		oitset:{
						// 			labinftxt:"",			//  Label for INFTXT		.mtabut.coninf.oitset.labinftxt
						// 			oit:{
						// 				inftxt:"",			//  Infotext		.mtabut.coninf.oitset.oit.inftxt
						// 				inflev:"",			//  Infotext Level		.mtabut.coninf.oitset.oit.inflev
						// 			},
						// 		},
						// 		conexedat:"",			//  执行日期		.mtabut.coninf.conexedat
						// 		usr:{
						// 			extkey:"",			//  User ID		.mtabut.coninf.usr.extkey
						// 		},
						// 	},
						// },
						// trnmod:{
						// 	trndoc:{
						// 		advlabel:"",			//  ADVLABEL		.trnmod.trndoc.advlabel
						// 		amdnam:"",			//  AMDNAM		.trnmod.trndoc.amdnam
						// 		advdoc:"",			//  国内证通知书		.trnmod.trndoc.advdoc
						// 		advnam:"",			//  国内证落款		.trnmod.trndoc.advnam
						// 		amdapl:"",			//  修改申请人名称		.trnmod.trndoc.amdapl
						// 		doclbl:"",			//  Lable for CONDOCSTM		.trnmod.trndoc.doclbl
						// 		doctrestm:"",			//  Document tree		.trnmod.trndoc.doctrestm
						// 		shwinc:"",			//  Show Incoming Messages		.trnmod.trndoc.shwinc
						// 		shwout:"",			//  Show Outgoing Messages		.trnmod.trndoc.shwout
						// 		condocstm:"",			//  Connected Documents		.trnmod.trndoc.condocstm
						// 		rcvatt:{
						// 			seainf:"",			//  		.trnmod.trndoc.rcvatt.seainf
						// 		},
						// 		filrecv:"",			//  File Receiver		.trnmod.trndoc.filrecv
						// 	},
						// },
						rmbclm:{
							rmbrmb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.rmbclm.rmbrmb.namelc
								adrelc:"",			//  地址		.rmbclm.rmbrmb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.rmbclm.rmbrmb.dbfadrblkcn
							},
							rmbp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.rmbclm.rmbp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.rmbclm.rmbp.ptsget.sdamod.dadsnd
									},
								},
							},
							acwacw:{
								pts:new Pts().data,
								namelc:"",			//  名称		.rmbclm.acwacw.namelc
								adrelc:"",			//  地址		.rmbclm.acwacw.adrelc
								dbfadrblkcn:"",			//  Chinese address		.rmbclm.acwacw.dbfadrblkcn
							},
							acwp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.rmbclm.acwp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.rmbclm.acwp.ptsget.sdamod.dadsnd
									},
								},
							},
							bebbeb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.rmbclm.bebbeb.namelc
								adrelc:"",			//  地址		.rmbclm.bebbeb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.rmbclm.bebbeb.dbfadrblkcn
							},
							bebp:{
								ptsget:{
									sdamod:{
										seainf:"",			//  		.rmbclm.bebp.ptsget.sdamod.seainf
										dadsnd:"",			//  Drag  Drop Sender		.rmbclm.bebp.ptsget.sdamod.dadsnd
									},
								},
							},
							rmbrol:"",			//  偿付行		.rmbclm.rmbrol
							valdat:"",			//  value date		.rmbclm.valdat
						},
						cnybop:{
							cnyflg:"",			//  是否报送跨境人民币2101表		.cnybop.cnyflg
							traflg:"",			//  是否报送跨境人民币2107表		.cnybop.traflg
							outflg:"",			//  是否报送跨境人民币2111表		.cnybop.outflg
							libflg:"",			//  是否报送跨境人民币2106表		.cnybop.libflg
							vouflg:"",			//  是否报送跨境人民币2122表		.cnybop.vouflg
							cnylib:{
								spk:"",			//  业务主键		.cnybop.cnylib.spk
								sbankorgcode:"",			//  银行机构代码		.cnybop.cnylib.sbankorgcode
								stransattr:"",			//  业务属性		.cnybop.cnylib.stransattr
								stranstype:"",			//  业务类型		.cnybop.cnylib.stranstype
								sforbankswiftbic:"",			//  境外对手行代码		.cnybop.cnylib.sforbankswiftbic
								sorgcode:"",			//  境内企业机构代码		.cnybop.cnylib.sorgcode
								sforeigncountrycode:"",			//  境外企业国别地区代码		.cnybop.cnylib.sforeigncountrycode
								doccurdate:"",			//  业务发生日期		.cnybop.cnylib.doccurdate
								denddate:"",			//  业务到期日		.cnybop.cnylib.denddate
								dcreditenddate:"",			//  信用证到期日		.cnybop.cnylib.dcreditenddate
								famt:"",			//  金额		.cnybop.cnylib.famt
								dexchangedate:"",			//  承兑日期		.cnybop.cnylib.dexchangedate
								dexchangeenddate:"",			//  承兑到期日		.cnybop.cnylib.dexchangeenddate
								sbanktrano:"",			//  银行业务编号		.cnybop.cnylib.sbanktrano
								stermtype:"",			//  期限条件		.cnybop.cnylib.stermtype
								currencycode:"",			//  币种		.cnybop.cnylib.currencycode
							},
							sorgname:"",			//  境内企业名称		.cnybop.sorgname
							sforeignorgname:"",			//  境外企业名称		.cnybop.sforeignorgname
							saddwordlib:"",			//  交易附言		.cnybop.saddwordlib
							sbankname:"",			//  银行机构名称		.cnybop.sbankname
							fexchangeamt:"",			//  承兑金额		.cnybop.fexchangeamt
						},
						pageId: ""			// ctx的key
				}
    }
}