import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"   //引入公共面板

export default class Brteus{
    constructor () {
        this.data = {
			liaall: new Pub().data.Liaall,
            setmod: new Pub().data.Setmod,  //加入公共面板账务字段
            mtabut: new Pub().data.Mtabut,
            trnmod: new Pub().data.Trnmod,   //加入公共面板面函的字段 
            brtapll1blk: "", //加入公共面板面函的字段
            brtprbl1blk: "",
            liaall: new Pub().data.Liaall,    //加入公共面板表外字段

						brdgrp:{
							acb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brdgrp.acb.namelc
								adrelc:"",			//  地址		.brdgrp.acb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brdgrp.acb.dbfadrblkcn
							  },
							  rmb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brdgrp.rmb.namelc
								adrelc:"",			//  地址		.brdgrp.rmb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brdgrp.rmb.dbfadrblkcn
							  },
							  beb:{
								pts:new Pts().data,
								namelc:"",			//  名称		.brdgrp.beb.namelc
								adrelc:"",			//  地址		.brdgrp.beb.adrelc
								dbfadrblkcn:"",			//  Chinese address		.brdgrp.beb.dbfadrblkcn
							  },
							blk: {
								docdis: "",			//  Discrepancies		.brdgrp.blk.docdis
								docdisflg: "",			//  discrepancies modified		.brdgrp.blk.docdisflg
								chaded:"",			//  Charges Deducted		.brdgrp.blk.chaded
								chaadd:"",			//  Charges		.brdgrp.blk.chaadd
								nartxt77a:"",			//  Narrative TAG 77A of MT754		.brdgrp.blk.nartxt77a
							  },
							rec:{
								totdat: "",			//  付款日期		.brdgrp.rec.totdat
								totcur:"",			//  Total Amount Claimed		.brdgrp.rec.totcur
								totamt:"",			//  Total Amount to be Paid		.brdgrp.rec.totamt
								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
                				advtyp: "",			//  Type of Advice Received		.brdgrp.rec.advtyp  //brtudp交易沿用过来显示的页面字段
							},
							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
								  },
								  max2:{
									amt:"",			//  附加金额		.brdgrp.cbs.max2.amt
								  },
							},
							apl:{
								pts:new Pts().data,
							},
							ben:{
								pts:new Pts().data,
							},
							prb:{
								pts:new Pts().data,
							},
						},
						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
							},
						},
						strinf:"",			//  Narrative		.strinf
						// 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
						// 	},
						// },
						pageId: ""			// ctx的key
				}
    }
}