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

export default class Ditcan{
    constructor () {
        this.data = {
						ditp0:{
							thdate:"",			//  提�'�日期/服务提供日		.ditp0.thdate
							recget:{
								sdamod:{
									seainf:"",			//  		.ditp0.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.ditp0.recget.sdamod.dadsnd
								},
							},
							aammod:{
								addamtflg:"",			//  Add. Amount		.ditp0.aammod.addamtflg
							},
						},
						didgrp:{
							rec:{
								ownref:"",			//  参考号		.didgrp.rec.ownref
								nam:"",			//  名称		.didgrp.rec.nam
								avbby:"",			//  兑付方式		.didgrp.rec.avbby
								redclsflg:"",			//  Red/Green Clause		.didgrp.rec.redclsflg
								opndat:"",			//  开立日期		.didgrp.rec.opndat
								shpdat:"",			//  Shipment Date		.didgrp.rec.shpdat
								expdat:"",			//  到期日		.didgrp.rec.expdat
								expplc:"",			//  到期日		.didgrp.rec.expplc
								lcrtyp:"",			//  信用证类型		.didgrp.rec.lcrtyp
								revflg:"",			//  Revolving Flag		.didgrp.rec.revflg
								tzref:"",			//  通知行编号		.didgrp.rec.tzref
							},
							cbs:{
								nom1:{
									cur:"",			//  开证金额		.didgrp.cbs.nom1.cur
									amt:"",			//  开证金额		.didgrp.cbs.nom1.amt
								},
								opn1:{
									cur:"",			//  信用证余额		.didgrp.cbs.opn1.cur
									amt:"",			//  Balance		.didgrp.cbs.opn1.amt
								},
							},
							apl:{
								pts:new Pts().data,
							},
							ben:{
								pts:new Pts().data,
							},
							adv:{
								pts:new Pts().data,
							},
							avbnam:"",			//  指定银行		.didgrp.avbnam
							blk:{
								canrsn:"",			//  注销/闭卷原因		.didgrp.blk.canrsn
							},
						},
						ditcanf:{
							strinf:"",			//  附言		.ditcanf.strinf
						},
						byinst:"",			//  On Applicant instruction		.byinst
						sndmsg:"",			//  Send message to apllicant		.sndmsg
						rejhnd:"",			//  注销/闭卷		.rejhnd
						setmod:{
							doccur:"",			//  document currency		.setmod.doccur
							docamt:"",			//  document amount		.setmod.docamt
							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: {}
							}
						},
						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
						},
						trnmod:{
							trndoc:{
								advlabel:"",			//  ADVLABEL		.trnmod.trndoc.advlabel
								amdnam:"",			//  AMDNAM		.trnmod.trndoc.amdnam
								advdoc:"",			//  国内证通知书		.trnmod.trndoc.advdoc
								advnam:"",			//  国内证落款		.trnmod.trndoc.advnam
								amdapl:"",			//  修改申请人名称		.trnmod.trndoc.amdapl
							},
						},
						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
								},
							},
						},
						pageId: ""			// ctx的key
				}
    }
}