index.js 2.06 KB
Newer Older
1 2
import Api from "~/service/Api"
import Pts from "../Common/Pts"
wangren committed
3
import Pub from "../Public"
4 5 6
export default class Litcan{
    constructor () {
        this.data = {
wangren committed
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
						litapll1blk:"",
						litrmbl3blk:"",
						litcanl1blk:"",
						trnmod:new Pub().data.Trnmod,
						
						setmod:new Pub().data.Setmod,
						mtabut:new Pub().data.Mtabut,
						lidgrp:{
							rec:{
								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
							},
							cbs:{
								nom1:{
									cur:"",			//  开证金额		.lidgrp.cbs.nom1.cur
									amt:"",			//  开证金额		.lidgrp.cbs.nom1.amt
								},
								opn1:{
									cur:"",			//  信用证余额		.lidgrp.cbs.opn1.cur
									amt:"",			//  Balance		.lidgrp.cbs.opn1.amt
								},
							},
							apl:{
								pts:new Pts().data,
							},
							ben:{
								pts:new Pts().data,
							},
							adv:{
								pts:new Pts().data,
							},
							avbnam:"",			//  指定银行		.lidgrp.avbnam
						},
						litp0:{
							recget:{
								sdamod:{
									seainf:"",			//  		.litp0.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.litp0.recget.sdamod.dadsnd
								},
							},
							aammod:{
								addamtflg:"",			//  Add. Amount		.litp0.aammod.addamtflg
							},
							thdate:"",			//  提货日期/服务提供日		.litp0.thdate
						},
						litcanf:{
							strinf:"",			//  Narrative		.litcanf.strinf
						},
						byinst:"",			//  On Applicant instruction		.byinst
						sndmsg:"",			//  Send message to apllicant		.sndmsg
						liaall:new Pub().data.Liaall,
66 67 68 69
						pageId: ""			// ctx的key
				}
    }
}