index.js 1.45 KB
Newer Older
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
wangna committed
3
import Pub from "../Public"
4

wangna committed
5 6 7
export default class Ccttra {
	constructor() {
		this.data = {
wangna committed
8
			ccttral1blk: "",
wangna committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
			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,
		}
	}
58
}