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

export default class Cptcan{
    constructor () {
        this.data = {
						cptpybl1blk:"",
						cptorcl1blk:"",
						strinf:"",			//  Narrative		.strinf
						cptp0:{
							recget:{
								sdamod:{
									dadsnd:"",			//  Drag  Drop Sender		.cptp0.recget.sdamod.dadsnd
									seainf:"",			//  		.cptp0.recget.sdamod.seainf
								},
							},
						},
						cpdgrp:{
							rec:{
								ownref:"",			//  Our Reference		.cpdgrp.rec.ownref
								valdat:"",			//  Value Date		.cpdgrp.rec.valdat
								paytyp:"",			//  Payment Type		.cpdgrp.rec.paytyp
								nam:"",			//  Name		.cpdgrp.rec.nam
							},
							cbs:{
								nom1:{
									cur:"",			//  Payment Amount		.cpdgrp.cbs.nom1.cur
									amt:"",			//  Balance		.cpdgrp.cbs.nom1.amt
								},
								max:{
									cur:"",			//  Received Amount		.cpdgrp.cbs.max.cur
									amt:"",			//  Balance		.cpdgrp.cbs.max.amt
								},
							},
							ori:{
								pts:new Pts().data,
							},
							orc:{
								pts:new Pts().data,
							},
							pye:{
								pts:new Pts().data,
							},
							pyb:{
								pts:new Pts().data,
							},
						},
						sndmsg:"",			//  Send Message		.sndmsg
						setmod: new Pub().data.Setmod,
			            mtabut: new Pub().data.Mtabut,
			            trnmod: new Pub().data.Trnmod,
			            // 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
						// },
						// 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
				}
    }
}