Commit 3c6c25d3 by 李少勇

给model初始化赋值

parent 1df38dc8
......@@ -136,6 +136,7 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import moment from "moment";
export default {
name: "Gitopn",
......@@ -190,8 +191,71 @@ export default {
activeNames: ["engp"],
};
},
methods: {},
created () {},
methods: {
// 初始化给model赋值
initModelData () {
this.model.label1 = '1、申请人与我行已签署贸易融资协议(如需);'
this.model.label2 = '2、申请人已提交全套业务所需资料;'
this.model.label3 = '3、申请书要素齐全并已签章,签章已经核符;'
this.model.label4 = '4、占用授信额度的开证业务;'
this.model.cfagit.recgrp.bas.actiontype = 'A'
this.model.cfagit.recgrp.bas.guaranamount = '0.00'
this.model.cfagit.recgrp.bas.intrat = '0.0000000'
this.model.cfagit.recgrp.bas.maindebtamount = '0.00'
this.model.cfagit.recgrp.bas.maindebtdate = -1
this.model.cfagit.recgrp.bas.thje = '0.00'
this.model.cnybop.cnyflg = '2'
this.model.cnybop.cnyvou.fvouchamt = '0.000'
this.model.cnybop.libflg = '2'
this.model.cnybop.outflg = '2'
this.model.cnybop.traflg = '2'
this.model.cnybop.vouflg = '2'
this.model.gidgrp.blk.apprul = 'UCP '
this.model.gidgrp.blk.apprulc = 'NONE'
this.model.gidgrp.cbs.cnf.amt = '0.000'
this.model.gidgrp.cbs.mac2.amt = '0.000'
this.model.gidgrp.cbs.mac.amt = '0.000'
this.model.gidgrp.cbs.max.amt = '0.000'
this.model.gidgrp.cbs.opc2.amt = '0.000'
this.model.gidgrp.cbs.opn1.amt = '0.000'
this.model.gidgrp.gidcxm.cxmflg = 'N'
this.model.gidgrp.rec.bilvvv = '0.00000'
this.model.gidgrp.rec.cnfdat = moment(new Date()).format("YYYY-MM-DD")
this.model.gidgrp.rec.cnfsta = 'Y'
this.model.gidgrp.rec.guaflg = '0'
this.model.gidgrp.rec.legfrm = 'DGAR'
this.model.gidgrp.rec.legfrm = '0.000 .'
this.model.gidgrp.rec.opndat = moment(new Date()).format("YYYY-MM-DD")
this.model.gidgrp.rec.orcamt = '0.000'
this.model.gidgrp.rec.orcamtc = '0.000'
this.model.gidgrp.rec.orcrat = '0.000000'
this.model.gidgrp.rec.orcratc = '0.000000'
this.model.gidgrp.rec.orddat = moment(new Date()).format("YYYY-MM-DD")
this.model.gidgrp.rec.partcon = '100.00'
this.model.gitp.bantyp = 'Adv\\Rcv bank Ref'
this.model.gitp.labissbak = 'Issuing Bank'
this.model.gitp.labissref = 'Issuing Bank\'s Ref.'
this.model.gitp.laborcdat = 'Contract Date'
this.model.gitp.letterlabel = '面函标题'
this.model.gitp.usr.extkey = 'ZL'
this.model.liaall.exttotamt = '0.000'
this.model.liaall.exttotoldamt = '0.000'
this.model.liaall.liaccv.cshpct = '0.00'
this.model.liaall.liaccv.newamt = '0.000'
this.model.liaall.liaccv.newresamt = '0.000'
this.model.liaall.liaccv.pctresamt = '0.000'
this.model.liaall.liaccv.relcshpct = '0.00'
this.model.liaall.liaccv.totcovamt = '0.000'
this.model.liaall.limmod.ccvamt = '0.000'
this.model.liaall.limmod.comamt = '0.000'
this.model.liaall.misamt = '0.000'
this.model.pageId = 'CtxCache-4079be82-bb5e-4ced-835e-0f20d3268ec2'
this.model.setmod.dspflg = 'CG'
}
},
created () {
this.initModelData()
},
mounted () {},
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment