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

export default class Bdtudp {
	constructor() {
		this.data = {
			bddgrp: {
				rec: {
					docflg: "",			//  单据类型		.bddgrp.rec.docflg
					rcvdat: "",			//  到单日期		.bddgrp.rec.rcvdat
					predat: "",			//  到单日期		.bddgrp.rec.predat
					docprbrol: "",			//  单据类型		.bddgrp.rec.docprbrol
					payrol: "",			//  发送承付电		.bddgrp.rec.payrol
					ownref: "",			//  单据参考号		.bddgrp.rec.ownref
					nam: "",			//  Name of Bill Contract		.bddgrp.rec.nam
					docsta: "",			//  单据状态		.bddgrp.rec.docsta
					matdat: "",			//  Maturity Date		.bddgrp.rec.matdat
					tenmaxday: "",			//  单据到期日		.bddgrp.rec.tenmaxday
					stadat: "",			//  Start Date		.bddgrp.rec.stadat
					igndisflg: "",			//  Ignore Discrepancies		.bddgrp.rec.igndisflg
					advtyp: "",			//  Type of Advice Received		.bddgrp.rec.advtyp
					totdat: "",			//  付款日期		.bddgrp.rec.totdat
					disdat: "",			//  不符点通知日期		.bddgrp.rec.disdat
					approvcod: "",			//  Documents on Approval Basis		.bddgrp.rec.approvcod
					relgodflg: "",			//  Release of Goods		.bddgrp.rec.relgodflg
					reltyp: "",			//  Release Type		.bddgrp.rec.reltyp
					relgoddat: "",			//  issue date		.bddgrp.rec.relgoddat
					expdat: "",			//  Expiry Date of Shipping Guarantee		.bddgrp.rec.expdat
					trpdoctyp: "",			//  Transport Doc. Type		.bddgrp.rec.trpdoctyp
					trpdocnum: "",			//  Transport Doc. No.		.bddgrp.rec.trpdocnum
					tradat: "",			//  shipment date		.bddgrp.rec.tradat
					tramod: "",			//  Mode of Transport		.bddgrp.rec.tramod
					rtoaplflg: "",			//  Release Goods to Applicant ?		.bddgrp.rec.rtoaplflg
					ngrcod: "",			//  Goods code		.bddgrp.rec.ngrcod
					blnum: "",			//  B/L Number		.bddgrp.rec.blnum
					totcur: "",			//  Total Amount Claimed		.bddgrp.rec.totcur
					totamt: "",			//  Total Amount to be Paid		.bddgrp.rec.totamt
				},
				cbs: {
					opn2: {
						cur: "",			//  附加金额		.bddgrp.cbs.opn2.cur
					},
					max: {
						cur: "",			//  单据金额		.bddgrp.cbs.max.cur
						amt: "",			//  Balance		.bddgrp.cbs.max.amt
					},
					opn1: {
						cur: "",			//  单据余额		.bddgrp.cbs.opn1.cur
						amt: "",			//  Balance		.bddgrp.cbs.opn1.amt
					},
					max2: {
						amt: "",			//  附加金额		.bddgrp.cbs.max2.amt
					},
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				prb: {
					pts: new Pts().data,
				},
				tag72add: "",			//  TAG72		.bddgrp.tag72add
				blk: {
					comcon: "",			//  Comments and Conclusions		.bddgrp.blk.comcon
					docdis: "",			//  Discrepancies		.bddgrp.blk.docdis
					docdisflg: "",			//  discrepancies modified		.bddgrp.blk.docdisflg
					accrmk: "",			//  到期付款确认备注		.bddgrp.blk.accrmk
					vesnam: "",			//  Vessel Name		.bddgrp.blk.vesnam
					pordis: "",			//  Port of Discharge		.bddgrp.blk.pordis
					delplc: "",			//  Place of Delivery		.bddgrp.blk.delplc
					roggod: "",			//  Covered Goods		.bddgrp.blk.roggod
					relstoadr: "",			//  Release to Address		.bddgrp.blk.relstoadr
					porlod: "",			//  Port of loading		.bddgrp.blk.porlod
					voynum: "",			//  Voyage numer		.bddgrp.blk.voynum
					notpty: "",			//  Notify Party		.bddgrp.blk.notpty
					carnam: "",			//  Carrier		.bddgrp.blk.carnam
					chaded: "",			//  Charges Deducted		.bddgrp.blk.chaded
					chaadd: "",			//  Charges		.bddgrp.blk.chaadd
				},
				shp: {
					pts: new Pts().data,
					namelc: "",			//  名称		.bddgrp.shp.namelc
					adrelc: "",			//  地址		.bddgrp.shp.adrelc
					dbfadrblkcn: "",			//  Chinese address		.bddgrp.shp.dbfadrblkcn
				},
				acb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.bddgrp.acb.namelc
					adrelc: "",			//  地址		.bddgrp.acb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.bddgrp.acb.dbfadrblkcn
				},
				beb: {
					pts: new Pts().data,
					namelc: "",			//  名称		.bddgrp.beb.namelc
					adrelc: "",			//  地址		.bddgrp.beb.adrelc
					dbfadrblkcn: "",			//  Chinese address		.bddgrp.beb.dbfadrblkcn
				},
			},
			aamset: {
				utlamt: "",			//  单据金额		.aamset.utlamt
				utlamt2: "",			//  附加金额		.aamset.utlamt2
			},
			setmod: {
				docamt: "",			//  document amount		.setmod.docamt
				doccur: "",			//  document currency		.setmod.doccur
				docamttyplab: "",			//  settled amount description as label		.setmod.docamttyplab
				retmsg: "",			//  Label showing Retry overflow condition		.setmod.retmsg
				ref: "",			//  our reference		.setmod.ref
				dspflg: "",			//  Type of settlement		.setmod.dspflg
				xreflg: "",			//  Recalculate Rates		.setmod.xreflg
				setglg: {
					labdspflg: "",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
					setgll: []
				},

				zmqacclab: "",			//  主�'�号LABEL		.setmod.zmqacclab
				zmqacc: "",			//  自�'�区主�'�号		.setmod.zmqacc
				setfog: {
					setfol: []
				},
				setfeg: {
					setfel: []
				},
				glemod: {
					gleshwstm: "",			//  Booking stream to Display		.setmod.glemod.gleshwstm
				},
			},
			didgrp: {
				rec: {
					ownref: "",			//  信用证参考号		.didgrp.rec.ownref
					expdat: "",			//  Date of Expiry		.didgrp.rec.expdat
				},
				cbs: {
					opn1: {
						cur: "",			//  Currency		.didgrp.cbs.opn1.cur
						amt: "",			//  Balance		.didgrp.cbs.opn1.amt
					},
				},
			},
			bdtp: {
				didget: {
					sdamod: {
						seainf: "",			//  		.bdtp.didget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.bdtp.didget.sdamod.dadsnd
					},
				},
				recget: {
					sdamod: {
						dadsnd: "",			//  Drag  Drop Sender		.bdtp.recget.sdamod.dadsnd
						seainf: "",			//  		.bdtp.recget.sdamod.seainf
					},
				},
				matp: {
					mattxtlab: "",			//  Label for MATTXT		.bdtp.matp.mattxtlab
				},
				oth: {
					pts: new Pts().data,
				},
				docgrdm: {
					docdsclab: "",			//  Label of document description		.bdtp.docgrdm.docdsclab
				},
				cre752flg: "",			//  Create 752		.bdtp.cre752flg
				furide: "",			//  Further Identification		.bdtp.furide
				cre732flg: "",			//  Create MT 732		.bdtp.cre732flg
				shpp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.bdtp.shpp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.bdtp.shpp.ptsget.sdamod.dadsnd
						},
					},
				},
				connum: "",			//  Contract Number		.bdtp.connum
				acbp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.bdtp.acbp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.bdtp.acbp.ptsget.sdamod.dadsnd
						},
					},
				},
				bebp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.bdtp.bebp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.bdtp.bebp.ptsget.sdamod.dadsnd
						},
					},
				},
			},
			sftmt: "",			//  Which MT		.sftmt
			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
				liaccv: {
					newamt: "",			//  合同金额		.liaall.liaccv.newamt
					concur: "",			//  应付保证金金额		.liaall.liaccv.concur
					totcovamt: "",			//  金额总和		.liaall.liaccv.totcovamt
					newresamt: "",			//  Reserved Amount		.liaall.liaccv.newresamt
					addinf: "",			//  Additional Information 		.liaall.liaccv.addinf
					cshpct: "",			//  保证金应收比例		.liaall.liaccv.cshpct
					relcshpct: "",			//  保证金实收比例		.liaall.liaccv.relcshpct
					gleflg: "",			//  Create gle flag		.liaall.liaccv.gleflg
					chgcurflg: "",			//  Change currency flag		.liaall.liaccv.chgcurflg
					pctresamt: "",			//  reserve amount based percent		.liaall.liaccv.pctresamt
				},
				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
				},
			},
			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
					doceot: [],
				},
			},
		}
	}
}