index.js 1.53 KB
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"

export default class Cctset {
	constructor() {
		this.data = {
			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
					frepayflg: "",			//  Free of Payment Flag		.ccdgrp.rec.frepayflg
				},
				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,
				},
			},
			lendoc: {
				actflg: "",			//  Input Account		.lendoc.actflg
				account: "",			//  ACT		.lendoc.account
				vercerref: "",			//  Verification Certificate Number		.lendoc.vercerref
				decnum: "",			//  Declaration Number		.lendoc.decnum
			},
			cctp0: {
				recget: {
					sdamod: {
						seainf: "",			//  		.cctp0.recget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.cctp0.recget.sdamod.dadsnd
					},
				},
			},
			pageId: "",			// ctx的key
			trnmod: new Pub().data.Trnmod,
			setmod: new Pub().data.Setmod,
			liaall: new Pub().data.Liaall,
			mtabut: new Pub().data.Mtabut,
		}
	}
}