index.js 6.82 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 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
import Api from "~/service/Api"
import Pts from '~/components/business/commonModel/Pts';
import Pub from '~/components/business/commonModel/index.js';
export default class Gftcan {
	constructor() {
		this.data = {
			setmod: new Pub().data.Setmod,
			mtabut: new Pub().data.Mtabut,
			trnmod: new Pub().data.Trnmod,
			liaall: new Pub().data.Liaall,
			docpan: new Pub().data.Docpan,
			trndia: new Pub().data.Trndia,
			adaflg: "",
			gidgrp: {
				rec: {
					branchinr: "",
					cnfsta: "",
					inr: "", //Inr主鍵,不设置的话无法拷贝业务主键
					fingua: "", //  是否对外担保		.gidgrp.rec.fingua
					cfaguatyp: "", //  对外担保类型		.gidgrp.rec.cfaguatyp
					cmtflg: "", //  跨境人民币保函		.gidgrp.rec.cmtflg
					ownref: "", //  Reference		.gidgrp.rec.ownref
					amenbr: 0, //  Actual Amendment No		.gidgrp.rec.amenbr
					purposin: "", //  Incoming Purpose 		.gidgrp.rec.purposin
					purpos: "", //  Outgoing Purpose		.gidgrp.rec.purpos
					hndtyp: "", //  Handling Type		.gidgrp.rec.hndtyp
					gartyp: "", //  Type of Undertaking		.gidgrp.rec.gartyp
					legfrm: "", //  Form of Undertaking		.gidgrp.rec.legfrm
					demand: "", //  Demand Indicator		.gidgrp.rec.demand
					giduil: "", //  Language of Undertak.		.gidgrp.rec.giduil
					atxinr: "", //  Choice of Text		.gidgrp.rec.gtxinr
					exptyp: "", //  Expiry Type		.gidgrp.rec.exptyp
					expdat: "", //  Valid until		.gidgrp.rec.expdat
					liatypc: "", //  Liability Type 		.gidgrp.rec.liatypc
					liadat: "", //  Our Liability until		.gidgrp.rec.liadat
					orddat: "", //  Order Date		.gidgrp.rec.orddat
					opndat: "", //  Valid from		.gidgrp.rec.opndat
					expflg: "", //  Unlimited Guarantee		.gidgrp.rec.expflg
					liaflg: "", //  Unlimited Liability		.gidgrp.rec.liaflg
					nam: "", //  Name		.gidgrp.rec.nam
					inudat: "", //  Inure Date		.gidgrp.rec.inudat
					guaflg: "", //  Mortgage Flag		.gidgrp.rec.guaflg
					vrfdat: "", //  核销日期		.gidgrp.rec.vrfdat
					fenlishi: "", //  是否分离式保函		.gidgrp.rec.fenlishi
					delori: "", //  Delivery of Undertak.		.gidgrp.rec.delori
					deloritxt: "", //  Delivery of Undertak.		.gidgrp.rec.deloritxt
					sndto: "", //  Undertaking Send to		.gidgrp.rec.sndto
					delto: "", //  Deliv. To/Collection By		.gidgrp.rec.delto
					transfer: "", //  Transfer Indicator		.gidgrp.rec.transfer
					chato: "", //  Own Charges Borne by		.gidgrp.rec.chato
					opndatc: "", //  Requested Issue Date		.gidgrp.rec.opndatc
					gartypc: "", //  Undertaking Type 		.gidgrp.rec.gartypc
					legfrmc: "", //  Form of Undertaking		.gidgrp.rec.legfrmc
					demandc: "", //  Demand Indicator 		.gidgrp.rec.demandc
					gtxinrc: "", //  Choice of Text		.gidgrp.rec.gtxinrc
					stdwrduilc: "", //  Requested Language		.gidgrp.rec.stdwrduilc
					deloric: "", //  Delivery of Undertak.		.gidgrp.rec.deloric
					deloritxtc: "", //  Delivery of Undertak.		.gidgrp.rec.deloritxtc
					deltoc: "", //  Deli. To/Collection By		.gidgrp.rec.deltoc
					orcrefc: "", //  Contract Reference		.gidgrp.rec.orcrefc
					orcdatc: "", //  Date from Original Contract - Local Undertaking Seq. C		.gidgrp.rec.orcdatc
					tenclsdatc: "", //  Closing Date		.gidgrp.rec.tenclsdatc
					orcratc: "", //  Original Perc./ Rate		.gidgrp.rec.orcratc
					orccurc: "", //  Contract Amount 		.gidgrp.rec.orccurc
					orcamtc: "", //  Contract Amount 		.gidgrp.rec.orcamtc
					accc: "", //  A/c Adv. Paym. Guar.		.gidgrp.rec.accc
					jurlawc: "", //  Governing Law 		.gidgrp.rec.jurlawc
					jurlawtxtc: "", //  Governing Law 		.gidgrp.rec.jurlawtxtc
					jurplcc: "", //  Place of Jurisdiction		.gidgrp.rec.jurplcc
					tenrefc: "", //  Tender Reference		.gidgrp.rec.tenrefc
					tendatc: "", //  Tender Date		.gidgrp.rec.tendatc
					trmdatc: "", //  Latest Transmission		.gidgrp.rec.trmdatc
					orcref: "", //  Contract Reference		.gidgrp.rec.orcref
					orcdat: "", //  Date from Original Contract		.gidgrp.rec.orcdat
					tenclsdat: "", //  Closing Date		.gidgrp.rec.tenclsdat
					orcrat: "", //  Original Perc./ Rate		.gidgrp.rec.orcrat
					orccur: "", //  Contract Amount 		.gidgrp.rec.orccur
					orcamt: "", //  Contract Amount 		.gidgrp.rec.orcamt
					acc: "", //  A/c for Adv. Paym. Guar.		.gidgrp.rec.acc
					jurlaws20: "", //  Governing Law		.gidgrp.rec.jurlaws20
					jurlaw: "", //  Law of Jurisdiction		.gidgrp.rec.jurlaw
					jurplc: "", //  Place of Jurisdiction		.gidgrp.rec.jurplc
					tenref: "", //  Tender Reference		.gidgrp.rec.tenref
					tendat: "", //  Tender Date		.gidgrp.rec.tendat
					trmdat: "", //  Latest Transmiss. Date		.gidgrp.rec.trmdat
					juscod: "", //  组织机构代码		.gidgrp.rec.juscod
					cunqii: "", //  流动资金贷款利率档次		.gidgrp.rec.cunqii
					bilvvv: "", //  上浮比率		.gidgrp.rec.bilvvv
					bngcod: "", //  企业海关编码		.gidgrp.rec.bngcod
					mannum: "", //  手册号码		.gidgrp.rec.mannum
					fromflg: "",
					credat: "",
					clsdat: "",
					cfaguatyp: "",
					stacty: "",
					orddat: "",
					orcref: "",
					exptyp: "",
					liatypc: "",
					iscrotra: "",
					ownusr: "",
					projnam: "",
					guatyp: "",
					flwsta: '',
					countrycod: "",
					projectname: "",
          fromflg: "",
          gidtxtmodflg: "",
          gidtxtmodflgc: "",
          transfer: "",
				},
				cbs: {
					opn1: {
						cur: "",			//  Open Guar. Amt. 		.gidgrp.cbs.opn1.cur
						amt: "",			//  Balance		.gidgrp.cbs.opn1.amt
					},
					opn2: {
						cur: "",			//  Open Guar. Amt. 		.gidgrp.cbs.opn1.cur
						amt: "",			//  Balance		.gidgrp.cbs.opn1.amt
					},
					max: {
						cur: "",			//  Open Guar. Amt. 		.gidgrp.cbs.opn1.cur
						amt: "",			//  Balance		.gidgrp.cbs.opn1.amt
					},
					max2: {
						cur: "",			//  Open Guar. Amt. 		.gidgrp.cbs.opn1.cur
						amt: "",			//  Balance		.gidgrp.cbs.opn1.amt
					},
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
			},
			gcdgrp: {
				rec: {
					inr:"",
					ownref: "",			//  Claim Number		.gcdgrp.rec.ownref
					nam: "",			//  Externally Displayed Name to Identify the Contract		.gcdgrp.rec.nam
					clmdat: "",			//  Date of Claim		.gcdgrp.rec.clmdat
					pntinr:"",
				},
				cbs: {
					max: {
						cur: "",			//  Amount Claimed		.gcdgrp.cbs.max.cur
						amt: "",			//  Balance		.gcdgrp.cbs.max.amt
					},
					max2: {
						cur: "",
						amt: "",
					},
					opn1: {
						cur: "",
						amt: "",
					},
					opn2: {
						cur: "",
						amt: "",
					},
				},
				apl: {
					pts: new Pts().data,
				},
				ben: {
					pts: new Pts().data,
				},
			},
			rebkpflg: "",			//  Booking Procedure		.rebkpflg
			pageId: "",
      userId: "",
			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,
			doctre: new Pub().data.Doctre,
			trndia: new Pub().data.Trndia,
		}
	}
}