// 说明:此模块是各交易块内的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
      }
		}
	}
}