Grp.js 2.89 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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
// 说明:此模块是各交易块内的XXXgrp字段的model,如果某个交易有特别字段可以自行在此文件中添加
import Pts from '~/components/business/commonModel/Pts';
export default class Grp {
	constructor() {
		this.data = {
			a2b: {
				pts: new Pts().data,
			},
			blk: {
				insbnk: '',
				feetxt: 'ALL BANKING CHARGES OUTSIDE THE ISSUING BANK ARE FOR BENEFICIARYS ACCOUNT',
				mixdet: '',
				shpper: '',
				adlcnd: '',
				addamtcov: '',
				avbwthtxt: '',
				defdet: '',
				lcrdoc: '',
				lcrgod: '',
				spcben: '',
				dftat: '',
				spcrcb: '',
			},
			rec: {
				inr:'',
				tenmaxday: 0,
				expplc: '',
				nomton: '',
				stacty: '',
				dkflg: '',
				rmbflg: '',
				avbwth: '',
				opndat: '',
				nomtop: '',
				revflg: '',
				stagod: '',
				spcbenflg: '',
				shpdat: '',
				oppbnk: '',
				nam: '',
				prepertxts18: '',
				redclsflg: '',
				nomspc: 'X',
				shptrss18: '',
				spcrcbflg: '',
				shpfro: '',
				lcrtyp: '',
				ownref: '',
				preadvdt: '',
				avbby: '',
				pordis: '',
				shppar: '',
				apprul: 'UCP LATEST VERSION',
				prepers18: 21,
				guaflg: '0',
				expdat: '',
				shpto: '',
				rptref: '',
				cnfdet: 'W',
				regref: '',
				porloa: '',
				apprultxt: '',
			},
			adv: {
				pts: new Pts().data,
			},
			con: {
				pts: new Pts().data,
			},
			ini: {
				pts: new Pts().data,
			},
			cbs: {
				opn2: {
					cur: '',
					amt: '0.00',
				},
				max: {
					cur: '',
					amt: '0.00',
				},
				nom1: {
					cur: '',
					amt: '0.00',
				},
				max2: {
					cur: '',
					amt: '0.00',
				},
			},
			rmb: {
				pts: new Pts().data,
			},
			drw: {
				pts: new Pts().data,
			},
			ben: {
				pts: new Pts().data,
			},
			avb: {
				pts: new Pts().data,
			},
			apl: {
				pts: new Pts().data,
			},
			cmb: {
				pts: new Pts().data,
			},
			own: {
				pts: new Pts().data,
			},

			// 以下是cptadv交易中的
			pye: {
				pts: new Pts().data,
				namelc: "", //  名称		.cpdgrp.pye.namelc
				adrelc: "", //  地址		.cpdgrp.pye.adrelc
				dbfadrblkcn: "", //  Chinese address		.cpdgrp.pye.dbfadrblkcn
			},
			snd: {
				pts: new Pts().data,
				namelc: "", //  名称		.cpdgrp.snd.namelc
				adrelc: "", //  地址		.cpdgrp.snd.adrelc
				dbfadrblkcn: "", //  Chinese address		.cpdgrp.snd.dbfadrblkcn
			},
			orc: {
				pts: new Pts().data,
				namelc: "", //  名称		.cpdgrp.orc.namelc
				adrelc: "", //  地址		.cpdgrp.orc.adrelc
				dbfadrblkcn: "", //  Chinese address		.cpdgrp.orc.dbfadrblkcn
			},
			ori: {
				pts: new Pts().data,
				namelc: "", //  名称		.cpdgrp.ori.namelc
				adrelc: "", //  地址		.cpdgrp.ori.adrelc
				dbfadrblkcn: "", //  Chinese address		.cpdgrp.ori.dbfadrblkcn
      },
      //cptcan
      pyb:{
        pts: new Pts().data,
				namelc: "", //  名称		.cpdgrp.ori.namelc
				adrelc: "", //  地址		.cpdgrp.ori.adrelc
				dbfadrblkcn: "", //  Chinese address		.cpdgrp.ori.dbfadrblkcn
      }
		}
	}
}