index.js 1.54 KB
Newer Older
fukai committed
1 2 3 4 5 6 7 8 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
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';

export default class Bctten {
	constructor() {
		this.data = {
			bcdgrp: {
				rec: {
					ownref: "",			//  Collection Number		.bcdgrp.rec.ownref
					nam: "",			//  Name		.bcdgrp.rec.nam
					rcvdat: "",			//  Docs Received on		.bcdgrp.rec.rcvdat
					advdat: "",			//  Date of Advice of Documents Received		.bcdgrp.rec.advdat
					matdat: "",			//  Maturity Date		.bcdgrp.rec.matdat
					predat: "",			//  Maturity Date		.bcdgrp.rec.predat
					doctypcod: "",			//  Payment Condition		.bcdgrp.rec.doctypcod
					docsta: "",			//  Document Status		.bcdgrp.rec.docsta
				},
				cbs: {
					max: {
						cur: "",			//  Booking Amount		.bcdgrp.cbs.max.cur
						amt: "",			//  Document Amount		.bcdgrp.cbs.max.amt
					},
					opn1: {
						cur: "",			//  Open Amount		.bcdgrp.cbs.opn1.cur
						amt: "",			//  Open Amount		.bcdgrp.cbs.opn1.amt
					},
				},
				dre: {
					pts: new Pts().data,
				},
				rmi: {
					pts: new Pts().data,
				},
				drr: {
					pts: new Pts().data,
				},
			},
			bctp0: {
				recget: {
					sdamod: {
						seainf: "",			//  		.bctp0.recget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.bctp0.recget.sdamod.dadsnd
					},
				},
				matp: {
					mattxtlab: "",			//  Label for MATTXT		.bctp0.matp.mattxtlab
				},
			},
			liaamt: "",			//  Booking amount		.liaamt
			setmod: new Pub().data.Setmod,
			mtabut: new Pub().data.Mtabut,
			trnmod: new Pub().data.Trnmod,
			docpan: new Pub().data.Docpan,
		}
	}
}