import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "~/model/Public";

export default class Bttdcr{
    constructor () {
        this.data = {
						bttp0:{
							ltdget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp0.ltdget.sdamod.dadsnd
									seainf:"",			//  		.bttp0.ltdget.sdamod.seainf
								},
							},
							ledget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp0.ledget.sdamod.dadsnd
									seainf:"",			//  		.bttp0.ledget.sdamod.seainf
								},
							},
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.bttp0.recget.sdamod.dadsnd
									seainf:"",			//  		.bttp0.recget.sdamod.seainf
								},
							},
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.bttp0.matp.mattxtlab
							},
							aammod:{
								addamtflg:"",			//  Add. Amount		.bttp0.aammod.addamtflg
							},
						},
						ltdgrp:{
							rec:{
								ownref:"",			//  Transfer Reference		.ltdgrp.rec.ownref
							},
						},
						ledgrp:{
							rec:{
								ownref:"",			//  L/C Reference		.ledgrp.rec.ownref
							},
						},
						btdgrp:{
							rec:{
								ownref:"",			//  Doc. Set Reference		.btdgrp.rec.ownref
								doctypcod:"",			//  Document Type		.btdgrp.rec.doctypcod
								matdat:"",			//  Maturity Date		.btdgrp.rec.matdat
								rcvdatbe2:"",			//  Received on 2nd Ben.		.btdgrp.rec.rcvdatbe2
								rcvdatbe1:"",			//  Received on 1st Ben.		.btdgrp.rec.rcvdatbe1
								docsta:"",			//  Document Set Status		.btdgrp.rec.docsta
								nam:"",			//  Name of Bill Contract		.btdgrp.rec.nam
								disdat:"",			//  Date of Discrepancy Advice		.btdgrp.rec.disdat
							},
							cbs:{
								max:{
									cur:"",			//  Document Amount		.btdgrp.cbs.max.cur
									amt:"",			//  Document Amount		.btdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.btdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.btdgrp.cbs.opn1.amt
								},
							},
							be1:{
								pts:new Pts().data,
							},
							be2:{
								pts:new Pts().data,
							},
							blk:{
								docdis:"",			//  Discrepancies		.btdgrp.blk.docdis
								docdisflg:"",			//  discrepancies modified		.btdgrp.blk.docdisflg
								docins:"",			//  Reasons for Rejection		.btdgrp.blk.docins
								disdoc:"",			//  Disposal of Documents		.btdgrp.blk.disdoc
								docdisame:"",			//  DiscrepanciesAmendment History		.btdgrp.blk.docdisame
							},
						},
						rejpenins:"",			//  Rejection pending instructions		.rejpenins
						advdisflg:"",			//  Send Advice of Discrepancies		.advdisflg
						// mtabut:{
						// 	clsflg:"",			//  Close Flag		.mtabut.clsflg
						// 	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
						// 		},
						// 	},
						// },
						mtabut: new Pub().data.Mtabut,
						accdisflg:"",			//  Accept to 2ben bank		.accdisflg
						furide:"",			//  (History)		.furide
						// 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
						// },
						liaall: new Pub().data.Liaall,
						// 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
						// 	glemod:{
						// 		gleshwstm:"",			//  Booking stream to Display		.setmod.glemod.gleshwstm
						// 	},
						// },
						setmod: new Pub().data.Setmod,
						// 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
						// 	},
						// },
						mtabut: new Pub().data.Mtabut,
						bttbe1l1blk:"",
						bttbe2l1blk:"",
						pageId: ""			// ctx的key
				}
    }
}