index.js 2.19 KB
Newer Older
xionglin committed
1 2
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
3 4 5
export default class Litcan {
	constructor() {
		this.data = {
6 7 8 9 10 11 12 13 14 15 16
			cbsMap:{
				MAX:{
					cur:''
				}
			},
			sndmsg: '',
			lidgrp: {
				ghd:{
					segtyp:'',
				},
				rec: {
17
					inr:'',
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
					branchinr: '',
					ownref: '',			//  参考号		.lidgrp.rec.ownref
					nam: '',			//  名称		.lidgrp.rec.nam
					avbby: '',			//  兑付方式		.lidgrp.rec.avbby
					redclsflg: '',			//  Red/Green Clause		.lidgrp.rec.redclsflg
					opndat: '',			//  开立日期		.lidgrp.rec.opndat
					shpdat: '',			//  Shipment Date		.lidgrp.rec.shpdat
					expdat: '',			//  到期日		.lidgrp.rec.expdat
					expplc: '',			//  到期日		.lidgrp.rec.expplc
					lcrtyp: '',			//  信用证类型		.lidgrp.rec.lcrtyp
					revflg: '',			//  Revolving Flag		.lidgrp.rec.revflg
					advnam: '',
				},
				cbs: {
					nom1: {
						cur: '',			//  开证金额		.lidgrp.cbs.nom1.cur
						amt: '',			//  开证金额		.lidgrp.cbs.nom1.amt
					},
					opn1: {
						cur: '',			//  信用证余额		.lidgrp.cbs.opn1.cur
						amt: '',			//  Balance		.lidgrp.cbs.opn1.amt
					},
					max: {
						cur: '',			//  信用证余额		.lidgrp.cbs.opn1.cur
						amt: '',			//  Balance		.lidgrp.cbs.opn1.amt
					},
				},
				apl: {
WH committed
46
					pts: new Pts().data,
47 48
				},
				ben: {
WH committed
49
					pts: new Pts().data,
50 51
				},
				adv: {
WH committed
52
					pts: new Pts().data,
53 54 55
				},
				avbnam: '',			//  指定银行		.lidgrp.avbnam
			},
56 57 58 59 60 61 62 63 64
			litp0: {
				aammod: {
					addamtflg: '',			//  Add. Amount		.litp0.aammod.addamtflg
				},
			},
			litcanf: {
				strinf: '',			//  Narrative		.litcanf.strinf
			},
			gcdgrp: {
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
				cbs: {
					opn1: {
						cur: '',
						amt: ''
					},
					max: {
						cur: '',
						amt: ''
					}
				},
				ben: {
					pts: new Pts().data,
				},
				apl: {
					pts: new Pts().data,
				},
				adv: {
					pts: new Pts().data,
				},
			},
			byinst: '',			//  On Applicant instruction		.byinst
			pageId: '',			// ctx的key
			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,
		}
	}
xionglin committed
96
}