index.js 3.32 KB
Newer Older
唐贵贤 committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
wangna committed
3
import Pub from "../Public"
wangna committed
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
export default class Cctdav {
	constructor() {
		this.data = {
			cctdavl1blk: "",
			ccdgrp: {
				rec: {
					ownref: "",			//  Our Reference		.ccdgrp.rec.ownref
					nam: "",			//  Name of CC contract		.ccdgrp.rec.nam
					regref: "",			//  Register Ref.		.ccdgrp.rec.regref
					ccform: "",			//  Form of Clean Coll.		.ccdgrp.rec.ccform
					modset: "",			//  Mode of Collection		.ccdgrp.rec.modset
					purflg: "",			//  Payment Disposition 		.ccdgrp.rec.purflg
					tocsel: "",			//  Type of Check		.ccdgrp.rec.tocsel
					pretyp: "",			//  TYPE OF PRESENTER		.ccdgrp.rec.pretyp
					chcknum: "",			//  Check Number		.ccdgrp.rec.chcknum
					chkdat: "",			//  Date of Draft		.ccdgrp.rec.chkdat
				},
				cbs: {
					opn1: {
						cur: "",			//  Open Amount		.ccdgrp.cbs.opn1.cur
						amt: "",			//  Open Amount		.ccdgrp.cbs.opn1.amt
					},
					max: {
						cur: "",			//  Draft Amount		.ccdgrp.cbs.max.cur
						amt: "",			//  Draft Amount		.ccdgrp.cbs.max.amt
					},
				},
				cor: {
					pts: new Pts().data,
					namelc: "",			//  名称		.ccdgrp.cor.namelc
					adrelc: "",			//  地址		.ccdgrp.cor.adrelc
					dbfadrblkcn: "",			//  Chinese address		.ccdgrp.cor.dbfadrblkcn
				},
				pre: {
					pts: new Pts().data,
					namelc: "",			//  名称		.ccdgrp.pre.namelc
					adrelc: "",			//  地址		.ccdgrp.pre.adrelc
					dbfadrblkcn: "",			//  Chinese address		.ccdgrp.pre.dbfadrblkcn
				},
				dro: {
					pts: new Pts().data,
					namelc: "",			//  名称		.ccdgrp.dro.namelc
					adrelc: "",			//  地址		.ccdgrp.dro.adrelc
					dbfadrblkcn: "",			//  Chinese address		.ccdgrp.dro.dbfadrblkcn
				},
				col: {
					pts: new Pts().data,
					namelc: "",			//  名称		.ccdgrp.col.namelc
					adrelc: "",			//  地址		.ccdgrp.col.adrelc
					dbfadrblkcn: "",			//  Chinese address		.ccdgrp.col.dbfadrblkcn
				},
				orddat: "",			//  Date of Order		.ccdgrp.orddat
				blk: {
					setins: "",			//  Settlement Instructions		.ccdgrp.blk.setins
				},
			},
			cctp: {
				recget: {
					sdamod: {
						seainf: "",			//  		.cctp.recget.sdamod.seainf
						dadsnd: "",			//  Drag  Drop Sender		.cctp.recget.sdamod.dadsnd
					},
				},
				corp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.cctp.corp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.cctp.corp.ptsget.sdamod.dadsnd
唐贵贤 committed
72
						},
wangna committed
73 74 75 76 77 78 79
					},
				},
				prep: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.cctp.prep.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.cctp.prep.ptsget.sdamod.dadsnd
唐贵贤 committed
80
						},
wangna committed
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
					},
				},
				drop: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.cctp.drop.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.cctp.drop.ptsget.sdamod.dadsnd
						},
					},
				},
				colp: {
					ptsget: {
						sdamod: {
							seainf: "",			//  		.cctp.colp.ptsget.sdamod.seainf
							dadsnd: "",			//  Drag  Drop Sender		.cctp.colp.ptsget.sdamod.dadsnd
						},
					},
				},
				usr: {
					extkey: "",			//  User ID		.cctp.usr.extkey
				},
				usrget: {
					sdamod: {
						seainf: "",			//  		.cctp.usrget.sdamod.seainf
					},
				},
			},
			pageId: "",			// ctx的key
			setmod: new Pub().data.Setmod,
			mtabut: new Pub().data.Mtabut,
			trnmod: new Pub().data.Trnmod,
			liaall: new Pub().data.Liaall,
		}
	}
唐贵贤 committed
115
}