Commit 020a633c by nanrui

Eaddef,Eadadd,Eadinf,Eadame,Eaddel初始化。

parent 0e2360f7
import Utils from "~/utils"
/**
* Eaddel Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.anninrate" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.floatrate" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :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
/**
* Eaddel 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,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :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 onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
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: '服务请求失败!'});
}
},
}
\ 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.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 11,message:"长度不能超过11"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.inltcabuscode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.appname":[
{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 Eaddel{
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:{
appname:"", // 申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
anninrate:"", // 年化利率值 .recgrp.bas.anninrate
floatrate:"", // 是否浮动利率 .recgrp.bas.floatrate
appcode:"", // 申请人代码 .recgrp.bas.appcode
inltcabuscode:"", // 信用证承兑业务参号 .recgrp.bas.inltcabuscode
remark:"", // 备注 .recgrp.bas.remark
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Eafadd Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.credittype" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :null,
"recgrp.bas.contractamount" :null,
"recgrp.bas.billsn" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Eafadd 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,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"cfabut.ownextkey" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :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 onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
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: '服务请求失败!'});
}
},
}
\ 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.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"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 Eafadd{
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:{
appname:"", // 开证申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
appcode:"", // 开证申请人代码 .recgrp.bas.appcode
remark:"", // 备注 .recgrp.bas.remark
credittype:"", // 相关业务类型 .recgrp.bas.credittype
billsn:"", // 是否附有银行承兑汇票 .recgrp.bas.billsn
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Eafame Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.credittype" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :null,
"recgrp.bas.contractamount" :null,
"recgrp.bas.billsn" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Eafame 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,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :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 onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
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: '服务请求失败!'});
}
},
}
\ 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.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"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 Eafame{
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:{
appname:"", // 开证申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
appcode:"", // 开证申请人代码 .recgrp.bas.appcode
remark:"", // 备注 .recgrp.bas.remark
credittype:"", // 相关业务类型 .recgrp.bas.credittype
billsn:"", // 是否附有银行承兑汇票 .recgrp.bas.billsn
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Eafdel Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.credittype" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :null,
"recgrp.bas.contractamount" :null,
"recgrp.bas.billsn" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Eafdel 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,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :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 onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
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: '服务请求失败!'});
}
},
}
\ 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.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"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 Eafdel{
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:{
appname:"", // 开证申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
appcode:"", // 开证申请人代码 .recgrp.bas.appcode
remark:"", // 备注 .recgrp.bas.remark
credittype:"", // 相关业务类型 .recgrp.bas.credittype
billsn:"", // 是否附有银行承兑汇票 .recgrp.bas.billsn
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Eafinf Check规则
*/
let checkObj = {
"recgrp.bas.appname" :null,
"recgrp.bas.crehqcode" :null,
"cfabut.ownextkey" :null,
"cfabut.newdcl" :null,
"eblmod.ebl.reldat" :null,
"recgrp.bas.creditorname" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.contractcurr" :null,
"recgrp.bas.maturity" :null,
"recgrp.bas.creditornamen" :null,
"recgrp.bas.valuedate" :null,
"recgrp.bas.creditorcode" :null,
"cfabut.newvrf" :null,
"recgrp.bas.debtype" :null,
"recgrp.bas.opercode" :null,
"recgrp.bas.appcode" :null,
"recgrp.bas.creditortype" :null,
"recgrp.bas.exdebtcode" :null,
"recgrp.bas.debtorcode" :null,
"recgrp.bas.credittype" :null,
"recgrp.bas.spapfeboindex" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.relation" :null,
"recgrp.bas.contractamount" :null,
"recgrp.bas.billsn" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Eafinf 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,
"recgrp.bas.creditortype" :Utils.defaultFunction,
"recgrp.bas.opercode" :Utils.defaultFunction,
"recgrp.bas.crehqcode" :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 onCouselCrehqselbut(){
let rtnmsg = await this.executeRule("cousel.crehqselbut")
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: '服务请求失败!'});
}
},
}
\ 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.exdebtcode":[
{type: "string", required: false, message: "必输项"},
{max: 28,message:"长度不能超过28"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.debtorcode":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recgrp.bas.valuedate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.maturity":[
{type: "date", required: false, message: "输入正确的日期"}
],
"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.appcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.appname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditorcode":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.creditorname":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.creditornamen":[
{type: "string", required: false, message: "必输项"},
{max: 128,message:"长度不能超过128"}
],
"recgrp.bas.crehqcode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recgrp.bas.opercode":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"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 Eafinf{
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:{
appname:"", // 开证申请人名称 .recgrp.bas.appname
creditorcode:"", // 债权人代码 .recgrp.bas.creditorcode
creditortype:"", // 债权人类型代码 .recgrp.bas.creditortype
creditorname:"", // 债权人中文名称 .recgrp.bas.creditorname
creditornamen:"", // 债权人英文名称 .recgrp.bas.creditornamen
crehqcode:"", // 债权人总部所在国家(地区)代码 .recgrp.bas.crehqcode
opercode:"", // 债权人经营地所在国家(地区)代码 .recgrp.bas.opercode
exdebtcode:"", // 外债编号 .recgrp.bas.exdebtcode
actiontype:"", // 操作类型 .recgrp.bas.actiontype
debtorcode:"", // 债务人代码 .recgrp.bas.debtorcode
debtype:"", // 债务类型 .recgrp.bas.debtype
valuedate:"", // 起息日 .recgrp.bas.valuedate
contractcurr:"", // 签约金额 .recgrp.bas.contractcurr
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
maturity:"", // 到期日 .recgrp.bas.maturity
spapfeboindex:"", // 是否不纳入跨境融资风险加权余额计算 .recgrp.bas.spapfeboindex
contractamount:"", // 签约金额 .recgrp.bas.contractamount
appcode:"", // 开证申请人代码 .recgrp.bas.appcode
remark:"", // 备注 .recgrp.bas.remark
credittype:"", // 相关业务类型 .recgrp.bas.credittype
billsn:"", // 是否附有银行承兑汇票 .recgrp.bas.billsn
relation:"", // 对方与本机构的关系 .recgrp.bas.relation
},
},
recp:{
pubp:{
creditcodwarn:"", // CREDITORCODE WARNING .recp.pubp.creditcodwarn
acp:"", // 确认 .recp.pubp.acp
},
dclp: {
exdebtcode: "",
}
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
...@@ -242,6 +242,11 @@ import Dbwinf from "./Dbwinf" ...@@ -242,6 +242,11 @@ import Dbwinf from "./Dbwinf"
import Eadadd from "./Eadadd" import Eadadd from "./Eadadd"
import Eadinf from "./Eadinf" import Eadinf from "./Eadinf"
import Eadame from "./Eadame" import Eadame from "./Eadame"
import Eaddel from "./Eaddel"
import Eafadd from "./Eafadd"
import Eafinf from "./Eafinf"
import Eafame from "./Eafame"
import Eafdel from "./Eafdel"
import Ebaadd from "./Ebaadd" import Ebaadd from "./Ebaadd"
import Ebaame from "./Ebaame" import Ebaame from "./Ebaame"
...@@ -519,6 +524,11 @@ const BusRouter = [ ...@@ -519,6 +524,11 @@ const BusRouter = [
{ path: 'Eadadd', component: Eadadd, name: 'Eadadd', meta: { title: '增 -- 外债海外代付' } }, { path: 'Eadadd', component: Eadadd, name: 'Eadadd', meta: { title: '增 -- 外债海外代付' } },
{ path: 'Eadinf', component: Eadinf, name: 'Eadinf', meta: { title: '查 -- 外债海外代付' } }, { path: 'Eadinf', component: Eadinf, name: 'Eadinf', meta: { title: '查 -- 外债海外代付' } },
{ path: 'Eadame', component: Eadame, name: 'Eadame', meta: { title: '改 -- 外债海外代付' } }, { path: 'Eadame', component: Eadame, name: 'Eadame', meta: { title: '改 -- 外债海外代付' } },
{ path: 'Eaddel', component: Eaddel, name: 'Eaddel', meta: { title: '删 -- 外债海外代付' } },
{ path: 'Eafadd', component: Eafadd, name: 'Eafadd', meta: { title: '增 -- 外债远期信用证(含即期单证相符)' } },
{ path: 'Eafinf', component: Eafinf, name: 'Eafinf', meta: { title: '查 -- 外债远期信用证(含即期单证相符)' } },
{ path: 'Eafame', component: Eafame, name: 'Eafame', meta: { title: '改 -- 外债远期信用证(含即期单证相符)' } },
{ path: 'Eafdel', component: Eafdel, name: 'Eafdel', meta: { title: '删 -- 外债远期信用证(含即期单证相符)' } },
{ path: 'Ebaadd', component: Ebaadd, name: 'Ebaadd', meta: { title: '增 -- 对外担保' } }, { path: 'Ebaadd', component: Ebaadd, name: 'Ebaadd', meta: { title: '增 -- 对外担保' } },
{ path: 'Ebaame', component: Ebaame, name: 'Ebaame', meta: { title: '改 -- 对外担保' } }, { path: 'Ebaame', component: Ebaame, name: 'Ebaame', meta: { title: '改 -- 对外担保' } },
{ path: 'Ebadel', component: Ebadel, name: 'Ebadel', meta: { title: '删 -- 对外担保' } }, { path: 'Ebadel', component: Ebadel, name: 'Ebadel', meta: { title: '删 -- 对外担保' } },
......
...@@ -5,11 +5,15 @@ ...@@ -5,11 +5,15 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 --> <!--cfabut PD000002 接口数据 -->
<el-tab-pane label="接口数据" name="sel"> <el-tab-pane label="接口数据" name="sel">
<m-sel :model="model" :codes="codes" /> <content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane> </el-tab-pane>
<!--eadp PD000001 外债海外代付-签约信息 --> <!--eadp PD000001 外债海外代付-签约信息 -->
<el-tab-pane :label="$t('eadp.PD000001')" name="conp"> <el-tab-pane :label="$t('eadp.PD000001')" name="conp">
<m-conp :model="model" :codes="codes" /> <content>
<m-conp :model="model" :codes="codes" />
</content>
</el-tab-pane> </el-tab-pane>
<!--外债海外代付-变动信息 --> <!--外债海外代付-变动信息 -->
<el-tab-pane label="外债海外代付-变动信息" name="dclpp"> <el-tab-pane label="外债海外代付-变动信息" name="dclpp">
......
...@@ -5,11 +5,15 @@ ...@@ -5,11 +5,15 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 --> <!--cfabut PD000002 接口数据 -->
<el-tab-pane label="接口数据" name="sel"> <el-tab-pane label="接口数据" name="sel">
<m-sel :model="model" :codes="codes" /> <content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane> </el-tab-pane>
<!--eadp PD000001 外债海外代付-签约信息 --> <!--eadp PD000001 外债海外代付-签约信息 -->
<el-tab-pane :label="$t('eadp.PD000001')" name="conp"> <el-tab-pane :label="$t('eadp.PD000001')" name="conp">
<m-conp :model="model" :codes="codes" /> <content>
<m-conp :model="model" :codes="codes" />
</content>
</el-tab-pane> </el-tab-pane>
<!--外债海外代付-变动信息(1) --> <!--外债海外代付-变动信息(1) -->
<el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp"> <el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
......
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000016 : 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recgrp.bas.exdebtcode">
<c-input v-model="model.recgrp.bas.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 操作类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000017')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000017')" :code="codes.actiontype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000018 : 债务人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000018')" prop="recgrp.bas.debtorcode">
<c-input v-model="model.recgrp.bas.debtorcode" maxlength="12"
:placeholder="$t('other.please_enter') + $t('pubp.S0000018')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 债务类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000019')" prop="recgrp.bas.debtype">
<c-select v-model="model.recgrp.bas.debtype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000020 : 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000020')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000021 : 签约金额 -->
<c-col :span="24">
<c-col :span="13">
<el-form-item label="签约金额" prop="recgrp.bas.contractcurr">
<c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" placeholder="请选择币种"
:code="codes.curtxt1" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount">
<c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000012 : 年化利率值 -->
<c-col :span="24">
<c-form-item label="年化利率值" prop="recgrp.bas.anninrate">
<c-input v-model="model.recgrp.bas.anninrate"
:placeholder="$t('other.please_enter') + $t('eadp.S0000012')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 债权人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode">
<c-input v-model="model.recgrp.bas.creditorcode" maxlength="11"
:placeholder="$t('other.please_enter') + $t('pubp.S0000002')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 债权人中文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname">
<c-input v-model="model.recgrp.bas.creditorname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000004')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 债权人英文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen">
<c-input v-model="model.recgrp.bas.creditornamen" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000005')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 申请人代码 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000019')" prop="recgrp.bas.appcode">
<c-input v-model="model.recgrp.bas.appcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('eadp.S0000019')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000026 : 申请人名称 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000026')" prop="recgrp.bas.appname">
<c-input v-model="model.recgrp.bas.appname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('eadp.S0000026')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000023 : 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark">
<c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left;: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.pubp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<!-- S0000023 : 到期日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000023')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 -->
<c-col :span="24">
<el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex">
<c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%"
placeholder="请选择是否不纳入跨境融资风险加权余额计算" disabled :code="codes.spapfeboindex">
</c-select>
</el-form-item>
</c-col>
<!-- S0000011 : 是否浮动利率 -->
<c-col :span="24">
<el-form-item :label="$t('eadp.S0000011')" prop="recgrp.bas.floatrate">
<c-select v-model="model.recgrp.bas.floatrate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000011')" :code="codes.floatrate" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 债权人类型代码 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype">
<c-select v-model="model.recgrp.bas.creditortype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000003')" disabled
:code="codes.creditortype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000010 : 债权人总部所在国 -->
<c-col :span="24">
<c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.crehqcode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" disabled
icon="el-icon-search" @click="onCouselCrehqselbut">
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000011 : 债权人经营地所在 -->
<c-col :span="24">
<c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.opercode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselOperselbut" disabled>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000021 : 信用证承兑业务参号 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000021')" prop="recgrp.bas.inltcabuscode">
<c-input v-model="model.recgrp.bas.inltcabuscode" maxlength="32"
:placeholder="$t('other.please_enter') + $t('eadp.S0000021')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000027 : 对方与本机构的关系 -->
<c-col :span="24">
<el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation">
<c-select v-model="model.recgrp.bas.relation" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000027')" disabled :code="codes.relation">
</c-select>
</el-form-item>
</c-col>
</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="onCfabutChk">
{{ $t('cutp.C0000007') }}
</c-button>
</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.recp.pubp.creditcodwarn" data-path=".recp.pubp.creditcodwarn"> </span>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onCfabutExt">
{{ $t('cutp.C0000008') }}
</c-button>
</c-col> -->
<!-- S0000028 : 家(地区)代码 -->
<!-- S0000029 : 国家(地区)代码 -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Eaddel/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
</c-col>
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Eaddel/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000019 : 发生日期 -->
<c-col :span="24">
<el-form-item label="发生日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" disabled
placeholder="请输入发生日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000008 : 业务所属机构 -->
<c-col :span="24">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%" disabled placeholder="请输入业务所属机构"
:code="codes.ownextkey">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.dclflg" class="checkbox-left">变动信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab"> </span>
</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> -->
<!-- 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/Eaddel/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="接口数据" name="sel">
<content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--eadp PD000001 外债海外代付-签约信息 -->
<el-tab-pane :label="$t('eadp.PD000001')" name="conp">
<content>
<m-conp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--外债海外代付-变动信息(1) -->
<el-tab-pane label="外债海外代付-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Eaddel from "~/model/Eaddel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Eaddel/Check"
import Default from "~/model/Eaddel/Default"
import Pattern from "~/model/Eaddel/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default {
name: "Eaddel",
components: {
"m-sel": Sel,
"m-conp": Conp,
"m-dclpp": Dclpp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
trnName: "eaddel",
trnType: "",
model: new Eaddel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入eaddel交易");
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">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000016 : 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recgrp.bas.exdebtcode">
<c-input v-model="model.recgrp.bas.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 操作类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000017')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000017')" :code="codes.actiontype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000018 : 债务人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000018')" prop="recgrp.bas.debtorcode">
<c-input v-model="model.recgrp.bas.debtorcode" maxlength="12"
:placeholder="$t('other.please_enter') + $t('pubp.S0000018')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 债务类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000019')" prop="recgrp.bas.debtype">
<c-select v-model="model.recgrp.bas.debtype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000020 : 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000020')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000021 : 签约金额 -->
<c-col :span="24">
<c-col :span="13">
<el-form-item :label="$t('pubp.S0000021')" prop="recgrp.bas.contractcurr">
<c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" placeholder="请选择币种"
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount">
<c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000013 : 开证申请人代码 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000013')" prop="recgrp.bas.appcode">
<c-input v-model="model.recgrp.bas.appcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('eafp.S0000013')"></c-input>
</c-form-item>
</c-col>
<!-- S0000011 : 开证申请人名称 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000011')" prop="recgrp.bas.appname">
<c-input v-model="model.recgrp.bas.appname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('eafp.S0000011')"></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 债权人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode">
<c-input v-model="model.recgrp.bas.creditorcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('pubp.S0000002')"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 债权人中文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname">
<c-input v-model="model.recgrp.bas.creditorname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000004')"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 债权人英文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen">
<c-input v-model="model.recgrp.bas.creditornamen" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000005')"></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 相关业务类型 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000014')" prop="recgrp.bas.credittype">
<c-select v-model="model.recgrp.bas.credittype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000014')" :code="codes.credittype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000023 : 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark">
<c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.pubp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<!-- S0000023 : 到期日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000023')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 -->
<c-col :span="24">
<el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex">
<c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%"
placeholder="请选择是否不纳入跨境融资风险加权余额计算" :code="codes.spapfeboindex">
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 债权人类型代码 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype">
<c-select v-model="model.recgrp.bas.creditortype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000003')" :code="codes.creditortype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000011 : 债权人总部所在国家(地区)代码 -->
<c-col :span="24">
<c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.crehqcode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'"></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselCrehqselbut">
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000011 : 债权人经营地所在 -->
<c-col :span="24">
<c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.opercode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'"></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselOperselbut">
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000015 : 是否附有银行承兑汇票 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000015')" prop="recgrp.bas.billsn">
<c-select v-model="model.recgrp.bas.billsn" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000015')" :code="codes.billsn">
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 对方与本机构的关系 -->
<c-col :span="24">
<el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation">
<c-select v-model="model.recgrp.bas.relation" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000027')" :code="codes.relation">
</c-select>
</el-form-item>
</c-col>
</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="onCfabutChk">
{{ $t('cutp.C0000007') }}
</c-button>
</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.recp.pubp.creditcodwarn" data-path=".recp.pubp.creditcodwarn"> </span>
</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/Eafadd/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号"></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型"
:code="codes.changtype">
</c-select>
</el-form-item>
</c-col>
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="recp.dclp.chdate">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%"
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种"
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额">
</c-input>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值">
</c-input>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')"></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Eafadd/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000019 : 发生日期 -->
<c-col :span="24">
<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="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left" disabled>签约信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000008 : 业务所属机构 -->
<c-col :span="24">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%"
:placeholder="$t('other.please_enter') + '业务所属机构'" :code="codes.ownextkey3">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.dclflg" class="checkbox-left" disabled>变动信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab"> </span>
</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> -->
<!-- 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/Eafadd/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="接口数据" name="sel">
<content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--eafp PD000001 外债远期信用证-签约信息 -->
<el-tab-pane :label="$t('eafp.PD000001')" name="conp">
<content>
<m-conp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息 -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Eafadd from "~/model/Eafadd"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Eafadd/Check"
import Default from "~/model/Eafadd/Default"
import Pattern from "~/model/Eafadd/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default {
name: "Eafadd",
components: {
"m-sel": Sel,
"m-conp": Conp,
"m-dclpp": Dclpp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
trnName: "eafadd",
trnType: "",
model: new Eafadd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入eafadd交易");
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">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000016 : 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recgrp.bas.exdebtcode">
<c-input v-model="model.recgrp.bas.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 操作类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000017')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000017')" :code="codes.actiontype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000018 : 债务人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000018')" prop="recgrp.bas.debtorcode">
<c-input v-model="model.recgrp.bas.debtorcode" maxlength="12"
:placeholder="$t('other.please_enter') + $t('pubp.S0000018')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 债务类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000019')" prop="recgrp.bas.debtype">
<c-select v-model="model.recgrp.bas.debtype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000020 : 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000020')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000021 : 签约金额 -->
<c-col :span="24">
<c-col :span="13">
<el-form-item :label="$t('pubp.S0000021')" prop="recgrp.bas.contractcurr">
<c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" disabled
placeholder="请选择币种" :code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount">
<c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000013 : 开证申请人代码 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000013')" prop="recgrp.bas.appcode">
<c-input v-model="model.recgrp.bas.appcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('eafp.S0000013')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000011 : 开证申请人名称 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000011')" prop="recgrp.bas.appname">
<c-input v-model="model.recgrp.bas.appname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('eafp.S0000011')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 债权人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode">
<c-input v-model="model.recgrp.bas.creditorcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('pubp.S0000002')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 债权人中文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname">
<c-input v-model="model.recgrp.bas.creditorname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000004')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 债权人英文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen">
<c-input v-model="model.recgrp.bas.creditornamen" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000005')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 相关业务类型 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000014')" prop="recgrp.bas.credittype">
<c-select v-model="model.recgrp.bas.credittype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000014')" :code="codes.credittype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000023 : 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark">
<c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.pubp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<!-- S0000023 : 到期日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000023')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 -->
<c-col :span="24">
<el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex">
<c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%"
placeholder="请选择是否不纳入跨境融资风险加权余额计算" :code="codes.spapfeboindex" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 债权人类型代码 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype">
<c-select v-model="model.recgrp.bas.creditortype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000003')" :code="codes.creditortype"
disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000011 : 债权人总部所在国家(地区)代码 -->
<c-col :span="24">
<c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.crehqcode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselCrehqselbut" disabled>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000011 : 债权人经营地所在 -->
<c-col :span="24">
<c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.opercode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselOperselbut" disabled>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000015 : 是否附有银行承兑汇票 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000015')" prop="recgrp.bas.billsn">
<c-select v-model="model.recgrp.bas.billsn" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000015')" :code="codes.billsn" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 对方与本机构的关系 -->
<c-col :span="24">
<el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation">
<c-select v-model="model.recgrp.bas.relation" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000027')" :code="codes.relation" disabled>
</c-select>
</el-form-item>
</c-col>
</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="onCfabutChk">
{{ $t('cutp.C0000007') }}
</c-button>
</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.recp.pubp.creditcodwarn" data-path=".recp.pubp.creditcodwarn"> </span>
</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/Eafame/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
</c-col>
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Eafinf/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000019 : 发生日期 -->
<c-col :span="24">
<el-form-item label="发生日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" disabled
placeholder="请输入发生日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000008 : 业务所属机构 -->
<c-col :span="24">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%" disabled placeholder="请输入业务所属机构"
:code="codes.ownextkey">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.dclflg" class="checkbox-left">变动信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab"> </span>
</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> -->
<!-- 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/Eafame/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="接口数据" name="sel">
<content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--eafp PD000001 外债远期信用证(含即期单证相符)-签约信息 -->
<el-tab-pane :label="$t('eafp.PD000001')" name="conp">
<content>
<m-conp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Eafame from "~/model/Eafame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Eafame/Check"
import Default from "~/model/Eafame/Default"
import Pattern from "~/model/Eafame/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default {
name: "Eafame",
components: {
"m-sel": Sel,
"m-conp": Conp,
"m-dclpp": Dclpp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
trnName: "eafame",
trnType: "",
model: new Eafame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入eafame交易");
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">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000016 : 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recgrp.bas.exdebtcode">
<c-input v-model="model.recgrp.bas.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 操作类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000017')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000017')" :code="codes.actiontype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000018 : 债务人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000018')" prop="recgrp.bas.debtorcode">
<c-input v-model="model.recgrp.bas.debtorcode" maxlength="12"
:placeholder="$t('other.please_enter') + $t('pubp.S0000018')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 债务类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000019')" prop="recgrp.bas.debtype">
<c-select v-model="model.recgrp.bas.debtype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000020 : 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000020')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000021 : 签约金额 -->
<c-col :span="24">
<c-col :span="13">
<el-form-item :label="$t('pubp.S0000021')" prop="recgrp.bas.contractcurr">
<c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" disabled
placeholder="请选择币种" :code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount">
<c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000013 : 开证申请人代码 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000013')" prop="recgrp.bas.appcode">
<c-input v-model="model.recgrp.bas.appcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('eafp.S0000013')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000011 : 开证申请人名称 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000011')" prop="recgrp.bas.appname">
<c-input v-model="model.recgrp.bas.appname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('eafp.S0000011')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 债权人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode">
<c-input v-model="model.recgrp.bas.creditorcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('pubp.S0000002')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 债权人中文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname">
<c-input v-model="model.recgrp.bas.creditorname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000004')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 债权人英文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen">
<c-input v-model="model.recgrp.bas.creditornamen" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000005')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 相关业务类型 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000014')" prop="recgrp.bas.credittype">
<c-select v-model="model.recgrp.bas.credittype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000014')" :code="codes.credittype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000023 : 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark">
<c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.pubp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<!-- S0000023 : 到期日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000023')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 -->
<c-col :span="24">
<el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex">
<c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%"
placeholder="请选择是否不纳入跨境融资风险加权余额计算" :code="codes.spapfeboindex" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 债权人类型代码 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype">
<c-select v-model="model.recgrp.bas.creditortype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000003')" :code="codes.creditortype"
disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000011 : 债权人总部所在国家(地区)代码 -->
<c-col :span="24">
<c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.crehqcode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselCrehqselbut" disabled>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000011 : 债权人经营地所在 -->
<c-col :span="24">
<c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.opercode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselOperselbut" disabled>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000015 : 是否附有银行承兑汇票 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000015')" prop="recgrp.bas.billsn">
<c-select v-model="model.recgrp.bas.billsn" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000015')" :code="codes.billsn" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 对方与本机构的关系 -->
<c-col :span="24">
<el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation">
<c-select v-model="model.recgrp.bas.relation" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000027')" :code="codes.relation" disabled>
</c-select>
</el-form-item>
</c-col>
</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="onCfabutChk">
{{ $t('cutp.C0000007') }}
</c-button>
</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.recp.pubp.creditcodwarn" data-path=".recp.pubp.creditcodwarn"> </span>
</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/Eafdel/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
</c-col>
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Eafinf/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000019 : 发生日期 -->
<c-col :span="24">
<el-form-item label="发生日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%" disabled
placeholder="请输入发生日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000008 : 业务所属机构 -->
<c-col :span="24">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%" disabled placeholder="请输入业务所属机构"
:code="codes.ownextkey">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.dclflg" class="checkbox-left">变动信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab"> </span>
</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> -->
<!-- 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/Eafdel/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="接口数据" name="sel">
<content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--eafp PD000001 外债远期信用证-签约信息 -->
<el-tab-pane :label="$t('eafp.PD000001')" name="conp">
<content>
<m-conp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Eafdel from "~/model/Eafdel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Eafdel/Check"
import Default from "~/model/Eafdel/Default"
import Pattern from "~/model/Eafdel/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default {
name: "Eafdel",
components: {
"m-sel": Sel,
"m-conp": Conp,
"m-dclpp": Dclpp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
trnName: "eafdel",
trnType: "",
model: new Eafdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入eafdel交易");
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">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000016 : 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recgrp.bas.exdebtcode">
<c-input v-model="model.recgrp.bas.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 操作类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000017')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000017')" :code="codes.actiontype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000018 : 债务人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000018')" prop="recgrp.bas.debtorcode">
<c-input v-model="model.recgrp.bas.debtorcode" maxlength="12"
:placeholder="$t('other.please_enter') + $t('pubp.S0000018')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000019 : 债务类型 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000019')" prop="recgrp.bas.debtype">
<c-select v-model="model.recgrp.bas.debtype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- S0000020 : 起息日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000020')" prop="recgrp.bas.valuedate">
<c-date-picker type="date" v-model="model.recgrp.bas.valuedate" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000020')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000021 : 签约金额 -->
<c-col :span="24">
<c-col :span="13">
<el-form-item :label="$t('pubp.S0000021')" prop="recgrp.bas.contractcurr">
<c-select v-model="model.recgrp.bas.contractcurr" style="width:100%" disabled placeholder="请选择币种"
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<c-form-item label="" label-width="5px" prop="recgrp.bas.contractamount">
<c-input v-model="model.recgrp.bas.contractamount" placeholder="请输入签约金额" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000013 : 开证申请人代码 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000013')" prop="recgrp.bas.appcode">
<c-input v-model="model.recgrp.bas.appcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('eafp.S0000013')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000011 : 开证申请人名称 -->
<c-col :span="24">
<c-form-item :label="$t('eafp.S0000011')" prop="recgrp.bas.appname">
<c-input v-model="model.recgrp.bas.appname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('eafp.S0000011')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 债权人代码 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000002')" prop="recgrp.bas.creditorcode">
<c-input v-model="model.recgrp.bas.creditorcode" maxlength="18"
:placeholder="$t('other.please_enter') + $t('pubp.S0000002')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 债权人中文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000004')" prop="recgrp.bas.creditorname">
<c-input v-model="model.recgrp.bas.creditorname" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000004')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 债权人英文名称 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000005')" prop="recgrp.bas.creditornamen">
<c-input v-model="model.recgrp.bas.creditornamen" maxlength="128"
:placeholder="$t('other.please_enter') + $t('pubp.S0000005')" disabled></c-input>
</c-form-item>
</c-col>
<!-- S0000014 : 相关业务类型 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000014')" prop="recgrp.bas.credittype">
<c-select v-model="model.recgrp.bas.credittype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000014')" :code="codes.credittype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000023 : 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recgrp.bas.remark">
<c-input type="textarea" v-model="model.recgrp.bas.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.pubp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<!-- S0000023 : 到期日 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000023')" prop="recgrp.bas.maturity">
<c-date-picker type="date" v-model="model.recgrp.bas.maturity" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000023')" disabled></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000024 : 是否不纳入跨境融资风险加权余额计算 -->
<c-col :span="24">
<el-form-item label="是否不纳入跨境融资风险加权余额计算" prop="recgrp.bas.spapfeboindex">
<c-select v-model="model.recgrp.bas.spapfeboindex" style="width:100%"
placeholder="请选择是否不纳入跨境融资风险加权余额计算" :code="codes.spapfeboindex" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000003 : 债权人类型代码 -->
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000003')" prop="recgrp.bas.creditortype">
<c-select v-model="model.recgrp.bas.creditortype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000003')" :code="codes.creditortype" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000011 : 债权人总部所在国家(地区)代码 -->
<c-col :span="24">
<c-form-item label="债权人总部所在国家(地区)代码" prop="recgrp.bas.crehqcode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.crehqcode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人总部所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselCrehqselbut" disabled>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000011 : 债权人经营地所在 -->
<c-col :span="24">
<c-form-item label="债权人经营地所在国家(地区)代码" prop="recgrp.bas.opercode">
<c-fullbox>
<c-input v-model="model.recgrp.bas.opercode" maxlength="3"
:placeholder="$t('other.please_enter') + '债权人经营地所在国家(地区)代码'" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary"
icon="el-icon-search" @click="onCouselOperselbut" disabled>
</c-button>
</template>
</c-fullbox>
</c-form-item>
</c-col>
<!-- S0000015 : 是否附有银行承兑汇票 -->
<c-col :span="24">
<el-form-item :label="$t('eafp.S0000015')" prop="recgrp.bas.billsn">
<c-select v-model="model.recgrp.bas.billsn" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eafp.S0000015')" :code="codes.billsn" disabled>
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 对方与本机构的关系 -->
<c-col :span="24">
<el-form-item :label="$t('eadp.S0000027')" prop="recgrp.bas.relation">
<c-select v-model="model.recgrp.bas.relation" style="width:100%"
:placeholder="$t('other.please_enter') + $t('eadp.S0000027')" :code="codes.relation" disabled>
</c-select>
</el-form-item>
</c-col>
</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="onCfabutChk">
{{ $t('cutp.C0000007') }}
</c-button>
</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.recp.pubp.creditcodwarn" data-path=".recp.pubp.creditcodwarn"> </span>
</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/Eafinf/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- 外债编号 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000016')" prop="recp.dclp.exdebtcode">
<c-input v-model="model.recp.dclp.exdebtcode" maxlength="28"
:placeholder="$t('other.please_enter') + $t('pubp.S0000016')" disabled></c-input>
</c-form-item>
</c-col>
<!-- 变动编号 -->
<c-col :span="24">
<el-form-item label="变动编号" prop="recp.dclp.changeno">
<c-input v-model="model.recp.dclp.changeno" style="width:100%" placeholder="请输入变动编号"
:code="codes.changeno" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 操作类型 -->
<c-col :span="24">
<el-form-item label="操作类型" prop="recp.dclp.actiontype">
<c-select v-model="model.recp.dclp.actiontype" style="width:100%" placeholder="请选择操作类型" disabled
:code="codes.actiontype">
</c-select>
</el-form-item>
</c-col>
<!-- 银行业务参号 -->
<c-col :span="24">
<el-form-item label="银行业务参号" prop="recp.dclp.buscode">
<c-input v-model="model.recp.dclp.buscode" style="width:100%" placeholder="请输入银行业务参号" disabled></c-input>
</c-input>
</el-form-item>
</c-col>
<!-- 变动类型 -->
<c-col :span="24">
<el-form-item label="变动类型" prop="recp.dclp.changtype">
<c-select v-model="model.recp.dclp.changtype" style="width:100%" placeholder="请选择变动类型" disabled
:code="codes.changtype">
</c-select>
</el-form-item>
</c-col>
<!-- 变动日期 -->
<c-col :span="24">
<el-form-item label="变动日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.recp.dclp.chdate" style="width:100%" disabled
placeholder="请选择变动日期"></c-date-picker>
</el-form-item>
</c-col>
<!-- 变动币种 -->
<c-col :span="24">
<el-form-item label="变动币种" prop="recp.dclp.chcurrency">
<c-select v-model="model.recp.dclp.chcurrency" style="width:100%" placeholder="请选择变动币种" disabled
:code="codes.curtxt1">
</c-select>
</el-form-item>
</c-col>
<!-- 变动金额 -->
<c-col :span="24">
<el-form-item label="变动金额" prop="recp.dclp.chamount">
<c-input v-model="model.recp.dclp.chamount" style="width:100%" placeholder="请输入变动金额" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 公允价值 -->
<c-col :span="24">
<el-form-item label="公允价值" prop="recp.dclp.fairvalue">
<c-input v-model="model.recp.dclp.fairvalue" style="width:100%" placeholder="请输入公允价值" disabled>
</c-input>
</el-form-item>
</c-col>
<!-- 备注 -->
<c-col :span="24">
<c-form-item :label="$t('eadp.S0000023')" prop="recp.dclp.remark">
<c-input type="textarea" v-model="model.recp.dclp.remark" maxlength="31" show-word-limit
:placeholder="$t('other.please_enter') + $t('eadp.S0000023')" disabled></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000022 : 删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recp.dclp.actiondesc">
<c-input type="textarea" v-model="model.recp.dclp.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
</c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.recp.dclp.acp" class="checkbox-left" disabled>确认</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24" style="text-align: right;margin-top: 300px;color:blue">
<c-form-item prop="recp.dclp.sta">
<!-- <c-select v-model="this.model.recp.dclp.sta" style="width:100%" placeholder="" disabled
:code="codes.sta1">
</c-select> -->
<span v-if="this.model.recp.dclp.sta == 'W'">待发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'S'">已发送</span>
<span v-else-if="this.model.recp.dclp.sta == 'D'">已撤销</span>
<span v-else-if="this.model.recp.dclp.sta == 'G'">已删除</span>
<span v-else-if="this.model.recp.dclp.sta == 'P'">已作废</span>
<span v-else-if="this.model.recp.dclp.sta == 'E'">待修改</span>
</c-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Eafinf/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<!-- S0000019 : 发生日期 -->
<c-col :span="24">
<el-form-item label="发生日期" prop="eblmod.ebl.reldat">
<c-date-picker type="date" v-model="model.eblmod.ebl.reldat" style="width:100%"
placeholder="请输入发生日期" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left" disabled>签约信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<!-- S0000008 : 业务所属机构 -->
<c-col :span="24">
<el-form-item label="业务所属机构" prop="cfabut.ownextkey">
<c-select v-model="model.cfabut.ownextkey" style="width:100%" placeholder="请输入业务所属机构"
:code="codes.ownextkey" disabled>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<c-checkbox v-model="model.cfabut.dclflg" class="checkbox-left" disabled>变动信息</c-checkbox>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" style="margin-left: 80px" type="primary" @click="toEadame">修改
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" @click="toEaddel">删除
</c-button>
</c-col>
<!-- <c-col :span="12">
<span v-text="model.cfabut.dcllab" data-path=".cfabut.dcllab"> </span>
</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> -->
<!-- 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/Eafinf/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="接口数据" name="sel">
<content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--eafp PD000001 外债远期信用证(含即期单证相符)-签约信息 -->
<el-tab-pane :label="$t('eafp.PD000001')" name="conp">
<content>
<m-conp :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--外债远期信用证(含即期单证相符)-变动信息(1) -->
<el-tab-pane label="外债远期信用证(含即期单证相符)-变动信息(1)" name="dclpp">
<content>
<m-dclpp :model="model" :codes="codes" />
</content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Eafinf from "~/model/Eafinf"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Eafinf/Check"
import Default from "~/model/Eafinf/Default"
import Pattern from "~/model/Eafinf/Pattern"
import Sel from "./Sel"
import Conp from "./Conp"
import Dclpp from "./Dclpp"
export default {
name: "Eafinf",
components: {
"m-sel": Sel,
"m-conp": Conp,
"m-dclpp": Dclpp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
trnName: "eafinf",
trnType: "",
model: new Eafinf().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
}
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入eafinf交易");
let rtnmsg = await this.init({})
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
}
}
</script>
<style>
</style>
...@@ -208,6 +208,11 @@ export default { ...@@ -208,6 +208,11 @@ export default {
{ inifrm: "eadadd", ininam: "增--外债海外代付", pntmiu: "28" }, { inifrm: "eadadd", ininam: "增--外债海外代付", pntmiu: "28" },
{ inifrm: "eadinf", ininam: "查--外债海外代付", pntmiu: "28" }, { inifrm: "eadinf", ininam: "查--外债海外代付", pntmiu: "28" },
{ inifrm: "eadame", ininam: "改--外债海外代付", pntmiu: "28" }, { inifrm: "eadame", ininam: "改--外债海外代付", pntmiu: "28" },
{ inifrm: "eaddel", ininam: "删--外债海外代付", pntmiu: "28" },
{ inifrm: "eafadd", ininam: "增 -- 外债远期信用证(含即期单证相符)", pntmiu: "28" },
{ inifrm: "eafinf", ininam: "查 -- 外债远期信用证(含即期单证相符)", pntmiu: "28" },
{ inifrm: "eafame", ininam: "改 -- 外债远期信用证(含即期单证相符)", pntmiu: "28" },
{ inifrm: "eafdel", ininam: "删 -- 外债远期信用证(含即期单证相符)", pntmiu: "28" },
// { inifrm: "3", ininam: "出口信用证", pntmiu: "" }, // { inifrm: "3", ininam: "出口信用证", pntmiu: "" },
// { inifrm: "infled", ininam: "出口信用证交易查询", pntmiu: "3" }, // { inifrm: "infled", ininam: "出口信用证交易查询", pntmiu: "3" },
......
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