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

export default class Ccttra {
	constructor() {
		this.data = {
			ccttral1blk: "",
			ccdgrp: {
				rec: {
					ownref: "",			//  Our Reference		.ccdgrp.rec.ownref
					nam: "",			//  Name of CC contract		.ccdgrp.rec.nam
					chkdat: "",			//  Date of Draft		.ccdgrp.rec.chkdat
					ccform: "",			//  Form of Clean Coll.		.ccdgrp.rec.ccform
					purflg: "",			//  Payment disposition		.ccdgrp.rec.purflg
				},
				cbs: {
					max: {
						cur: "",			//  Currency		.ccdgrp.cbs.max.cur
						amt: "",			//  Currency		.ccdgrp.cbs.max.amt
					},
					opn1: {
						cur: "",			//  Currency		.ccdgrp.cbs.opn1.cur
						amt: "",			//  Currency		.ccdgrp.cbs.opn1.amt
					},
				},
				pre: {
					pts: new Pts().data,
				},
				dro: {
					pts: new Pts().data,
				},
				col: {
					pts: new Pts().data,
				},
				blk: {
					bcgque: "",			//  Queries		.ccdgrp.blk.bcgque
					bcgans: "",			//  Answers		.ccdgrp.blk.bcgans
				},
			},
			cctp0: {
				recget: {
					sdamod: {
						seainf: "",			//  		.cctp0.recget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.cctp0.recget.sdamod.dadsnd
					},
				},
			},
			advtyp: "",			//  Type of Advice		.advtyp
			advrol: "",			//  Receive of Message 		.advrol
			pageId: "",			// ctx的key
			trnmod: new Pub().data.Trnmod,
			setmod: new Pub().data.Setmod,
			liaall: new Pub().data.Liaall,
			mtabut: new Pub().data.Mtabut,
		}
	}
}