index.js 3.24 KB
Newer Older
cl committed
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
cl committed
3
import Pub from "../Public"
nanrui committed
4 5 6
export default class Cltdav {
	constructor() {
		this.data = {
hewei committed
7
			ccdbatg: [],
nanrui committed
8 9
			cltdavl2blk:"",
			cltdavl1blk:"",
10 11 12
			bptbck:{
				bptbckg:[],
			},			
cl committed
13
			liaall: new Pub().data.Liaall,
nanrui committed
14 15 16 17 18 19 20
			cldgrp: {
				rec: {
					ownref: "",			//  Batch No.		.cldgrp.rec.ownref
					valdat: "",			//  Value Date		.cldgrp.rec.valdat
					credat: "",			//  Date of creation		.cldgrp.rec.credat
					colflg: "",			//  Payemnt Disposition		.cldgrp.rec.colflg
					regref: "",			//  Register Ref.		.cldgrp.rec.regref
nanrui committed
21
					count: Number(),			//  ITEM COUNT		.cldgrp.rec.count
nanrui committed
22 23 24 25 26 27 28 29 30 31 32 33
					colref: "",			//  COLL BANK REF		.cldgrp.rec.colref
					nam: "",			//  Name of CC contract		.cldgrp.rec.nam
					creact: "",			//  Credit to Account		.cldgrp.rec.creact
					acno: "",			//  A/C NO.		.cldgrp.rec.acno
				},
				col: {
					pts: new Pts().data,
				},
				blk: {
					setins: "",			//  Settlement Instructions		.cldgrp.blk.setins
				},
			},
nanrui committed
34
			rowcntr: Number(),			//  Total Row Count		.rowcntr
nanrui committed
35 36
			cur: "",			//  currency		.cur
			amount: "",			//  AMOUNT		.amount
nanrui committed
37
			items: Number(),			//  Item Count		.items
nanrui committed
38 39 40 41 42 43 44
			colbnk: "",			//  Collection Bank		.colbnk
			cltp: {
				colp: {
					ptsget: {
						sdamod: {
							dadsnd: "",			//  Drag  Drop Sender		.cltp.colp.ptsget.sdamod.dadsnd
							seainf: "",			//  		.cltp.colp.ptsget.sdamod.seainf
cl committed
45
						},
nanrui committed
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
					},
				},
			},
			colmet: "",			//  Collection Method		.colmet
			trnmod: new Pub().data.Trnmod,
			// mtabut: {
			// 	coninf: {
			// 		oitinf: {
			// 			labinftxt: "",			//  Label for INFTXT		.mtabut.coninf.oitinf.labinftxt
			// 			oit: {
			// 				inftxt: "",			//  Infotext		.mtabut.coninf.oitinf.oit.inftxt
			// 				inflev: "",			//  Infotext Level		.mtabut.coninf.oitinf.oit.inflev
			// 			},
			// 		},
			// 		oitset: {
			// 			labinftxt: "",			//  Label for INFTXT		.mtabut.coninf.oitset.labinftxt
			// 			oit: {
			// 				inftxt: "",			//  Infotext		.mtabut.coninf.oitset.oit.inftxt
			// 				inflev: "",			//  Infotext Level		.mtabut.coninf.oitset.oit.inflev
			// 			},
			// 		},
			// 		conexedat: "",			//  执行日期		.mtabut.coninf.conexedat
			// 		usr: {
			// 			extkey: "",			//  User ID		.mtabut.coninf.usr.extkey
			// 		},
			// 	},
			// },
			mtabut: new Pub().data.Mtabut,
			// setmod: {
			// 	docamttyplab: "",			//  settled amount description as label		.setmod.docamttyplab
			// 	retmsg: "",			//  Label showing Retry overflow condition		.setmod.retmsg
			// 	ref: "",			//  our reference		.setmod.ref
			// 	doccur: "",			//  document currency		.setmod.doccur
			// 	docamt: "",			//  document amount		.setmod.docamt
			// 	dspflg: "",			//  Type of settlement		.setmod.dspflg
			// 	xreflg: "",			//  Recalculate Rates		.setmod.xreflg
			// 	setglg: {
			// 		labdspflg: "",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
			// 	},
			// 	zmqacclab: "",			//  主�'�号LABEL		.setmod.zmqacclab
			// 	zmqacc: "",			//  自�'�区主�'�号		.setmod.zmqacc
			// 	setfog: {
			// 		setfol: []
			// 	},
			// 	setfeg: {
			// 		setfel: []
			// 	},
			// 	glemod: {
			// 		gleshwstm: {}
			// 	},

			// },
			setmod: new Pub().data.Setmod,
			modflg: "",			//  MODIFY		.modflg
			pageId: ""			// ctx的key
		}
	}
cl committed
103
}