index.js 3.72 KB
Newer Older
panziyi committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Cltdav {
    constructor() {
        this.data = {
            ccdbatg: [],
			cltdavl2blk:"",
			cltdavl1blk:"",
			bptbck:{
				bptbckg:[],
			},			
			liaall: new Pub().data.Liaall,
			cldgrp: {
				rec: {
					inr:"",
					branchinr:"00000047",
					ownref: "",			//  Batch No.		.cldgrp.rec.ownref
					valdat: "",			//  Value Date		.cldgrp.rec.valdat
panziyi committed
19 20
					opndat: "",
 					credat: "",			//  Date of creation		.cldgrp.rec.credat
panziyi committed
21 22 23 24 25 26 27 28
					colflg: "",			//  Payemnt Disposition		.cldgrp.rec.colflg
					regref: "",			//  Register Ref.		.cldgrp.rec.regref
					count: Number(),			//  ITEM COUNT		.cldgrp.rec.count
					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
				},
panziyi committed
29 30 31 32 33 34 35 36 37 38
				cbs: {
					max: {
						cur: "",			
						amt: "",			
					},
					opn1: {
						cur: "",			
						amt: "",			
					},
				},
panziyi committed
39 40 41 42 43 44 45 46
				col: {
					pts: new Pts().data,
				},
				blk: {
					setins: "",			//  Settlement Instructions		.cldgrp.blk.setins
				},
			},
			rowcntr: Number(),			//  Total Row Count		.rowcntr
lixinyi committed
47
			//cur: "",			//  currency		.cur
panziyi committed
48
			amount: "",			//  AMOUNT		.amount
panziyi committed
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
			items: Number(),			//  Item Count		.items
			colbnk: "",			//  Collection Bank		.colbnk
			cltp: {
				colp: {
					ptsget: {
						sdamod: {
							dadsnd: "",			//  Drag  Drop Sender		.cltp.colp.ptsget.sdamod.dadsnd
							seainf: "",			//  		.cltp.colp.ptsget.sdamod.seainf
						},
					},
				},
			},
			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
			// 			},
			// 		},
lixinyi committed
79
			// 		conexedat: "",			//  鎵ц鏃ユ湡		.mtabut.coninf.conexedat
panziyi committed
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
			// 		usr: {
			// 			extkey: "",			//  User ID		.mtabut.coninf.usr.extkey
			// 		},
			// 	},
			// },
			// 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
			// 	},
lixinyi committed
96 97
			// 	zmqacclab: "",			//  涓伙拷'锟藉彿LABEL		.setmod.zmqacclab
			// 	zmqacc: "",			//  鑷拷'锟藉尯涓伙拷'锟藉彿		.setmod.zmqacc
panziyi committed
98 99 100 101 102 103 104 105 106 107 108 109 110
			// 	setfog: {
			// 		setfol: []
			// 	},
			// 	setfeg: {
			// 		setfel: []
			// 	},
			// 	glemod: {
			// 		gleshwstm: {}
			// 	},

			// },
			setmod: new Pub().data.Setmod,
			modflg: "",			//  MODIFY		.modflg
lixinyi committed
111
			pageId: "",			// ctx鐨刱ey
panziyi committed
112 113 114 115 116 117 118 119 120
            setmod: new Pub().data.Setmod,
            mtabut: new Pub().data.Mtabut,
            trnmod: new Pub().data.Trnmod,
            liaall: new Pub().data.Liaall,
            liaccv: new Pub().data.Liaccv,
            docpan: new Pub().data.Docpan,
        };
    }
}