Commit 12381c31 by huangxin

申报交易中:对外担保,国内外汇贷款交易转换

parent 1aee91fc
import Utils from "~/utils"
/**
* Ebaadd Check规则
*/
let checkObj = {
"recgrp.bas.guaranamount" :null,
"cfabut.newdcl" :null,
"recgrp.bas.bename" :null,
"recgrp.bas.bencountrycode" :null,
"recgrp.bas.maindebtmaturity" :null,
"recgrp.bas.bentype" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.guappname" :null,
"recgrp.bas.maindebtcondate" :null,
"recgrp.bas.maindebtcurr" :null,
"recgrp.bas.maindebtdate" :null,
"recgrp.bas.guedindustrycode" :null,
"recgrp.bas.cgcouncode" :null,
"recgrp.bas.thyn" :null,
"recgrp.bas.guarantype" :null,
"recgrp.bas.maindebtamount" :null,
"recp.pubp.cousel1.guedparecompcode" :null,
"recgrp.bas.guednamen" :null,
"recgrp.bas.maindebtmanner" :null,
"recgrp.bas.guedparecompname" :null,
"recgrp.bas.issuecountrycode" :null,
"recgrp.bas.guarancurr" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.cgnamen" :null,
"recgrp.bas.cgyn" :null,
"recgrp.bas.thje" :null,
"recgrp.bas.cgcode" :null,
"cfabut.ownextkey" :null,
"recgrp.bas.guedname" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.jwyn" :null,
"recgrp.bas.benamen" :null,
"recgrp.bas.guedparecompnamen" :null,
"recgrp.bas.contractdate" :null,
"recgrp.bas.guedcode" :null,
"recgrp.bas.cgname" :null,
"cfabut.newvrf" :null,
"recgrp.bas.guedcouncode" :null,
"recgrp.bas.guarantorcode" :null,
"recgrp.bas.intrat" :null,
"recp.pubp.founds8" :null,
"recp.pubp.founds7" :null,
"recgrp.bas.guedtype" :null,
"recp.pubp.founds6" :null,
"recgrp.bas.bencode" :null,
"recp.pubp.founds1" :null,
"recp.pubp.founds5" :null,
"recp.pubp.founds4" :null,
"recp.pubp.founds3" :null,
"recgrp.bas.guappnamen" :null,
"recp.pubp.founds2" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ebaadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.dclflg" :Utils.defaultFunction,
"cfabut.basflg" :Utils.defaultFunction,
"recgrp.bas.guarantype" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.cgyn" :Utils.defaultFunction,
"recgrp.bas.cgcouncode" :Utils.defaultFunction,
"cfabut.ownextkey" :Utils.defaultFunction,
"recgrp.bas.bencountrycode" :Utils.defaultFunction,
"recgrp.bas.maindebtmanner" :Utils.defaultFunction,
"recgrp.bas.thyn" :Utils.defaultFunction,
"recp.pubp.founds7" :Utils.defaultFunction,
"recp.pubp.founds6" :Utils.defaultFunction,
"recp.pubp.founds5" :Utils.defaultFunction,
"recp.pubp.founds4" :Utils.defaultFunction,
"recp.pubp.founds8" :Utils.defaultFunction,
"recp.pubp.founds3" :Utils.defaultFunction,
"recp.pubp.founds2" :Utils.defaultFunction,
"recp.pubp.founds1" :Utils.defaultFunction,
"recgrp.bas.guaranamount" :Utils.defaultFunction,
"recgrp.bas.issuecountrycode" :Utils.defaultFunction,
"recgrp.bas.guedtype" :Utils.defaultFunction,
"recgrp.bas.guedcouncode" :Utils.defaultFunction,
"recgrp.bas.bentype" :Utils.defaultFunction,
"recp.pubp.cousel1.guedparecompcode" :Utils.defaultFunction,
"recgrp.bas.maindebtmaturity" :Utils.defaultFunction,
"recgrp.bas.maindebtcondate" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Cgcouncodbut(){
let rtnmsg = await this.executeRule("cousel1.cgcouncodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Isscoucodbut(){
let rtnmsg = await this.executeRule("cousel1.isscoucodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.exguarancode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guarantorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.guaranamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.contractdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.bencountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.bencode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.bename":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.benamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guedcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.guedcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guedname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guednamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guappname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappnamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
"recgrp.bas.maindebtcondate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtmaturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtdate":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"recgrp.bas.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recgrp.bas.guedparecompname":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recgrp.bas.guedparecompnamen":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recp.pubp.cousel1.guedparecompcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.cgcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.cgcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.cgname":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.cgnamen":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.thje":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.issuecountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ebaadd{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recp:{
pubp:{
bencodwarn:"", // BENCODE WARNING .recp.pubp.bencodwarn
guedcodwarn:"", // GUEDCODE WARNING .recp.pubp.guedcodwarn
acp:"", // 确认 .recp.pubp.acp
founds1:"", // 境外�'接投资 .recp.pubp.founds1
founds2:"", // 偿还境外债务 .recp.pubp.founds2
founds3:"", // 补充营运或流动性资金 .recp.pubp.founds3
founds4:"", // 其他境外使用 .recp.pubp.founds4
founds5:"", // 以�'接投资形式回流 .recp.pubp.founds5
founds6:"", // 以外债形式回流 .recp.pubp.founds6
founds7:"", // 以�'�易形式回流 .recp.pubp.founds7
founds8:"", // 以其他形式回流 .recp.pubp.founds8
cousel1:{
guedparecompcode:"", // 被担保人境内母公司代码 .recp.pubp.cousel1.guedparecompcode
},
},
zzwjew:"", // 主债务金额提示 .recp.zzwjew
thjewating:"", // 资金调回金额提示 .recp.thjewating
},
recgrp:{
bas:{
remark:"", // 备注 .recgrp.bas.remark
maturity:"", // 到期日 .recgrp.bas.maturity
maindebtcurr:"", // 主债务金额 .recgrp.bas.maindebtcurr
guedtype:"", // 被担保人类型 .recgrp.bas.guedtype
guedcode:"", // 被担保人代码 .recgrp.bas.guedcode
guarantype:"", // 担保类型 .recgrp.bas.guarantype
guarantorcode:"", // 担保人代码 .recgrp.bas.guarantorcode
guappcode:"", // 担保申请人代码 .recgrp.bas.guappcode
exguarancode:"", // 对外担保编号 .recgrp.bas.exguarancode
contractdate:"", // 签约日期 .recgrp.bas.contractdate
bentype:"", // 受益人类型 .recgrp.bas.bentype
bencode:"", // 受益人代码 .recgrp.bas.bencode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
bename:"", // 受益人中文名称 .recgrp.bas.bename
benamen:"", // 受益人英文名称 .recgrp.bas.benamen
guedname:"", // 被担保人中文名称 .recgrp.bas.guedname
guednamen:"", // 被担保人英文名称 .recgrp.bas.guednamen
guappname:"", // 担保申请人中文名称 .recgrp.bas.guappname
guappnamen:"", // 担保申请人英文名称 .recgrp.bas.guappnamen
guarancurr:"", // 保函金额 .recgrp.bas.guarancurr
guedcouncode:"", // 被担保人国别/地区代码 .recgrp.bas.guedcouncode
bencountrycode:"", // 受益人国别/地区 .recgrp.bas.bencountrycode
guaranamount:"", // 保函金额 .recgrp.bas.guaranamount
maindebtamount:"", // 主债务金额 .recgrp.bas.maindebtamount
maindebtmanner:"", // 发行/上市方式 .recgrp.bas.maindebtmanner
guedindustrycode:"", // 被担保人所属行业 .recgrp.bas.guedindustrycode
maindebtdate:"", // 主债务期限(日) .recgrp.bas.maindebtdate
maindebtcondate:"", // 主债务签约日期 .recgrp.bas.maindebtcondate
maindebtmaturity:"", // 主债务到期日 .recgrp.bas.maindebtmaturity
intrat:"", // 借款利率(%) .recgrp.bas.intrat
cgyn:"", // 是否有反担保人 .recgrp.bas.cgyn
cgcode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcode
thyn:"", // 是否调回境内 .recgrp.bas.thyn
thje:"", // 资金调回金额 .recgrp.bas.thje
jwyn:"", // 是否与境外投资相关 .recgrp.bas.jwyn
cgcouncode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcouncode
issuecountrycode:"", // 发行/上市国家与地区 .recgrp.bas.issuecountrycode
guedparecompname:"", // 被担保人境内母公司中文名称 .recgrp.bas.guedparecompname
guedparecompnamen:"", // 被担保人境内母公司英文名称 .recgrp.bas.guedparecompnamen
cgname:"", // 反担保人中文名称 .recgrp.bas.cgname
cgnamen:"", // 反担保人英文名称 .recgrp.bas.cgnamen
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Ebaame Check规则
*/
let checkObj = {
"recgrp.bas.guaranamount" :null,
"cfabut.newdcl" :null,
"recgrp.bas.bename" :null,
"recgrp.bas.bencountrycode" :null,
"recgrp.bas.maindebtmaturity" :null,
"recgrp.bas.bentype" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.guappname" :null,
"recgrp.bas.maindebtcondate" :null,
"recgrp.bas.maindebtcurr" :null,
"recgrp.bas.maindebtdate" :null,
"recgrp.bas.guedindustrycode" :null,
"recgrp.bas.cgcouncode" :null,
"recgrp.bas.thyn" :null,
"recgrp.bas.guarantype" :null,
"recgrp.bas.maindebtamount" :null,
"recp.pubp.cousel1.guedparecompcode" :null,
"recgrp.bas.guednamen" :null,
"recgrp.bas.maindebtmanner" :null,
"recgrp.bas.guedparecompname" :null,
"recgrp.bas.issuecountrycode" :null,
"recgrp.bas.guarancurr" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.cgnamen" :null,
"recgrp.bas.cgyn" :null,
"recgrp.bas.thje" :null,
"recgrp.bas.cgcode" :null,
"cfabut.ownextkey" :null,
"recgrp.bas.guedname" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.jwyn" :null,
"recgrp.bas.benamen" :null,
"recgrp.bas.guedparecompnamen" :null,
"recgrp.bas.contractdate" :null,
"recgrp.bas.guedcode" :null,
"recgrp.bas.cgname" :null,
"cfabut.newvrf" :null,
"recgrp.bas.guedcouncode" :null,
"recgrp.bas.guarantorcode" :null,
"recgrp.bas.intrat" :null,
"recp.pubp.founds8" :null,
"recp.pubp.founds7" :null,
"recgrp.bas.guedtype" :null,
"recp.pubp.founds6" :null,
"recgrp.bas.bencode" :null,
"recp.pubp.founds1" :null,
"recp.pubp.founds5" :null,
"recp.pubp.founds4" :null,
"recp.pubp.founds3" :null,
"recgrp.bas.guappnamen" :null,
"recp.pubp.founds2" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ebaame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.dclflg" :Utils.defaultFunction,
"cfabut.basflg" :Utils.defaultFunction,
"recgrp.bas.guarantype" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.cgyn" :Utils.defaultFunction,
"recgrp.bas.cgcouncode" :Utils.defaultFunction,
"recgrp.bas.bencountrycode" :Utils.defaultFunction,
"recgrp.bas.maindebtmanner" :Utils.defaultFunction,
"recgrp.bas.thyn" :Utils.defaultFunction,
"recp.pubp.founds7" :Utils.defaultFunction,
"recp.pubp.founds6" :Utils.defaultFunction,
"recp.pubp.founds5" :Utils.defaultFunction,
"recp.pubp.founds4" :Utils.defaultFunction,
"recp.pubp.founds8" :Utils.defaultFunction,
"recp.pubp.founds3" :Utils.defaultFunction,
"recp.pubp.founds2" :Utils.defaultFunction,
"recp.pubp.founds1" :Utils.defaultFunction,
"recgrp.bas.guaranamount" :Utils.defaultFunction,
"recgrp.bas.issuecountrycode" :Utils.defaultFunction,
"recgrp.bas.guedtype" :Utils.defaultFunction,
"recgrp.bas.guedcouncode" :Utils.defaultFunction,
"recgrp.bas.bentype" :Utils.defaultFunction,
"recp.pubp.cousel1.guedparecompcode" :Utils.defaultFunction,
"recgrp.bas.maindebtmaturity" :Utils.defaultFunction,
"recgrp.bas.maindebtcondate" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Cgcouncodbut(){
let rtnmsg = await this.executeRule("cousel1.cgcouncodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Isscoucodbut(){
let rtnmsg = await this.executeRule("cousel1.isscoucodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.exguarancode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guarantorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.guaranamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.contractdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.bencountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.bencode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.bename":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.benamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guedcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.guedcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guedname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guednamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guappname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappnamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
"recgrp.bas.maindebtcondate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtmaturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtdate":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"recgrp.bas.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recgrp.bas.guedparecompname":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recgrp.bas.guedparecompnamen":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recp.pubp.cousel1.guedparecompcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.cgcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.cgcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.cgname":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.cgnamen":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.thje":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.issuecountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ebaame{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recp:{
pubp:{
bencodwarn:"", // BENCODE WARNING .recp.pubp.bencodwarn
guedcodwarn:"", // GUEDCODE WARNING .recp.pubp.guedcodwarn
acp:"", // 确认 .recp.pubp.acp
founds1:"", // 境外�'接投资 .recp.pubp.founds1
founds2:"", // 偿还境外债务 .recp.pubp.founds2
founds3:"", // 补充营运或流动性资金 .recp.pubp.founds3
founds4:"", // 其他境外使用 .recp.pubp.founds4
founds5:"", // 以�'接投资形式回流 .recp.pubp.founds5
founds6:"", // 以外债形式回流 .recp.pubp.founds6
founds7:"", // 以�'�易形式回流 .recp.pubp.founds7
founds8:"", // 以其他形式回流 .recp.pubp.founds8
cousel1:{
guedparecompcode:"", // 被担保人境内母公司代码 .recp.pubp.cousel1.guedparecompcode
},
},
zzwjew:"", // 主债务金额提示 .recp.zzwjew
thjewating:"", // 资金调回金额提示 .recp.thjewating
},
recgrp:{
bas:{
remark:"", // 备注 .recgrp.bas.remark
maturity:"", // 到期日 .recgrp.bas.maturity
maindebtcurr:"", // 主债务金额 .recgrp.bas.maindebtcurr
guedtype:"", // 被担保人类型 .recgrp.bas.guedtype
guedcode:"", // 被担保人代码 .recgrp.bas.guedcode
guarantype:"", // 担保类型 .recgrp.bas.guarantype
guarantorcode:"", // 担保人代码 .recgrp.bas.guarantorcode
guappcode:"", // 担保申请人代码 .recgrp.bas.guappcode
exguarancode:"", // 对外担保编号 .recgrp.bas.exguarancode
contractdate:"", // 签约日期 .recgrp.bas.contractdate
bentype:"", // 受益人类型 .recgrp.bas.bentype
bencode:"", // 受益人代码 .recgrp.bas.bencode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
bename:"", // 受益人中文名称 .recgrp.bas.bename
benamen:"", // 受益人英文名称 .recgrp.bas.benamen
guedname:"", // 被担保人中文名称 .recgrp.bas.guedname
guednamen:"", // 被担保人英文名称 .recgrp.bas.guednamen
guappname:"", // 担保申请人中文名称 .recgrp.bas.guappname
guappnamen:"", // 担保申请人英文名称 .recgrp.bas.guappnamen
guarancurr:"", // 保函金额 .recgrp.bas.guarancurr
guedcouncode:"", // 被担保人国别/地区代码 .recgrp.bas.guedcouncode
bencountrycode:"", // 受益人国别/地区 .recgrp.bas.bencountrycode
guaranamount:"", // 保函金额 .recgrp.bas.guaranamount
maindebtamount:"", // 主债务金额 .recgrp.bas.maindebtamount
maindebtmanner:"", // 发行/上市方式 .recgrp.bas.maindebtmanner
guedindustrycode:"", // 被担保人所属行业 .recgrp.bas.guedindustrycode
maindebtdate:"", // 主债务期限(日) .recgrp.bas.maindebtdate
maindebtcondate:"", // 主债务签约日期 .recgrp.bas.maindebtcondate
maindebtmaturity:"", // 主债务到期日 .recgrp.bas.maindebtmaturity
intrat:"", // 借款利率(%) .recgrp.bas.intrat
cgyn:"", // 是否有反担保人 .recgrp.bas.cgyn
cgcode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcode
thyn:"", // 是否调回境内 .recgrp.bas.thyn
thje:"", // 资金调回金额 .recgrp.bas.thje
jwyn:"", // 是否与境外投资相关 .recgrp.bas.jwyn
cgcouncode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcouncode
issuecountrycode:"", // 发行/上市国家与地区 .recgrp.bas.issuecountrycode
guedparecompname:"", // 被担保人境内母公司中文名称 .recgrp.bas.guedparecompname
guedparecompnamen:"", // 被担保人境内母公司英文名称 .recgrp.bas.guedparecompnamen
cgname:"", // 反担保人中文名称 .recgrp.bas.cgname
cgnamen:"", // 反担保人英文名称 .recgrp.bas.cgnamen
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Ebadel Check规则
*/
let checkObj = {
"recgrp.bas.guaranamount" :null,
"cfabut.newdcl" :null,
"recgrp.bas.bename" :null,
"recgrp.bas.bencountrycode" :null,
"recgrp.bas.maindebtmaturity" :null,
"recgrp.bas.bentype" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.guappname" :null,
"recgrp.bas.maindebtcondate" :null,
"recgrp.bas.maindebtcurr" :null,
"recgrp.bas.maindebtdate" :null,
"recgrp.bas.guedindustrycode" :null,
"recgrp.bas.cgcouncode" :null,
"recgrp.bas.thyn" :null,
"recgrp.bas.guarantype" :null,
"recgrp.bas.maindebtamount" :null,
"recp.pubp.cousel1.guedparecompcode" :null,
"recgrp.bas.guednamen" :null,
"recgrp.bas.maindebtmanner" :null,
"recgrp.bas.guedparecompname" :null,
"recgrp.bas.issuecountrycode" :null,
"recgrp.bas.guarancurr" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.cgnamen" :null,
"recgrp.bas.cgyn" :null,
"recgrp.bas.thje" :null,
"recgrp.bas.cgcode" :null,
"cfabut.ownextkey" :null,
"recgrp.bas.guedname" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.jwyn" :null,
"recgrp.bas.benamen" :null,
"recgrp.bas.guedparecompnamen" :null,
"recgrp.bas.contractdate" :null,
"recgrp.bas.guedcode" :null,
"recgrp.bas.cgname" :null,
"cfabut.newvrf" :null,
"recgrp.bas.guedcouncode" :null,
"recgrp.bas.guarantorcode" :null,
"recgrp.bas.intrat" :null,
"recp.pubp.founds8" :null,
"recp.pubp.founds7" :null,
"recgrp.bas.guedtype" :null,
"recp.pubp.founds6" :null,
"recgrp.bas.bencode" :null,
"recp.pubp.founds1" :null,
"recp.pubp.founds5" :null,
"recp.pubp.founds4" :null,
"recp.pubp.founds3" :null,
"recgrp.bas.guappnamen" :null,
"recp.pubp.founds2" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ebadel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.dclflg" :Utils.defaultFunction,
"cfabut.basflg" :Utils.defaultFunction,
"recgrp.bas.guarantype" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.cgyn" :Utils.defaultFunction,
"recgrp.bas.cgcouncode" :Utils.defaultFunction,
"recgrp.bas.bencountrycode" :Utils.defaultFunction,
"recgrp.bas.maindebtmanner" :Utils.defaultFunction,
"recgrp.bas.thyn" :Utils.defaultFunction,
"recp.pubp.founds7" :Utils.defaultFunction,
"recp.pubp.founds6" :Utils.defaultFunction,
"recp.pubp.founds5" :Utils.defaultFunction,
"recp.pubp.founds4" :Utils.defaultFunction,
"recp.pubp.founds8" :Utils.defaultFunction,
"recp.pubp.founds3" :Utils.defaultFunction,
"recp.pubp.founds2" :Utils.defaultFunction,
"recp.pubp.founds1" :Utils.defaultFunction,
"recgrp.bas.guaranamount" :Utils.defaultFunction,
"recgrp.bas.issuecountrycode" :Utils.defaultFunction,
"recgrp.bas.guedtype" :Utils.defaultFunction,
"recgrp.bas.guedcouncode" :Utils.defaultFunction,
"recgrp.bas.bentype" :Utils.defaultFunction,
"recp.pubp.cousel1.guedparecompcode" :Utils.defaultFunction,
"recgrp.bas.maindebtmaturity" :Utils.defaultFunction,
"recgrp.bas.maindebtcondate" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Cgcouncodbut(){
let rtnmsg = await this.executeRule("cousel1.cgcouncodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Isscoucodbut(){
let rtnmsg = await this.executeRule("cousel1.isscoucodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.exguarancode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guarantorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.guaranamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.contractdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.bencountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.bencode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.bename":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.benamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guedcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.guedcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guedname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guednamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guappname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappnamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
"recgrp.bas.maindebtcondate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtmaturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtdate":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"recgrp.bas.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recgrp.bas.guedparecompname":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recgrp.bas.guedparecompnamen":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recp.pubp.cousel1.guedparecompcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.cgcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.cgcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.cgname":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.cgnamen":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.thje":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.issuecountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ebadel{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recp:{
pubp:{
bencodwarn:"", // BENCODE WARNING .recp.pubp.bencodwarn
guedcodwarn:"", // GUEDCODE WARNING .recp.pubp.guedcodwarn
acp:"", // 确认 .recp.pubp.acp
founds1:"", // 境外�'接投资 .recp.pubp.founds1
founds2:"", // 偿还境外债务 .recp.pubp.founds2
founds3:"", // 补充营运或流动性资金 .recp.pubp.founds3
founds4:"", // 其他境外使用 .recp.pubp.founds4
founds5:"", // 以�'接投资形式回流 .recp.pubp.founds5
founds6:"", // 以外债形式回流 .recp.pubp.founds6
founds7:"", // 以�'�易形式回流 .recp.pubp.founds7
founds8:"", // 以其他形式回流 .recp.pubp.founds8
cousel1:{
guedparecompcode:"", // 被担保人境内母公司代码 .recp.pubp.cousel1.guedparecompcode
},
},
zzwjew:"", // 主债务金额提示 .recp.zzwjew
thjewating:"", // 资金调回金额提示 .recp.thjewating
},
recgrp:{
bas:{
remark:"", // 备注 .recgrp.bas.remark
maturity:"", // 到期日 .recgrp.bas.maturity
maindebtcurr:"", // 主债务金额 .recgrp.bas.maindebtcurr
guedtype:"", // 被担保人类型 .recgrp.bas.guedtype
guedcode:"", // 被担保人代码 .recgrp.bas.guedcode
guarantype:"", // 担保类型 .recgrp.bas.guarantype
guarantorcode:"", // 担保人代码 .recgrp.bas.guarantorcode
guappcode:"", // 担保申请人代码 .recgrp.bas.guappcode
exguarancode:"", // 对外担保编号 .recgrp.bas.exguarancode
contractdate:"", // 签约日期 .recgrp.bas.contractdate
bentype:"", // 受益人类型 .recgrp.bas.bentype
bencode:"", // 受益人代码 .recgrp.bas.bencode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
bename:"", // 受益人中文名称 .recgrp.bas.bename
benamen:"", // 受益人英文名称 .recgrp.bas.benamen
guedname:"", // 被担保人中文名称 .recgrp.bas.guedname
guednamen:"", // 被担保人英文名称 .recgrp.bas.guednamen
guappname:"", // 担保申请人中文名称 .recgrp.bas.guappname
guappnamen:"", // 担保申请人英文名称 .recgrp.bas.guappnamen
guarancurr:"", // 保函金额 .recgrp.bas.guarancurr
guedcouncode:"", // 被担保人国别/地区代码 .recgrp.bas.guedcouncode
bencountrycode:"", // 受益人国别/地区 .recgrp.bas.bencountrycode
guaranamount:"", // 保函金额 .recgrp.bas.guaranamount
maindebtamount:"", // 主债务金额 .recgrp.bas.maindebtamount
maindebtmanner:"", // 发行/上市方式 .recgrp.bas.maindebtmanner
guedindustrycode:"", // 被担保人所属行业 .recgrp.bas.guedindustrycode
maindebtdate:"", // 主债务期限(日) .recgrp.bas.maindebtdate
maindebtcondate:"", // 主债务签约日期 .recgrp.bas.maindebtcondate
maindebtmaturity:"", // 主债务到期日 .recgrp.bas.maindebtmaturity
intrat:"", // 借款利率(%) .recgrp.bas.intrat
cgyn:"", // 是否有反担保人 .recgrp.bas.cgyn
cgcode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcode
thyn:"", // 是否调回境内 .recgrp.bas.thyn
thje:"", // 资金调回金额 .recgrp.bas.thje
jwyn:"", // 是否与境外投资相关 .recgrp.bas.jwyn
cgcouncode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcouncode
issuecountrycode:"", // 发行/上市国家与地区 .recgrp.bas.issuecountrycode
guedparecompname:"", // 被担保人境内母公司中文名称 .recgrp.bas.guedparecompname
guedparecompnamen:"", // 被担保人境内母公司英文名称 .recgrp.bas.guedparecompnamen
cgname:"", // 反担保人中文名称 .recgrp.bas.cgname
cgnamen:"", // 反担保人英文名称 .recgrp.bas.cgnamen
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Ebainf Check规则
*/
let checkObj = {
"recgrp.bas.guaranamount" :null,
"cfabut.newdcl" :null,
"recgrp.bas.bename" :null,
"recgrp.bas.bencountrycode" :null,
"recgrp.bas.maindebtmaturity" :null,
"recgrp.bas.bentype" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.guappname" :null,
"recgrp.bas.maindebtcondate" :null,
"recgrp.bas.maindebtcurr" :null,
"recgrp.bas.maindebtdate" :null,
"recgrp.bas.guedindustrycode" :null,
"recgrp.bas.cgcouncode" :null,
"recgrp.bas.thyn" :null,
"recgrp.bas.guarantype" :null,
"recgrp.bas.maindebtamount" :null,
"recp.pubp.cousel1.guedparecompcode" :null,
"recgrp.bas.guednamen" :null,
"recgrp.bas.maindebtmanner" :null,
"recgrp.bas.guedparecompname" :null,
"recgrp.bas.issuecountrycode" :null,
"recgrp.bas.guarancurr" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.cgnamen" :null,
"recgrp.bas.cgyn" :null,
"recgrp.bas.thje" :null,
"recgrp.bas.cgcode" :null,
"cfabut.ownextkey" :null,
"recgrp.bas.guedname" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.jwyn" :null,
"recgrp.bas.benamen" :null,
"recgrp.bas.guedparecompnamen" :null,
"recgrp.bas.contractdate" :null,
"recgrp.bas.guedcode" :null,
"recgrp.bas.cgname" :null,
"cfabut.newvrf" :null,
"recgrp.bas.guedcouncode" :null,
"recgrp.bas.guarantorcode" :null,
"recgrp.bas.intrat" :null,
"recp.pubp.founds8" :null,
"recp.pubp.founds7" :null,
"recgrp.bas.guedtype" :null,
"recp.pubp.founds6" :null,
"recgrp.bas.bencode" :null,
"recp.pubp.founds1" :null,
"recp.pubp.founds5" :null,
"recp.pubp.founds4" :null,
"recp.pubp.founds3" :null,
"recgrp.bas.guappnamen" :null,
"recp.pubp.founds2" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ebainf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.dclflg" :Utils.defaultFunction,
"cfabut.basflg" :Utils.defaultFunction,
"recgrp.bas.guarantype" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"recgrp.bas.cgyn" :Utils.defaultFunction,
"recgrp.bas.cgcouncode" :Utils.defaultFunction,
"recgrp.bas.bencountrycode" :Utils.defaultFunction,
"recgrp.bas.maindebtmanner" :Utils.defaultFunction,
"recgrp.bas.thyn" :Utils.defaultFunction,
"recp.pubp.founds7" :Utils.defaultFunction,
"recp.pubp.founds6" :Utils.defaultFunction,
"recp.pubp.founds5" :Utils.defaultFunction,
"recp.pubp.founds4" :Utils.defaultFunction,
"recp.pubp.founds8" :Utils.defaultFunction,
"recp.pubp.founds3" :Utils.defaultFunction,
"recp.pubp.founds2" :Utils.defaultFunction,
"recp.pubp.founds1" :Utils.defaultFunction,
"recgrp.bas.guaranamount" :Utils.defaultFunction,
"recgrp.bas.issuecountrycode" :Utils.defaultFunction,
"recgrp.bas.guedtype" :Utils.defaultFunction,
"recgrp.bas.guedcouncode" :Utils.defaultFunction,
"recgrp.bas.bentype" :Utils.defaultFunction,
"recp.pubp.cousel1.guedparecompcode" :Utils.defaultFunction,
"recgrp.bas.maindebtmaturity" :Utils.defaultFunction,
"recgrp.bas.maindebtcondate" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCouselOperselbut(){
let rtnmsg = await this.executeRule("cousel.operselbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Cgcouncodbut(){
let rtnmsg = await this.executeRule("cousel1.cgcouncodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCousel1Isscoucodbut(){
let rtnmsg = await this.executeRule("cousel1.isscoucodbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.exguarancode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guarantorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.guaranamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.contractdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.bencountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.bencode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.bename":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.benamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guedcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.guedcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guedname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guednamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.guappname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.guappnamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
"recgrp.bas.maindebtcondate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtmaturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maindebtdate":[
{type: "string", required: false, message: "必输项"},
{max: 5,message:"长度不能超过5"}
],
"recgrp.bas.intrat":[
{type: "string", required: false, message: "必输项"},
{max: 15,message:"长度不能超过15"}
],
"recgrp.bas.guedparecompname":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recgrp.bas.guedparecompnamen":[
{type: "string", required: true, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
"recp.pubp.cousel1.guedparecompcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.cgcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.cgcouncode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.cgname":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.cgnamen":[
{type: "string", required: true, message: "必输项"},
{max: 64,message:"长度不能超过64"}
],
"recgrp.bas.thje":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.issuecountrycode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ebainf{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recp:{
pubp:{
bencodwarn:"", // BENCODE WARNING .recp.pubp.bencodwarn
guedcodwarn:"", // GUEDCODE WARNING .recp.pubp.guedcodwarn
acp:"", // 确认 .recp.pubp.acp
founds1:"", // 境外�'接投资 .recp.pubp.founds1
founds2:"", // 偿还境外债务 .recp.pubp.founds2
founds3:"", // 补充营运或流动性资金 .recp.pubp.founds3
founds4:"", // 其他境外使用 .recp.pubp.founds4
founds5:"", // 以�'接投资形式回流 .recp.pubp.founds5
founds6:"", // 以外债形式回流 .recp.pubp.founds6
founds7:"", // 以�'�易形式回流 .recp.pubp.founds7
founds8:"", // 以其他形式回流 .recp.pubp.founds8
cousel1:{
guedparecompcode:"", // 被担保人境内母公司代码 .recp.pubp.cousel1.guedparecompcode
},
},
zzwjew:"", // 主债务金额提示 .recp.zzwjew
thjewating:"", // 资金调回金额提示 .recp.thjewating
},
recgrp:{
bas:{
remark:"", // 备注 .recgrp.bas.remark
maturity:"", // 到期日 .recgrp.bas.maturity
maindebtcurr:"", // 主债务金额 .recgrp.bas.maindebtcurr
guedtype:"", // 被担保人类型 .recgrp.bas.guedtype
guedcode:"", // 被担保人代码 .recgrp.bas.guedcode
guarantype:"", // 担保类型 .recgrp.bas.guarantype
guarantorcode:"", // 担保人代码 .recgrp.bas.guarantorcode
guappcode:"", // 担保申请人代码 .recgrp.bas.guappcode
exguarancode:"", // 对外担保编号 .recgrp.bas.exguarancode
contractdate:"", // 签约日期 .recgrp.bas.contractdate
bentype:"", // 受益人类型 .recgrp.bas.bentype
bencode:"", // 受益人代码 .recgrp.bas.bencode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
bename:"", // 受益人中文名称 .recgrp.bas.bename
benamen:"", // 受益人英文名称 .recgrp.bas.benamen
guedname:"", // 被担保人中文名称 .recgrp.bas.guedname
guednamen:"", // 被担保人英文名称 .recgrp.bas.guednamen
guappname:"", // 担保申请人中文名称 .recgrp.bas.guappname
guappnamen:"", // 担保申请人英文名称 .recgrp.bas.guappnamen
guarancurr:"", // 保函金额 .recgrp.bas.guarancurr
guedcouncode:"", // 被担保人国别/地区代码 .recgrp.bas.guedcouncode
bencountrycode:"", // 受益人国别/地区 .recgrp.bas.bencountrycode
guaranamount:"", // 保函金额 .recgrp.bas.guaranamount
maindebtamount:"", // 主债务金额 .recgrp.bas.maindebtamount
maindebtmanner:"", // 发行/上市方式 .recgrp.bas.maindebtmanner
guedindustrycode:"", // 被担保人所属行业 .recgrp.bas.guedindustrycode
maindebtdate:"", // 主债务期限(日) .recgrp.bas.maindebtdate
maindebtcondate:"", // 主债务签约日期 .recgrp.bas.maindebtcondate
maindebtmaturity:"", // 主债务到期日 .recgrp.bas.maindebtmaturity
intrat:"", // 借款利率(%) .recgrp.bas.intrat
cgyn:"", // 是否有反担保人 .recgrp.bas.cgyn
cgcode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcode
thyn:"", // 是否调回境内 .recgrp.bas.thyn
thje:"", // 资金调回金额 .recgrp.bas.thje
jwyn:"", // 是否与境外投资相关 .recgrp.bas.jwyn
cgcouncode:"", // 反担保人国别/地区代码 .recgrp.bas.cgcouncode
issuecountrycode:"", // 发行/上市国家与地区 .recgrp.bas.issuecountrycode
guedparecompname:"", // 被担保人境内母公司中文名称 .recgrp.bas.guedparecompname
guedparecompnamen:"", // 被担保人境内母公司英文名称 .recgrp.bas.guedparecompnamen
cgname:"", // 反担保人中文名称 .recgrp.bas.cgname
cgnamen:"", // 反担保人英文名称 .recgrp.bas.cgnamen
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Ecaadd Check规则
*/
let checkObj = {
"recgrp.bas.valuedate" :null,
"recgrp.bas.currence" :null,
"cfabut.newvrf" :null,
"recgrp.bas.creditorcode" :null,
"recgrp.bas.dofoexlocode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.lenproname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.debtorname" :null,
"recgrp.bas.lenagree" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.dofoexlotype" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.contractamount" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ecaadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.basflg" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"cfabut.dclflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
"cfabut.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.dofoexlocode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.debtorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenproname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenagree":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ecaadd{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recgrp:{
bas:{
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
dofoexlocode:"", // 国内外汇贷款编号 .recgrp.bas.dofoexlocode
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
debtorname:"", // 债务人中文名称 .recgrp.bas.debtorname
dofoexlotype:"", // 国内外汇贷款类型 .recgrp.bas.dofoexlotype
lenproname:"", // 转贷项目名称 .recgrp.bas.lenproname
lenagree:"", // 转贷协议号 .recgrp.bas.lenagree
valuedate:"", // 起息日 .recgrp.bas.valuedate
maturity:"", // 到期日 .recgrp.bas.maturity
currence:"", // 贷款币种 .recgrp.bas.currence
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
remark:"", // 备注 .recgrp.bas.remark
contractamount:"", // 签约金额 .recgrp.bas.contractamount
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
},
},
recp:{
pubp:{
acp:"", // 确认 .recp.pubp.acp
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Ecaame Check规则
*/
let checkObj = {
"recgrp.bas.valuedate" :null,
"recgrp.bas.currence" :null,
"cfabut.newvrf" :null,
"recgrp.bas.creditorcode" :null,
"recgrp.bas.dofoexlocode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.lenproname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.debtorname" :null,
"recgrp.bas.lenagree" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.dofoexlotype" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.contractamount" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ecaame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.basflg" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"cfabut.dclflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.dofoexlocode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.debtorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenproname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenagree":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ecaame{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recgrp:{
bas:{
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
dofoexlocode:"", // 国内外汇贷款编号 .recgrp.bas.dofoexlocode
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
debtorname:"", // 债务人中文名称 .recgrp.bas.debtorname
dofoexlotype:"", // 国内外汇贷款类型 .recgrp.bas.dofoexlotype
lenproname:"", // 转贷项目名称 .recgrp.bas.lenproname
lenagree:"", // 转贷协议号 .recgrp.bas.lenagree
valuedate:"", // 起息日 .recgrp.bas.valuedate
maturity:"", // 到期日 .recgrp.bas.maturity
currence:"", // 贷款币种 .recgrp.bas.currence
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
remark:"", // 备注 .recgrp.bas.remark
contractamount:"", // 签约金额 .recgrp.bas.contractamount
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
},
},
recp:{
pubp:{
acp:"", // 确认 .recp.pubp.acp
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Ecadel Check规则
*/
let checkObj = {
"recgrp.bas.valuedate" :null,
"recgrp.bas.currence" :null,
"cfabut.newvrf" :null,
"recgrp.bas.creditorcode" :null,
"recgrp.bas.dofoexlocode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.lenproname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.debtorname" :null,
"recgrp.bas.lenagree" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.dofoexlotype" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.contractamount" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ecadel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.basflg" :Utils.defaultFunction,
"cfabut.vrfflg" :Utils.defaultFunction,
"cfabut.dclflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.dofoexlocode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.debtorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenproname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenagree":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ecadel{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recgrp:{
bas:{
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
dofoexlocode:"", // 国内外汇贷款编号 .recgrp.bas.dofoexlocode
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
debtorname:"", // 债务人中文名称 .recgrp.bas.debtorname
dofoexlotype:"", // 国内外汇贷款类型 .recgrp.bas.dofoexlotype
lenproname:"", // 转贷项目名称 .recgrp.bas.lenproname
lenagree:"", // 转贷协议号 .recgrp.bas.lenagree
valuedate:"", // 起息日 .recgrp.bas.valuedate
maturity:"", // 到期日 .recgrp.bas.maturity
currence:"", // 贷款币种 .recgrp.bas.currence
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
remark:"", // 备注 .recgrp.bas.remark
contractamount:"", // 签约金额 .recgrp.bas.contractamount
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
},
},
recp:{
pubp:{
acp:"", // 确认 .recp.pubp.acp
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Ecainf Check规则
*/
let checkObj = {
"recgrp.bas.valuedate" :null,
"recgrp.bas.currence" :null,
"cfabut.newvrf" :null,
"recgrp.bas.creditorcode" :null,
"recgrp.bas.dofoexlocode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.lenproname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.debtorname" :null,
"recgrp.bas.lenagree" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.dofoexlotype" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.contractamount" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Ecainf Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfabut.dclflg" :Utils.defaultFunction,
"cfabut.basflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recp.pubp.acp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutMod(){
let rtnmsg = await this.executeRule("cfabut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutDel(){
let rtnmsg = await this.executeRule("cfabut.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutSav(){
let rtnmsg = await this.executeRule("cfabut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutChk(){
let rtnmsg = await this.executeRule("cfabut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCutpErr(){
let rtnmsg = await this.executeRule("cutp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCfabutExt(){
let rtnmsg = await this.executeRule("cfabut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"eblmod.ebl.reldat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"eblmod.ebl.resamt":[
{type: "number", required: false, message: "必输项"},
{max: 12,message:"整数位不能超过8位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cfabut.newdcl":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cfabut.newvrf":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recgrp.bas.dofoexlocode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.contractamount":[
{type: "number", required: false, message: "必输项"},
{max: 22,message:"整数位不能超过19位"},
{pattern: /(^\d+$)|(^\.\d{1,2}$)|(^\d+\.\d{1,2}$)/, message: "小数位不能超过2位" }
],
"recgrp.bas.anninrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.debtorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenproname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.lenagree":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.remark":[
{type: "string", required: true, message: "必输项"},
{max: 31,message:"长度不能超过31"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Ecainf{
constructor () {
this.data = {
cfabut:{
vrflab:"", // DCLFLG LABEL .cfabut.vrflab
dcllab:"", // DCLFLG LABEL .cfabut.dcllab
basflg:"", // 签约信息 .cfabut.basflg
dclflg:"", // 变动信息 .cfabut.dclflg
ownextkey:"", // 业务所属机构 .cfabut.ownextkey
newdclnum:"", // 新增DCL数目 .cfabut.newdclnum
newvrfnum:"", // 新增VRF数目 .cfabut.newvrfnum
addnew:"", // 新增接口数据 .cfabut.addnew
newdcl:"", // DCL数目 .cfabut.newdcl
newvrf:"", // VRF数目 .cfabut.newvrf
vrfflg:"", // 履约信息 .cfabut.vrfflg
},
eblmod:{
ebl:{
reldat:"", // 授权日期 .eblmod.ebl.reldat
resamt:"", // 代付还代利息 .eblmod.ebl.resamt
},
},
recgrp:{
bas:{
actiontype:"", // 操作类型 .recgrp.bas.actiontype
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
dofoexlocode:"", // 国内外汇贷款编号 .recgrp.bas.dofoexlocode
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
debtorname:"", // 债务人中文名称 .recgrp.bas.debtorname
dofoexlotype:"", // 国内外汇贷款类型 .recgrp.bas.dofoexlotype
lenproname:"", // 转贷项目名称 .recgrp.bas.lenproname
lenagree:"", // 转贷协议号 .recgrp.bas.lenagree
valuedate:"", // 起息日 .recgrp.bas.valuedate
maturity:"", // 到期日 .recgrp.bas.maturity
currence:"", // 贷款币种 .recgrp.bas.currence
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
remark:"", // 备注 .recgrp.bas.remark
contractamount:"", // 签约金额 .recgrp.bas.contractamount
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
},
},
recp:{
pubp:{
acp:"", // 确认 .recp.pubp.acp
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
......@@ -219,6 +219,17 @@ import Dbcadd from "./Dbcadd"
import Cfasel from "./Cfasel"
import Ebaadd from "./Ebaadd"
import Ebaame from "./Ebaame"
import Ebadel from "./Ebadel"
import Ebainf from "./Ebainf"
import Ecaadd from "./Ecaadd"
import Ecaame from "./Ecaame"
import Ecadel from "./Ecadel"
import Ecainf from "./Ecainf"
/**
* 带有name的才会被添加进顶部的标签页里
*/
......@@ -451,6 +462,15 @@ const BusRouter = [
{ path: 'Dbcadd', component: Dbcadd, name: 'Dbcadd', meta: { title: '对外付款/承兑通知书(新建)' } },
{ path: 'Cfasel', component: Cfasel, name: 'Cfasel', meta: { title: '申报查询入口' } },
{ path: 'Ebaadd', component: Ebaadd, name: 'Ebaadd', meta: { title: '增 -- 对外担保' } },
{ path: 'Ebaame', component: Ebaame, name: 'Ebaame', meta: { title: '改 -- 对外担保' } },
{ path: 'Ebadel', component: Ebadel, name: 'Ebadel', meta: { title: '删 -- 对外担保' } },
{ path: 'Ebainf', component: Ebainf, name: 'Ebainf', meta: { title: '查 -- 对外担保' } },
{ path: 'Ecaadd', component: Ecaadd, name: 'Ecaadd', meta: { title: '增 -- 国内外汇贷款' } },
{ path: 'Ecaame', component: Ecaame, name: 'Ecaame', meta: { title: '改 -- 国内外汇贷款' } },
{ path: 'Ecadel', component: Ecadel, name: 'Ecadel', meta: { title: '删 -- 国内外汇贷款' } },
{ path: 'Ecainf', component: Ecainf, name: 'Ecainf', meta: { title: '查 -- 国内外汇贷款' } },
{ path: 'dzsys/:path', name: 'DzSys', meta: { title: (tag) => { return '电证 - ' + tag.params.title } } },
]
......
<template>
<div class="eibs-tab">
<!-- S0000037 : 主债务签约日期 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000037')" prop="recgrp.bas.maindebtcondate">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtcondate" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000037')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000038 : 主债务到期日 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000038')" prop="recgrp.bas.maindebtmaturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtmaturity" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000038')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000036 : 主债务期限(日) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000036')" prop="recgrp.bas.maindebtdate">
<c-input v-model="model.recgrp.bas.maindebtdate" :placeholder="$t('other.please_enter')+$t('ebap.S0000036')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 借款利率(%) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000040')" prop="recgrp.bas.intrat">
<c-input v-model="model.recgrp.bas.intrat" :placeholder="$t('other.please_enter')+$t('ebap.S0000040')"></c-input>
</c-form-item>
</c-col>
<!-- S0000041 : 主债务合同资金用途 -->
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds1">{{$t('ebap.C0000058')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds2">{{$t('ebap.C0000059')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds3">{{$t('ebap.C0000060')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds4">{{$t('ebap.C0000061')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds8">{{$t('ebap.C0000065')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds5">{{$t('ebap.C0000062')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds7">{{$t('ebap.C0000064')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds6">{{$t('ebap.C0000063')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000067')" prop="recgrp.bas.guedparecompname">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompname" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000067')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000067 : 被担保人境内母公司中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000068')" prop="recgrp.bas.guedparecompnamen">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompnamen" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000068')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000068 : 被担保人境内母公司英文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000043')" prop="recp.pubp.cousel1.guedparecompcode">
<c-input v-model="model.recp.pubp.cousel1.guedparecompcode" maxlength="18" :placeholder="$t('other.please_enter')+$t('ebap.S0000043')"></c-input>
</c-form-item>
</c-col>
<!-- S0000043 : 被担保人境内母公司代码 -->
<!-- S0000045 : 是否有反担保人 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000045')" prop="recgrp.bas.cgyn">
<c-select v-model="model.recgrp.bas.cgyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000045')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000047 : 反担保人国别/地区代码 -->
<!-- S0000046 : 反担保人代码 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000047')" prop="recgrp.bas.cgcode">
<c-input v-model="model.recgrp.bas.cgcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('ebap.S0000047')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="反担保人国别/地区代码" prop="recgrp.bas.cgcouncode">
<c-input v-model="model.recgrp.bas.cgcouncode" maxlength="3" :placeholder="$t('other.please_enter')+'反担保人国别/地区代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Cgcouncodbut">
{{$t('cousel1.C0000004')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000069')" prop="recgrp.bas.cgname">
<c-input type="textarea" v-model="model.recgrp.bas.cgname" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000069')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000069 : 反担保人中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000070')" prop="recgrp.bas.cgnamen">
<c-input type="textarea" v-model="model.recgrp.bas.cgnamen" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000070')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000070 : 反担保人英文名称 -->
<!-- S0000048 : 是否调回境内 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000048')" prop="recgrp.bas.thyn">
<c-select v-model="model.recgrp.bas.thyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000048')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000049 : 资金调回金额 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000049')" prop="recgrp.bas.thje">
<c-input v-model="model.recgrp.bas.thje" :placeholder="$t('other.please_enter')+$t('ebap.S0000049')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.thjewating" data-path=".recp.thjewating" > </span>
</c-col>
<!-- S0000050 : 是否与境外投资相关 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000050')" prop="recgrp.bas.jwyn">
<c-select v-model="model.recgrp.bas.jwyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000050')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="发行/上市国家与地区" prop="recgrp.bas.issuecountrycode">
<c-input v-model="model.recgrp.bas.issuecountrycode" maxlength="3" :placeholder="$t('other.please_enter')+'发行/上市国家与地区'"></c-input>
</c-form-item>
</c-col>
<!-- S0000044 : 发行/上市国家与地区 -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Isscoucodbut">
{{$t('cousel1.C0000006')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000019 : 发生日期 -->
<c-col :span="12">
<el-form-item label="授权日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+'授权日期'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.basflg">{{$t('cfabut.C0000006')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.dclflg">{{$t('cfabut.C0000007')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.vrfflg">{{$t('cfabut.C0000017')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutSav">
{{$t('cutp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutMod">
{{$t('cutp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutChk">
{{$t('cutp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onCfabutDel">
{{$t('cutp.C0000011')}}
</c-button>
</c-col>
<!-- S0000008 : 业务所属机构 -->
<c-col :span="12">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+'业务所属机构'">
</c-select>
</el-form-item>
</c-col>
<!-- S0000028 : 代付利息 -->
<c-col :span="12">
<c-form-item label="代付还代利息" prop="eblmod.ebl.resamt">
<c-input v-model="model.eblmod.ebl.resamt" :placeholder="$t('other.please_enter')+'代付还代利息'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.addnew">{{$t('cfabut.C0000015')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" :placeholder="$t('other.please_enter')+'DCL数目'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.newvrfnum" data-path=".cfabut.newvrfnum" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" :placeholder="$t('other.please_enter')+'VRF数目'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutExt">
{{$t('cutp.C0000008')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 -->
<el-tab-pane :label="$t('cfabut.PD000002')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
<!--ebap PD000001 对外担保-签约信息1 -->
<el-tab-pane :label="$t('ebap.PD000001')" name="conp">
<m-conp :model="model" :codes="codes"/>
</el-tab-pane>
<!--ebap PD000034 对外担保-签约信息2 -->
<el-tab-pane :label="$t('ebap.PD000034')" name="conp1">
<m-conp1 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ebaadd from "~/model/Ebaadd"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Ebaadd/Check"
import Default from "~/model/Ebaadd/Default"
import Pattern from "~/model/Ebaadd/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Conp1 from "./Conp1"
export default {
name: "Ebaadd",
components:{
"m-sel" : Sel,
"m-conp" : Conp,
"m-conp1" : Conp1,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "ebaadd",
trnType: "",
model: new Ebaadd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入ebaadd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000037 : 主债务签约日期 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000037')" prop="recgrp.bas.maindebtcondate">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtcondate" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000037')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000038 : 主债务到期日 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000038')" prop="recgrp.bas.maindebtmaturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtmaturity" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000038')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000036 : 主债务期限(日) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000036')" prop="recgrp.bas.maindebtdate">
<c-input v-model="model.recgrp.bas.maindebtdate" :placeholder="$t('other.please_enter')+$t('ebap.S0000036')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 借款利率(%) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000040')" prop="recgrp.bas.intrat">
<c-input v-model="model.recgrp.bas.intrat" :placeholder="$t('other.please_enter')+$t('ebap.S0000040')"></c-input>
</c-form-item>
</c-col>
<!-- S0000041 : 主债务合同资金用途 -->
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds1">{{$t('ebap.C0000058')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds2">{{$t('ebap.C0000059')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds3">{{$t('ebap.C0000060')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds4">{{$t('ebap.C0000061')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds8">{{$t('ebap.C0000065')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds5">{{$t('ebap.C0000062')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds7">{{$t('ebap.C0000064')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds6">{{$t('ebap.C0000063')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000067')" prop="recgrp.bas.guedparecompname">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompname" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000067')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000067 : 被担保人境内母公司中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000068')" prop="recgrp.bas.guedparecompnamen">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompnamen" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000068')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000068 : 被担保人境内母公司英文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000043')" prop="recp.pubp.cousel1.guedparecompcode">
<c-input v-model="model.recp.pubp.cousel1.guedparecompcode" maxlength="18" :placeholder="$t('other.please_enter')+$t('ebap.S0000043')"></c-input>
</c-form-item>
</c-col>
<!-- S0000043 : 被担保人境内母公司代码 -->
<!-- S0000045 : 是否有反担保人 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000045')" prop="recgrp.bas.cgyn">
<c-select v-model="model.recgrp.bas.cgyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000045')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000047 : 反担保人国别/地区代码 -->
<!-- S0000046 : 反担保人代码 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000047')" prop="recgrp.bas.cgcode">
<c-input v-model="model.recgrp.bas.cgcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('ebap.S0000047')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="反担保人国别/地区代码" prop="recgrp.bas.cgcouncode">
<c-input v-model="model.recgrp.bas.cgcouncode" maxlength="3" :placeholder="$t('other.please_enter')+'反担保人国别/地区代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Cgcouncodbut">
{{$t('cousel1.C0000004')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000069')" prop="recgrp.bas.cgname">
<c-input type="textarea" v-model="model.recgrp.bas.cgname" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000069')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000069 : 反担保人中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000070')" prop="recgrp.bas.cgnamen">
<c-input type="textarea" v-model="model.recgrp.bas.cgnamen" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000070')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000070 : 反担保人英文名称 -->
<!-- S0000048 : 是否调回境内 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000048')" prop="recgrp.bas.thyn">
<c-select v-model="model.recgrp.bas.thyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000048')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000049 : 资金调回金额 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000049')" prop="recgrp.bas.thje">
<c-input v-model="model.recgrp.bas.thje" :placeholder="$t('other.please_enter')+$t('ebap.S0000049')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.thjewating" data-path=".recp.thjewating" > </span>
</c-col>
<!-- S0000050 : 是否与境外投资相关 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000050')" prop="recgrp.bas.jwyn">
<c-select v-model="model.recgrp.bas.jwyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000050')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="发行/上市国家与地区" prop="recgrp.bas.issuecountrycode">
<c-input v-model="model.recgrp.bas.issuecountrycode" maxlength="3" :placeholder="$t('other.please_enter')+'发行/上市国家与地区'"></c-input>
</c-form-item>
</c-col>
<!-- S0000044 : 发行/上市国家与地区 -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Isscoucodbut">
{{$t('cousel1.C0000006')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000019 : 发生日期 -->
<c-col :span="12">
<el-form-item label="授权日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+'授权日期'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.basflg">{{$t('cfabut.C0000006')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.dclflg">{{$t('cfabut.C0000007')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.vrfflg">{{$t('cfabut.C0000017')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutSav">
{{$t('cutp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutMod">
{{$t('cutp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutChk">
{{$t('cutp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onCfabutDel">
{{$t('cutp.C0000011')}}
</c-button>
</c-col>
<!-- S0000008 : 业务所属机构 -->
<c-col :span="12">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+'业务所属机构'">
</c-select>
</el-form-item>
</c-col>
<!-- S0000028 : 代付利息 -->
<c-col :span="12">
<c-form-item label="代付还代利息" prop="eblmod.ebl.resamt">
<c-input v-model="model.eblmod.ebl.resamt" :placeholder="$t('other.please_enter')+'代付还代利息'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.addnew">{{$t('cfabut.C0000015')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" :placeholder="$t('other.please_enter')+'DCL数目'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.newvrfnum" data-path=".cfabut.newvrfnum" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" :placeholder="$t('other.please_enter')+'VRF数目'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutExt">
{{$t('cutp.C0000008')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebaame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 -->
<el-tab-pane :label="$t('cfabut.PD000002')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
<!--ebap PD000001 对外担保-签约信息1 -->
<el-tab-pane :label="$t('ebap.PD000001')" name="conp">
<m-conp :model="model" :codes="codes"/>
</el-tab-pane>
<!--ebap PD000034 对外担保-签约信息2 -->
<el-tab-pane :label="$t('ebap.PD000034')" name="conp1">
<m-conp1 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ebaame from "~/model/Ebaame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Ebaame/Check"
import Default from "~/model/Ebaame/Default"
import Pattern from "~/model/Ebaame/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Conp1 from "./Conp1"
export default {
name: "Ebaame",
components:{
"m-sel" : Sel,
"m-conp" : Conp,
"m-conp1" : Conp1,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "ebaame",
trnType: "",
model: new Ebaame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入ebaame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000037 : 主债务签约日期 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000037')" prop="recgrp.bas.maindebtcondate">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtcondate" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000037')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000038 : 主债务到期日 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000038')" prop="recgrp.bas.maindebtmaturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtmaturity" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000038')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000036 : 主债务期限(日) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000036')" prop="recgrp.bas.maindebtdate">
<c-input v-model="model.recgrp.bas.maindebtdate" :placeholder="$t('other.please_enter')+$t('ebap.S0000036')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 借款利率(%) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000040')" prop="recgrp.bas.intrat">
<c-input v-model="model.recgrp.bas.intrat" :placeholder="$t('other.please_enter')+$t('ebap.S0000040')"></c-input>
</c-form-item>
</c-col>
<!-- S0000041 : 主债务合同资金用途 -->
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds1">{{$t('ebap.C0000058')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds2">{{$t('ebap.C0000059')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds3">{{$t('ebap.C0000060')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds4">{{$t('ebap.C0000061')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds8">{{$t('ebap.C0000065')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds5">{{$t('ebap.C0000062')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds7">{{$t('ebap.C0000064')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds6">{{$t('ebap.C0000063')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000067')" prop="recgrp.bas.guedparecompname">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompname" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000067')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000067 : 被担保人境内母公司中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000068')" prop="recgrp.bas.guedparecompnamen">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompnamen" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000068')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000068 : 被担保人境内母公司英文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000043')" prop="recp.pubp.cousel1.guedparecompcode">
<c-input v-model="model.recp.pubp.cousel1.guedparecompcode" maxlength="18" :placeholder="$t('other.please_enter')+$t('ebap.S0000043')"></c-input>
</c-form-item>
</c-col>
<!-- S0000043 : 被担保人境内母公司代码 -->
<!-- S0000045 : 是否有反担保人 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000045')" prop="recgrp.bas.cgyn">
<c-select v-model="model.recgrp.bas.cgyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000045')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000047 : 反担保人国别/地区代码 -->
<!-- S0000046 : 反担保人代码 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000047')" prop="recgrp.bas.cgcode">
<c-input v-model="model.recgrp.bas.cgcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('ebap.S0000047')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="反担保人国别/地区代码" prop="recgrp.bas.cgcouncode">
<c-input v-model="model.recgrp.bas.cgcouncode" maxlength="3" :placeholder="$t('other.please_enter')+'反担保人国别/地区代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Cgcouncodbut">
{{$t('cousel1.C0000004')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000069')" prop="recgrp.bas.cgname">
<c-input type="textarea" v-model="model.recgrp.bas.cgname" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000069')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000069 : 反担保人中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000070')" prop="recgrp.bas.cgnamen">
<c-input type="textarea" v-model="model.recgrp.bas.cgnamen" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000070')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000070 : 反担保人英文名称 -->
<!-- S0000048 : 是否调回境内 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000048')" prop="recgrp.bas.thyn">
<c-select v-model="model.recgrp.bas.thyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000048')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000049 : 资金调回金额 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000049')" prop="recgrp.bas.thje">
<c-input v-model="model.recgrp.bas.thje" :placeholder="$t('other.please_enter')+$t('ebap.S0000049')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.thjewating" data-path=".recp.thjewating" > </span>
</c-col>
<!-- S0000050 : 是否与境外投资相关 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000050')" prop="recgrp.bas.jwyn">
<c-select v-model="model.recgrp.bas.jwyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000050')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="发行/上市国家与地区" prop="recgrp.bas.issuecountrycode">
<c-input v-model="model.recgrp.bas.issuecountrycode" maxlength="3" :placeholder="$t('other.please_enter')+'发行/上市国家与地区'"></c-input>
</c-form-item>
</c-col>
<!-- S0000044 : 发行/上市国家与地区 -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Isscoucodbut">
{{$t('cousel1.C0000006')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebadel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000019 : 发生日期 -->
<c-col :span="12">
<el-form-item label="授权日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+'授权日期'"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.basflg">{{$t('cfabut.C0000006')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.dclflg">{{$t('cfabut.C0000007')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.vrflab" data-path=".cfabut.vrflab" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.vrfflg">{{$t('cfabut.C0000017')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutSav">
{{$t('cutp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutMod">
{{$t('cutp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutChk">
{{$t('cutp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onCfabutDel">
{{$t('cutp.C0000011')}}
</c-button>
</c-col>
<!-- S0000008 : 业务所属机构 -->
<c-col :span="12">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+'业务所属机构'">
</c-select>
</el-form-item>
</c-col>
<!-- S0000028 : 代付利息 -->
<c-col :span="12">
<c-form-item label="代付还代利息" prop="eblmod.ebl.resamt">
<c-input v-model="model.eblmod.ebl.resamt" :placeholder="$t('other.please_enter')+'代付还代利息'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.cfabut.addnew">{{$t('cfabut.C0000015')}}</c-checkbox>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.newdclnum" data-path=".cfabut.newdclnum" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model="model.cfabut.newdcl" :placeholder="$t('other.please_enter')+'DCL数目'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCutpErr">
{{$t('cutp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.cfabut.newvrfnum" data-path=".cfabut.newvrfnum" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="VRF数目" prop="cfabut.newvrf">
<c-input v-model="model.cfabut.newvrf" :placeholder="$t('other.please_enter')+'VRF数目'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutExt">
{{$t('cutp.C0000008')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebadel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 -->
<el-tab-pane :label="$t('cfabut.PD000002')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
<!--ebap PD000001 对外担保-签约信息1 -->
<el-tab-pane :label="$t('ebap.PD000001')" name="conp">
<m-conp :model="model" :codes="codes"/>
</el-tab-pane>
<!--ebap PD000034 对外担保-签约信息2 -->
<el-tab-pane :label="$t('ebap.PD000034')" name="conp1">
<m-conp1 :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ebadel from "~/model/Ebadel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Ebadel/Check"
import Default from "~/model/Ebadel/Default"
import Pattern from "~/model/Ebadel/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Conp1 from "./Conp1"
export default {
name: "Ebadel",
components:{
"m-sel" : Sel,
"m-conp" : Conp,
"m-conp1" : Conp1,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "ebadel",
trnType: "",
model: new Ebadel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入ebadel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000037 : 主债务签约日期 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000037')" prop="recgrp.bas.maindebtcondate">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtcondate" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000037')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000038 : 主债务到期日 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000038')" prop="recgrp.bas.maindebtmaturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maindebtmaturity" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000038')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000036 : 主债务期限(日) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000036')" prop="recgrp.bas.maindebtdate">
<c-input v-model="model.recgrp.bas.maindebtdate" :placeholder="$t('other.please_enter')+$t('ebap.S0000036')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 借款利率(%) -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000040')" prop="recgrp.bas.intrat">
<c-input v-model="model.recgrp.bas.intrat" :placeholder="$t('other.please_enter')+$t('ebap.S0000040')"></c-input>
</c-form-item>
</c-col>
<!-- S0000041 : 主债务合同资金用途 -->
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds1">{{$t('ebap.C0000058')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds2">{{$t('ebap.C0000059')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds3">{{$t('ebap.C0000060')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds4">{{$t('ebap.C0000061')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds8">{{$t('ebap.C0000065')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds5">{{$t('ebap.C0000062')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds7">{{$t('ebap.C0000064')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.pubp.founds6">{{$t('ebap.C0000063')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000067')" prop="recgrp.bas.guedparecompname">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompname" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000067')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000067 : 被担保人境内母公司中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000068')" prop="recgrp.bas.guedparecompnamen">
<c-input type="textarea" v-model="model.recgrp.bas.guedparecompnamen" maxlength="60" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000068')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000068 : 被担保人境内母公司英文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000043')" prop="recp.pubp.cousel1.guedparecompcode">
<c-input v-model="model.recp.pubp.cousel1.guedparecompcode" maxlength="18" :placeholder="$t('other.please_enter')+$t('ebap.S0000043')"></c-input>
</c-form-item>
</c-col>
<!-- S0000043 : 被担保人境内母公司代码 -->
<!-- S0000045 : 是否有反担保人 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000045')" prop="recgrp.bas.cgyn">
<c-select v-model="model.recgrp.bas.cgyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000045')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000047 : 反担保人国别/地区代码 -->
<!-- S0000046 : 反担保人代码 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000047')" prop="recgrp.bas.cgcode">
<c-input v-model="model.recgrp.bas.cgcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('ebap.S0000047')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="反担保人国别/地区代码" prop="recgrp.bas.cgcouncode">
<c-input v-model="model.recgrp.bas.cgcouncode" maxlength="3" :placeholder="$t('other.please_enter')+'反担保人国别/地区代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Cgcouncodbut">
{{$t('cousel1.C0000004')}}
</c-button>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000069')" prop="recgrp.bas.cgname">
<c-input type="textarea" v-model="model.recgrp.bas.cgname" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000069')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000069 : 反担保人中文名称 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000070')" prop="recgrp.bas.cgnamen">
<c-input type="textarea" v-model="model.recgrp.bas.cgnamen" maxlength="64" show-word-limit :placeholder="$t('other.please_enter')+$t('ebap.S0000070')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000070 : 反担保人英文名称 -->
<!-- S0000048 : 是否调回境内 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000048')" prop="recgrp.bas.thyn">
<c-select v-model="model.recgrp.bas.thyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000048')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000049 : 资金调回金额 -->
<c-col :span="12">
<c-form-item :label="$t('ebap.S0000049')" prop="recgrp.bas.thje">
<c-input v-model="model.recgrp.bas.thje" :placeholder="$t('other.please_enter')+$t('ebap.S0000049')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.thjewating" data-path=".recp.thjewating" > </span>
</c-col>
<!-- S0000050 : 是否与境外投资相关 -->
<c-col :span="12">
<el-form-item :label="$t('ebap.S0000050')" prop="recgrp.bas.jwyn">
<c-select v-model="model.recgrp.bas.jwyn" style="width:100%" :placeholder="$t('other.please_enter')+$t('ebap.S0000050')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="发行/上市国家与地区" prop="recgrp.bas.issuecountrycode">
<c-input v-model="model.recgrp.bas.issuecountrycode" maxlength="3" :placeholder="$t('other.please_enter')+'发行/上市国家与地区'"></c-input>
</c-form-item>
</c-col>
<!-- S0000044 : 发行/上市国家与地区 -->
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCousel1Isscoucodbut">
{{$t('cousel1.C0000006')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ebainf/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
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