import Api from "~/service/Api"
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';

export default class Gctadd{
    constructor () {
        this.data = {
						adaflg: "",
						nxtflg: "",
						clmtxt: "",
						extpay: "",
						clmtxts20: "",
						payday: "",
						szflg: "",
						acttyp: "",
						gidgrp:{
							rec:{
								inr: "",
								branchinr: '',
								ver:"",
                hndtyp:"",
                nam:"",
								ownref:"",			//  Guarantee		.gidgrp.rec.ownref
								expdat:"",			//  Valid until		.gidgrp.rec.expdat
								gartyp:"",			//  Type of Undertaking		.gidgrp.rec.gartyp
								liadat:"",			//  Liability until		.gidgrp.rec.liadat
								purpos: "",
								purposin: "",
								exptyp: "",
								expflg: "",
								liatyp: "",
								liaflg: "",
								giduil: "",

							},
							cbs:{
								max:{
									cur:"",			//  Amount Claimed		.gcdgrp.cbs.max.cur
									amt:"",			//  Balance		.gcdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.gcdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.gcdgrp.cbs.opn1.amt
								},
								max2:{
									cur:"",			//  Amount Claimed		.gcdgrp.cbs.max.cur
									amt:"",			//  Balance		.gcdgrp.cbs.max.amt
								},
								opn2:{
									cur:"",			//  Open Amount		.gcdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.gcdgrp.cbs.opn1.amt
								},
							},
							apl: {
								pts: new Pts().data,
							},
							ben: {
								pts: new Pts().data,
							},
							adv: {
								pts: new Pts().data,
							},
							apc: {
								pts: new Pts().data,
							},
							ctc: {
								pts: new Pts().data,
							},
							ctr: {
								pts: new Pts().data,
							},
							iss: {
								pts: new Pts().data,
							},
							ada: {
								pts: new Pts().data,
							},
							bec: {
								pts: new Pts().data,
							},
							atb: {
								pts: new Pts().data,
							},
							at2: {
								pts: new Pts().data,
							},
			
							acb: {
								pts: new Pts().data,
							},
							apr: {
								pts: new Pts().data,
							},
							avb: {
								pts: new Pts().data,
							},
							avc: {
								pts: new Pts().data,
							},
						},
						gcdgrp:{
							rec:{
								inr:"",
								ver:"",
								ownref:"",			//  Claim Number		.gcdgrp.rec.ownref
								nam:"",			//  Name		.gcdgrp.rec.nam
								clmdat:"",			//  Date of Claim		.gcdgrp.rec.clmdat
								docprbrol:"",			//  Presented by		.gcdgrp.rec.docprbrol
								payrol:"",			//  Payer		.gcdgrp.rec.payrol
								prechkdat:"",			//  预计核验日期		.gctp.prechkdat
								ischktyp:"",			//  是否需要核验		.gctp.ischktyp
								newexpdat: "",
								demstat: "",
							},
							blk: {
								inr: "",
								disdoc: "", //  Disposal of Documents		.gcdgrp.blk.disdoc
								presentdet: "",

							},
							cbs:{
								max:{
									cur:"",			//  Amount Claimed		.gcdgrp.cbs.max.cur
									amt:"",			//  Balance		.gcdgrp.cbs.max.amt
								},
								opn1:{
									cur:"",			//  Open Amount		.gcdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.gcdgrp.cbs.opn1.amt
								},
								max2:{
									cur:"",			//  Amount Claimed		.gcdgrp.cbs.max.cur
									amt:"",			//  Balance		.gcdgrp.cbs.max.amt
								},
								opn2:{
									cur:"",			//  Open Amount		.gcdgrp.cbs.opn1.cur
									amt:"",			//  Balance		.gcdgrp.cbs.opn1.amt
								},
							},
							apl: {
								pts: new Pts().data,
							},
							ben: {
								pts: new Pts().data,
							},
							bec: {
								pts: new Pts().data,
							},
							prb: {
								pts: new Pts().data,
							},
							oth: {
								pts: new Pts().data,
							},
							blk: {
								addamtinf: "", //  Add. Amt. Information		.gcdgrp.blk.addamtinf
								presentdet: "", //  Present. Compl. Det.		.gcdgrp.blk.presentdet
							},
							tmpint: {
								pts: new Pts().data,
							},
							awi: {
								pts: new Pts().data,
							},
							int: {
								pts: new Pts().data,
							},
							iss: {
								pts: new Pts().data,
							},
							rmr: {
								pts: new Pts().data,
							},
						},
						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
								},
							},
						},
						gidget:{
							sdamod:{
								seainf:"",			//  		.gctp.gidget.sdamod.seainf
							},
						},
						recget:{
							sdamod:{
								seainf:"",			//  		.gctp.recget.sdamod.seainf
							},
						},
						pageId: "",			// ctx的key
						setmod: new Pub().data.Setmod,
						mtabut: new Pub().data.Mtabut,
						trnmod: new Pub().data.Trnmod,
						docpan: new Pub().data.Docpan,
						doctre: new Pub().data.Doctre,
						trndia: new Pub().data.Trndia,
				}
    }
}