index.js 1.7 KB
Newer Older
ccx committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
3 4
import Pub from "../Public"
export default class Bctcan{
ccx committed
5 6
    constructor () {
        this.data = {
7 8 9 10 11
						liaall:new Pub().data.Liaall,
						trnmod:new Pub().data.Trnmod,
						setmod:new Pub().data.Setmod,
						mtabut:new Pub().data.Mtabut,
						bcdgrp:{
ccx committed
12
							rec:{
13 14 15 16 17 18 19 20
								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
ccx committed
21 22 23
							},
							cbs:{
								max:{
24 25
									cur:"",			//  Document Amount		.bcdgrp.cbs.max.cur
									amt:"",			//  Document Amount		.bcdgrp.cbs.max.amt
ccx committed
26 27
								},
								opn1:{
28 29
									cur:"",			//  Open Amount		.bcdgrp.cbs.opn1.cur
									amt:"",			//  Open Amount		.bcdgrp.cbs.opn1.amt
ccx committed
30 31
								},
							},
32
							dre:{
ccx committed
33 34
								pts:new Pts().data,
							},
35 36
							rmi:{
								pts:new Pts().data,
杜大兵 committed
37
							},
38 39
							drr:{
								pts:new Pts().data,
ccx committed
40
							},
41 42
						},
						bctp0:{
ccx committed
43 44
							recget:{
								sdamod:{
45 46
									seainf:"",			//  		.bctp0.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.bctp0.recget.sdamod.dadsnd
ccx committed
47 48
								},
							},
49 50
							matp:{
								mattxtlab:"",			//  Label for MATTXT		.bctp0.matp.mattxtlab
ccx committed
51 52
							},
						},
53 54
						sndmsg:"",			//  Send message		.sndmsg
						strinf:"",			//  Narrative		.strinf
ccx committed
55 56 57 58
						pageId: ""			// ctx的key
				}
    }
}