import Api from "~/service/Api"
import Pts from "../Common/Pts"

export default class Betdrv{
    constructor () {
        this.data = {
						oridoclab:"",			//  Label original		.oridoclab
						oriaddlab:"",			//  Label original		.oriaddlab
						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
							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
									},
								},
							},
							docgrdm:{
								docdsclab:"",			//  Label of document description		.betp.docgrdm.docdsclab
							},
							folwupopt:"",			//  Processing Options		.betp.folwupopt
						},
						ledgrp:{
							rec:{
								ownref:"",			//  参考号		.ledgrp.rec.ownref
								utlnbr:"",			//  No. of Existing and not Completely Processed  Document Sets		.ledgrp.rec.utlnbr
							},
							cbs:{
								opn1:{
									cur:"",			//  Currency		.ledgrp.cbs.opn1.cur
									amt:"",			//  Balance		.ledgrp.cbs.opn1.amt
								},
							},
						},
						bedgrp:{
							rec:{
								ownref:"",			//  单据参考号		.bedgrp.rec.ownref
								doctypcod:"",			//  Document Type		.bedgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.bedgrp.rec.matdat
								rcvdat:"",			//  Received on		.bedgrp.rec.rcvdat
								predat:"",			//  到单日期		.bedgrp.rec.predat
								docsta:"",			//  单据状态		.bedgrp.rec.docsta
								nam:"",			//  Externally Displayed Name to Identify the Contract		.bedgrp.rec.nam
								orddat:"",			//  Order Date		.bedgrp.rec.orddat
								shpdat:"",			//  Date of Shipment		.bedgrp.rec.shpdat
								dscinsflg:"",			//  Enter Docs, Discrep. and Instructions		.bedgrp.rec.dscinsflg
								payrol:"",			//  Payer		.bedgrp.rec.payrol
								docprbrol:"",			//  Presented by		.bedgrp.rec.docprbrol
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.bedgrp.cbs.max.cur
									amt:"",			//  Balance		.bedgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  单据余额		.bedgrp.cbs.opn1.cur
									amt:"",			//  Balance		.bedgrp.cbs.opn1.amt
								},
								opn2:{
									cur:"",			//  附加金额		.bedgrp.cbs.opn2.cur
								},
								max2:{
									amt:"",			//  附加金额		.bedgrp.cbs.max2.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,
							},
							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
							},
							oth:{
								pts:new Pts().data,
								namelc:"",			//  名称		.bedgrp.oth.namelc
								adrelc:"",			//  地址		.bedgrp.oth.adrelc
								dbfadrblkcn:"",			//  Chinese address		.bedgrp.oth.dbfadrblkcn
							},
						},
						oldbedgrp:{
							cbs:{
								max:{
									amt:"",			//  Balance		.oldbedgrp.cbs.max.amt
								},
								max2:{
									amt:"",			//  Balance		.oldbedgrp.cbs.max2.amt
								},
							},
						},
						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
						},
						setmod:{
							docamttyplab:"",			//  settled amount description as label		.setmod.docamttyplab
							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
							redamt:"",			//  减少的金额		.setmod.redamt
							setamt:"",			//  减少后的结算金额		.setmod.setamt
							redamttxt:"",			//  注释		.setmod.redamttxt
							retmsg:"",			//  Label showing Retry overflow condition		.setmod.retmsg
							setglg:{
								labdspflg:"",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
							},
							zmqacclab:"",			//  主�'�号LABEL		.setmod.zmqacclab
							zmqacc:"",			//  自�'�区主�'�号		.setmod.zmqacc
							setfog: {
								setfol: []
							},
							setfeg: {
								setfel: []
							},
							glemod:{
								gleshwstm:"",			//  Booking stream to Display		.setmod.glemod.gleshwstm
							},
						},
						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
							},
						},
						pageId: ""			// ctx的key
				}
    }
}