index.js 4.39 KB
Newer Older
chenwen 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
import Api from "~/service/Api"
import Pts from "../Common/Pts"

export default class Ditcan{
    constructor () {
        this.data = {
						ditp0:{
							thdate:"",			//  提�'�日期/服务提供日		.ditp0.thdate
							recget:{
								sdamod:{
									seainf:"",			//  		.ditp0.recget.sdamod.seainf
									dadsnd:"",			//  Drag  Drop Sender		.ditp0.recget.sdamod.dadsnd
								},
							},
							aammod:{
								addamtflg:"",			//  Add. Amount		.ditp0.aammod.addamtflg
							},
						},
						didgrp:{
							rec:{
								ownref:"",			//  参考号		.didgrp.rec.ownref
								nam:"",			//  名称		.didgrp.rec.nam
								avbby:"",			//  兑付方式		.didgrp.rec.avbby
								redclsflg:"",			//  Red/Green Clause		.didgrp.rec.redclsflg
								opndat:"",			//  开立日期		.didgrp.rec.opndat
								shpdat:"",			//  Shipment Date		.didgrp.rec.shpdat
								expdat:"",			//  到期日		.didgrp.rec.expdat
								expplc:"",			//  到期日		.didgrp.rec.expplc
								lcrtyp:"",			//  信用证类型		.didgrp.rec.lcrtyp
								revflg:"",			//  Revolving Flag		.didgrp.rec.revflg
								tzref:"",			//  通知行编号		.didgrp.rec.tzref
							},
							cbs:{
								nom1:{
									cur:"",			//  开证金额		.didgrp.cbs.nom1.cur
									amt:"",			//  开证金额		.didgrp.cbs.nom1.amt
								},
								opn1:{
									cur:"",			//  信用证余额		.didgrp.cbs.opn1.cur
									amt:"",			//  Balance		.didgrp.cbs.opn1.amt
								},
							},
							apl:{
								pts:new Pts().data,
							},
							ben:{
								pts:new Pts().data,
							},
							adv:{
								pts:new Pts().data,
							},
							avbnam:"",			//  指定银行		.didgrp.avbnam
							blk:{
								canrsn:"",			//  注销/闭卷原因		.didgrp.blk.canrsn
							},
						},
						ditcanf:{
							strinf:"",			//  附言		.ditcanf.strinf
						},
						byinst:"",			//  On Applicant instruction		.byinst
						sndmsg:"",			//  Send message to apllicant		.sndmsg
						rejhnd:"",			//  注销/闭卷		.rejhnd
						setmod:{
chenwen committed
64 65
							doccur:"",			//  document currency		.setmod.doccur
							docamt:"",			//  document amount		.setmod.docamt
chenwen committed
66 67 68 69 70 71 72
							docamttyplab:"",			//  settled amount description as label		.setmod.docamttyplab
							retmsg:"",			//  Label showing Retry overflow condition		.setmod.retmsg
							ref:"",			//  our reference		.setmod.ref
							dspflg:"",			//  Type of settlement		.setmod.dspflg
							xreflg:"",			//  Recalculate Rates		.setmod.xreflg
							setglg:{
								labdspflg:"",			//  Label for Type of Settlement		.setmod.setglg.labdspflg
chenwen committed
73
								setgll:[]
chenwen committed
74 75 76
							},
							zmqacclab:"",			//  主�'�号LABEL		.setmod.zmqacclab
							zmqacc:"",			//  自�'�区主�'�号		.setmod.zmqacc
chenwen committed
77 78 79 80 81 82 83 84 85
							setfog:{
								setfol:[]
							},
							setfeg:{
								setfel:[]
							},
							glemod:{
								gleshwstm: {}
							}
chenwen committed
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 124 125 126 127 128 129
						},
						liaall:{
							misamt:"",			//  Amount not yet assigned		.liaall.misamt
							concur:"",			//  External Booking Amount		.liaall.concur
							outpct:"",			//  Sight Amount Percentage		.liaall.outpct
							outamt:"",			//  Sight Amount		.liaall.outamt
							exttotoldamt:"",			//  Old Amount booked externally		.liaall.exttotoldamt
							exttotamt:"",			//  Total booking amount external assinged		.liaall.exttotamt
						},
						trnmod:{
							trndoc:{
								advlabel:"",			//  ADVLABEL		.trnmod.trndoc.advlabel
								amdnam:"",			//  AMDNAM		.trnmod.trndoc.amdnam
								advdoc:"",			//  国内证通知书		.trnmod.trndoc.advdoc
								advnam:"",			//  国内证落款		.trnmod.trndoc.advnam
								amdapl:"",			//  修改申请人名称		.trnmod.trndoc.amdapl
							},
						},
						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
								},
							},
						},
						pageId: ""			// ctx的key
				}
    }
}