index.js 3.52 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 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 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';

export default class Netcan {
	constructor() {
		this.data = {
			nitapll2blk: "",
			nitapll1blk: "",
			nitbenl1blk: "",
			nitbenl2blk: "",
			adaflg: "",
			nitp0: {
				explab: "", //  Label unlimited Validity		.nitp0.explab
				lialab: "", //  Label unlimited lLability		.nitp0.lialab
				aplmullab: "", //  Label, that is set, if there are multiple applicants		.nitp0.aplmullab
				expfldlab: "", //  Label for Field Validity		.nitp0.expfldlab
				liafldlab: "", //  Label for Field Lability		.nitp0.liafldlab
				recget: {
					sdamod: {
						seainf: "", //  		.nitp0.recget.sdamod.seainf
						dadsnd: "", //  Drag  Drop Sender		.nitp0.recget.sdamod.dadsnd
					},
				},
				acbp: {
					ptsget: {
						sdamod: {
							seainf: "", //  		.nitp0.acbp.ptsget.sdamod.seainf
							dadsnd: "", //  Drag  Drop Sender		.nitp0.acbp.ptsget.sdamod.dadsnd
						},
					},
				},
			},
			nidgrp: {
				rec: {
					inr: "",
					branchinr: "",
					etyextkey:"",
					ver: "",
					ownref: "", //  Reference		.nidgrp.rec.ownref
					nam: "", //  Externally Displayed Name to Identify the Contract		.nidgrp.rec.nam
					hndtyp: "", //  Handling Type		.nidgrp.rec.hndtyp
					gartyp: "", //  Type of Undertaking		.nidgrp.rec.gartyp
					expdat: "", //  Valid until		.nidgrp.rec.expdat
					liadat: "", //  Liability until		.nidgrp.rec.liadat
					purcan: "", //  Reason of Cancelation		.nidgrp.rec.purcan
					reddat: "", //  Date of Reduction		.nidgrp.rec.reddat
					redcur: "", //  Amount Reduced		.nidgrp.rec.redcur
					redamt: "", //  Reduced Amount to be Paid		.nidgrp.rec.redamt
					outcur: "", //  Amount Outstanding		.nidgrp.rec.outcur
					outamt: "", //  Outstanding Amount		.nidgrp.rec.outamt
				},
				cbs: {
					max: {
						cur: "", //  Currency		.nidgrp.cbs.max.cur
						amt: "", //  Balance		.nidgrp.cbs.max.amt
					},
					max2: {
						cur: "", //  Currency		.nidgrp.cbs.max.cur
						amt: "", //  Balance		.nidgrp.cbs.max.amt
					},
					opn1: {
						cur: "", //  Currency		.nidgrp.cbs.opn1.cur
						amt: "", //  Balance		.nidgrp.cbs.opn1.amt
					},
					opn2: {
						cur: "", //  Currency		.nidgrp.cbs.opn1.cur
						amt: "", //  Balance		.nidgrp.cbs.opn1.amt
					},
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
				atb: {
					pts: new Pts().data,
				},
				ctr: {
					pts: new Pts().data,
				},
				iss: {
					pts: new Pts().data,
				},
				blk: {
					accspc: "", //  Account Specification		.nidgrp.blk.accspc
					amtspc: "", //  Amount Specification		.nidgrp.blk.amtspc
					chaded: "", //  Details of Charges 		.nidgrp.blk.chaded
				},
				acb: {
					pts: new Pts().data,
					namelc: "", //  名称		.nidgrp.acb.namelc
					adrelc: "", //  地址		.nidgrp.acb.adrelc
					dbfadrblkcn: "", //  Chinese address		.nidgrp.acb.dbfadrblkcn
				},
			},
			ncdgrp: {
				cbs: {
					max: {
						cur: "", //  Currency		.nidgrp.cbs.max.cur
						amt: "", //  Balance		.nidgrp.cbs.max.amt
					},
				}
			},
			spt: {
				sta: "",//按照td上的default规则,根据此字段给Purcan赋值
			},
			swiadd: {
				strinf: "",
			},
			newref: "", //  New Reference		.newref
			autflg: "", //  Authentication		.autflg
			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,
			doctre: new Pub().data.Doctre,
			trndia: new Pub().data.Trndia,
		}
	}
}