Commit 38da388a by liumin

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 9815ce77 808b3210
......@@ -11,6 +11,9 @@ export default class Dbcdel{
wrkdbl:{
trdtyp:"", // �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
......
import Utils from "~/utils"
/**
* Dbfame Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.outchargeamt" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcbgno" :null,
"recgrp.bas.custnm" :null,
"recgrp.bas.rptno" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.actuamt" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.bas.tenor" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.bas.actuccy" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.bas.custype" :null,
"recgrp.bas.outchargeccy" :null,
"bopbut.paydat" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
"recgrp.bas.issdate" :null,
"recgrp.bas.methods" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbfame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.bas.methods" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onButpSav(){
let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpSav(){
let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.bas.tenor":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"bopbut.paydat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbfame{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // .recp.baspp.cusnam
cornam:"", // .recp.baspp.cornam
corpnam:"", // .recp.baspp.corpnam
roptnam:"", // RoptNam .recp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .recp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .recp.baspp.lcyamtlab
acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
},
},
recgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recgrp.bas.actiontype
rptno:"", // 申报号码 .recgrp.bas.rptno
idcode:"", // 身份证件号码 .recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recgrp.bas.fcyacc
othamt:"", // 其它金额 .recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recgrp.bas.othacc
methods:"", // 结算方式 .recgrp.bas.methods
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 类型 .recgrp.bas.custype
actiondesc:"", // 操作类型 .recgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .recgrp.bas.exrate
lcyamt:"", // �'�汇金额 .recgrp.bas.lcyamt
custnm:"", // 收款人名称 .recgrp.bas.custnm
oppuser:"", // 付款人名称 .recgrp.bas.oppuser
custcod:"", // 组织机构 .recgrp.bas.custcod
txccy:"", // 付款币种及金额 .recgrp.bas.txccy
txamt:"", // 付款币种及金额 .recgrp.bas.txamt
actuccy:"", // 实际付款币种及金额 .recgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .recgrp.bas.actuamt
outchargeccy:"", // 扣费币种及金额 .recgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .recgrp.bas.outchargeamt
issdate:"", // 开证日期 .recgrp.bas.issdate
tenor:"", // 期限 .recgrp.bas.tenor
lcbgno:"", // 信用证/保函编号 .recgrp.bas.lcbgno
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
import Utils from "~/utils"
/**
* Dbfdel Check规则
*/
let checkObj = {
"recgrp.bas.othamt" :null,
"recgrp.bas.outchargeamt" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcbgno" :null,
"recgrp.bas.custnm" :null,
"recgrp.bas.rptno" :null,
"recgrp.bas.othacc" :null,
"recgrp.bas.oppuser" :null,
"recgrp.bas.txccy" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.actuamt" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.bas.tenor" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.bas.actuccy" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.bas.custype" :null,
"recgrp.bas.outchargeccy" :null,
"bopbut.paydat" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
"recgrp.bas.issdate" :null,
"recgrp.bas.methods" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbfdel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.bas.methods" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onButpSav(){
let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetreftmp(){
let rtnmsg = await this.executeRule("baspp.getreftmp")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpSav(){
let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutAdd(){
let rtnmsg = await this.executeRule("bopbut.add")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.outchargeamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.actuamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.issdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.bas.lcbgno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.bas.tenor":[
{type: "string", required: false, message: "必输项"},
{max: 10,message:"长度不能超过10"}
],
"bopbut.paydat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"bopbut.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Dbfdel{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // .recp.baspp.cusnam
cornam:"", // .recp.baspp.cornam
corpnam:"", // .recp.baspp.corpnam
roptnam:"", // RoptNam .recp.baspp.roptnam
exratelab:"", // �'�汇/结汇汇率 .recp.baspp.exratelab
lcyamtlab:"", // �'�汇/结汇金额 .recp.baspp.lcyamtlab
acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
},
},
recgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recgrp.bas.actiontype
rptno:"", // 申报号码 .recgrp.bas.rptno
idcode:"", // 身份证件号码 .recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recgrp.bas.fcyacc
othamt:"", // 其它金额 .recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recgrp.bas.othacc
methods:"", // 结算方式 .recgrp.bas.methods
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 类型 .recgrp.bas.custype
actiondesc:"", // 操作类型 .recgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .recgrp.bas.exrate
lcyamt:"", // �'�汇金额 .recgrp.bas.lcyamt
custnm:"", // 收款人名称 .recgrp.bas.custnm
oppuser:"", // 付款人名称 .recgrp.bas.oppuser
custcod:"", // 组织机构 .recgrp.bas.custcod
txccy:"", // 付款币种及金额 .recgrp.bas.txccy
txamt:"", // 付款币种及金额 .recgrp.bas.txamt
actuccy:"", // 实际付款币种及金额 .recgrp.bas.actuccy
actuamt:"", // 实际付款币种及金额 .recgrp.bas.actuamt
outchargeccy:"", // 扣费币种及金额 .recgrp.bas.outchargeccy
outchargeamt:"", // 扣费币种及金额 .recgrp.bas.outchargeamt
issdate:"", // 开证日期 .recgrp.bas.issdate
tenor:"", // 期限 .recgrp.bas.tenor
lcbgno:"", // 信用证/保函编号 .recgrp.bas.lcbgno
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
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
......@@ -245,6 +245,11 @@ import Dbwinf from "./Dbwinf"
import Eadadd from "./Eadadd"
import Eadinf from "./Eadinf"
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 Ebaame from "./Ebaame"
......@@ -260,6 +265,8 @@ import Dbeame from "./Dbeame"
import Dbedel from "./Dbedel"
import Dbeinf from "./Dbeinf"
import Dbfadd from "./Dbfadd"
import Dbfame from "./Dbfame"
import Dbfdel from "./Dbfdel"
import Dbfinf from "./Dbfinf"
......@@ -523,6 +530,11 @@ const BusRouter = [
{ path: 'Eadadd', component: Eadadd, name: 'Eadadd', meta: { title: '增 -- 外债海外代付' } },
{ path: 'Eadinf', component: Eadinf, name: 'Eadinf', 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: 'Ebaame', component: Ebaame, name: 'Ebaame', meta: { title: '改 -- 对外担保' } },
{ path: 'Ebadel', component: Ebadel, name: 'Ebadel', meta: { title: '删 -- 对外担保' } },
......@@ -536,6 +548,8 @@ const BusRouter = [
{ path: 'Dbedel', component: Dbedel, name: 'Dbedel', meta: { title: '境内汇款申请书(删除)' } },
{ path: 'Dbeinf', component: Dbeinf, name: 'Dbeinf', meta: { title: '境内汇款申请书(查询)' } },
{ path: 'Dbfadd', component: Dbfadd, name: 'Dbfadd', meta: { title: '境内付款/承兑通知书(新建)' } },
{ path: 'Dbfame', component: Dbfame, name: 'Dbfame', meta: { title: '境内付款/承兑通知书(修改)' } },
{ path: 'Dbfdel', component: Dbfdel, name: 'Dbfdel', meta: { title: '境内付款/承兑通知书(删除)' } },
{ path: 'Dbfinf', component: Dbfinf, name: 'Dbfinf', meta: { title: '境内付款/承兑通知书(查询)' } },
{ path: 'dzsys/:path', name: 'DzSys', meta: { title: (tag) => { return '电证 - ' + tag.params.title } } },
......
......@@ -31,6 +31,7 @@
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
disabled
>
</c-select>
</el-form-item>
......@@ -51,6 +52,7 @@
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
disabled
>
</c-select>
</el-form-item>
......@@ -85,6 +87,7 @@
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -163,7 +166,6 @@
v-model="model.recgrp.bas.issdate"
style="width: 100%"
placeholder="请选择开证日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -174,7 +176,6 @@
v-model="model.recgrp.bas.lcbgno"
maxlength="20"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -192,7 +193,6 @@
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -219,7 +219,6 @@
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
......@@ -297,7 +296,6 @@
<c-input
v-model="model.recgrp.bas.tenor"
placeholder="请输入期限"
disabled
></c-input>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox
disabled :checked="true"
v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
<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">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane :label="$t('dbcp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000001 对外付款/承兑通知书-申报信息 -->
<el-tab-pane :label="$t('dbcp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000002 对外付款/承兑通知书-核销信息 -->
<el-tab-pane :label="$t('dbcp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-page title="对外付款/承兑通知书(修改)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane label="对外付款/承兑通知书-基础信息" name="basp" v-if="model.bopbut.basflg">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbcame from "~/model/Dbcame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbcame/Check"
import Default from "~/model/Dbcame/Default"
import Pattern from "~/model/Dbcame/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbcame from "~/model/Dbcame";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbcame/Check";
import Default from "~/model/Dbcame/Default";
import Pattern from "~/model/Dbcame/Pattern";
import Selection from "./Selection";
import Basp from "./Basp";
import Dclp from "./Dclp";
import Vrfp from "./Vrfp";
export default {
name: "Dbcame",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbcame",
trnType: "",
model: new Dbcame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Dbcame",
components: {
"m-selection": Selection,
"m-basp": Basp,
"m-dclp": Dclp,
"m-vrfp": Vrfp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbcame",
model: new Dbcame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbcame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入dbcame交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="bopbut.paydat">
<c-date-picker type="date" v-model="model.bopbut.paydat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox
disabled :checked="true"
v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="bopbut.ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.bopbut.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onButpDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpExi">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
<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">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane :label="$t('dbcp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000001 对外付款/承兑通知书-申报信息 -->
<el-tab-pane :label="$t('dbcp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbcp PD000002 对外付款/承兑通知书-核销信息 -->
<el-tab-pane :label="$t('dbcp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-page title="对外付款/承兑通知书(删除)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane
label="对外付款/承兑通知书-基础信息"
name="basp"
v-if="model.bopbut.basflg"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbcdel from "~/model/Dbcdel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbcdel/Check"
import Default from "~/model/Dbcdel/Default"
import Pattern from "~/model/Dbcdel/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbcdel from "~/model/Dbcdel";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbcdel/Check";
import Default from "~/model/Dbcdel/Default";
import Pattern from "~/model/Dbcdel/Pattern";
import Selection from "./Selection";
import Basp from "./Basp";
import Dclp from "./Dclp";
import Vrfp from "./Vrfp";
export default {
name: "Dbcdel",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbcdel",
trnType: "",
model: new Dbcdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Dbcdel",
components: {
"m-selection": Selection,
"m-basp": Basp,
"m-dclp": Dclp,
"m-vrfp": Vrfp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbcdel",
model: new Dbcdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbcdel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入dbcdel交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!----------左边------------>
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model.recgrp.bas.rptno"
placeholder="请输入申报号码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
:disabled="model.recgrp.bas.rptno!=''"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -30,7 +41,7 @@
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
:code="codes.ownextkey"
>
</c-select>
</el-form-item>
......@@ -45,7 +56,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
......@@ -56,25 +67,25 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入款人名称"
placeholder="请输入款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入款人名称"
placeholder="请输入款人名称"
></c-input>
</el-form-item>
</c-col>
......@@ -114,43 +125,56 @@
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy">
<el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择款币种及金额"
placeholder="请选择收入款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<el-form-item
label=""
prop="recgrp.bas.txamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入款币种及金额"
placeholder="请输入收入款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<el-form-item
label="实付款币种及金额"
prop="recgrp.bas.actuccy"
>
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<el-form-item
label=""
prop="recgrp.bas.actuamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -178,7 +202,7 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
</c-col>
<!----------右边------------>
......@@ -214,7 +238,6 @@
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
<template slot="footer">
<c-checkbox
......@@ -230,15 +253,18 @@
</c-col>
<c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入汇汇率"
placeholder="请输入汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<el-form-item
label="人民币帐号/银行卡号"
prop="recgrp.bas.lcyacc"
>
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
......@@ -267,11 +293,14 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<el-form-item
label="国内银行扣费"
prop="recgrp.bas.inchargeccy"
>
<c-select
v-model="model.recgrp.bas.outchargeccy"
v-model="model.recgrp.bas.inchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
placeholder="请选择国内银行扣费"
:code="codes.curtxt1"
>
</c-select>
......@@ -281,18 +310,18 @@
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
prop="recgrp.bas.inchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
......@@ -300,7 +329,7 @@
disabled
></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox
disabled :checked="true"
v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
......@@ -24,7 +24,7 @@
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane
label="对外付款/承兑通知书-基础信息"
label="境内收入申报单-基础信息"
name="basp"
v-if="model.bopbut.basflg"
>
......@@ -48,6 +48,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbdadd from "~/model/Dbdadd";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbdadd/Check";
import Default from "~/model/Dbdadd/Default";
import Pattern from "~/model/Dbdadd/Pattern";
......@@ -67,7 +68,7 @@ export default {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
......
<template>
<div class="eibs-tab">
<!----------左边------------>
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<c-input
v-model="model.recgrp.bas.rptno"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -30,7 +29,7 @@
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
disabled
>
</c-select>
</el-form-item>
......@@ -45,36 +44,37 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入款人名称"
placeholder="请输入款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入款人名称"
placeholder="请输入款人名称"
></c-input>
</el-form-item>
</c-col>
......@@ -85,6 +85,7 @@
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -114,43 +115,56 @@
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy">
<el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择款币种及金额"
placeholder="请选择收入款币种及金额"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<el-form-item
label=""
prop="recgrp.bas.txamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入款币种及金额"
placeholder="请输入收入款币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<el-form-item
label="实付款币种及金额"
prop="recgrp.bas.actuccy"
>
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<el-form-item
label=""
prop="recgrp.bas.actuamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -178,7 +192,7 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
</c-col>
<!----------右边------------>
......@@ -192,7 +206,6 @@
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -219,7 +232,6 @@
<template slot="footer">
<c-checkbox
v-model="model.recp.baspp.acp"
disabled
style="margin-left: 10px;"
>确认</c-checkbox
>
......@@ -230,15 +242,18 @@
</c-col>
<c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入汇汇率"
placeholder="请输入汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<el-form-item
label="人民币帐号/银行卡号"
prop="recgrp.bas.lcyacc"
>
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
......@@ -267,11 +282,14 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<el-form-item
label="国内银行扣费"
prop="recgrp.bas.inchargeccy"
>
<c-select
v-model="model.recgrp.bas.outchargeccy"
v-model="model.recgrp.bas.inchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
placeholder="请选择国内银行扣费"
:code="codes.curtxt1"
>
</c-select>
......@@ -281,18 +299,18 @@
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
prop="recgrp.bas.inchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
......@@ -300,7 +318,7 @@
disabled
></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox
disabled :checked="true"
v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -119,3 +64,4 @@ export default {
<style>
</style>
\ No newline at end of file
<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">
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbdp PD000002 境内收入申报单-管理信息 -->
<el-tab-pane :label="$t('dbdp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-page title="境内收入申报单(删除)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane
label="境内收入申报单-基础信息"
name="basp"
v-if="model.bopbut.basflg"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbdame from "~/model/Dbdame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbdame/Check"
import Default from "~/model/Dbdame/Default"
import Pattern from "~/model/Dbdame/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbdame from "~/model/Dbdame";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbdame/Check";
import Default from "~/model/Dbdame/Default";
import Pattern from "~/model/Dbdame/Pattern";
import Basp from "./Basp";
import Vrfp from "./Vrfp";
import Selection from "./Selection";
export default {
name: "Dbdame",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbdame",
trnType: "",
model: new Dbdame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Dbdame",
components: {
"m-basp": Basp,
"m-vrfp": Vrfp,
"m-selection": Selection,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbdame",
model: new Dbdame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable,
},
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab);
/**
* do it yourself
**/
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbdame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
created: async function () {
console.log("进入dbdame交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!----------左边------------>
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<c-fullbox>
<c-input
v-model="model.recgrp.bas.rptno"
placeholder="请输入申报号码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
:disabled="model.recgrp.bas.rptno!=''"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -30,7 +41,7 @@
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
disabled
>
</c-select>
</el-form-item>
......@@ -41,40 +52,44 @@
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择类型"
:code="codes.custype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
placeholder="请输入收款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
placeholder="请输入付款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -85,6 +100,7 @@
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -93,6 +109,7 @@
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -101,6 +118,7 @@
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -109,48 +127,64 @@
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy">
<el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择款币种及金额"
placeholder="请选择收入款币种及金额"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<el-form-item
label=""
prop="recgrp.bas.txamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款币种及金额"
placeholder="请输入收入款币种及金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item label="实付款币种及金额" prop="recgrp.bas.actuccy">
<el-form-item
label="实付款币种及金额"
prop="recgrp.bas.actuccy"
>
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种及金额"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<el-form-item
label=""
prop="recgrp.bas.actuamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款币种及金额"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -178,7 +212,7 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
</c-col>
<!----------右边------------>
......@@ -192,7 +226,6 @@
show-word-limit
placeholder="请输入操作类型"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -203,6 +236,7 @@
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
disabled
>
</c-select>
</el-form-item>
......@@ -230,19 +264,24 @@
</c-col>
<c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
placeholder="请输入结汇汇率"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<el-form-item
label="人民币帐号/银行卡号"
prop="recgrp.bas.lcyacc"
>
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -252,6 +291,7 @@
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -261,18 +301,23 @@
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<el-form-item
label="国内银行扣费"
prop="recgrp.bas.inchargeccy"
>
<c-select
v-model="model.recgrp.bas.outchargeccy"
v-model="model.recgrp.bas.inchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
placeholder="请选择国内银行扣费"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
......@@ -281,18 +326,19 @@
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
prop="recgrp.bas.inchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
......@@ -300,7 +346,7 @@
disabled
></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
</div>
</template>
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker>
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox
disabled :checked="true"
v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="易类型" prop="ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'易类型'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......
<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">
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-tab-pane :label="$t('dbdp.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbdp PD000002 境内收入申报单-管理信息 -->
<el-tab-pane :label="$t('dbdp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
<c-page title="境内收入申报单(删除)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbcp PD000000 对外付款/承兑通知书-基础信息 -->
<el-tab-pane
label="境内收入申报单-基础信息"
name="basp"
v-if="model.bopbut.basflg"
>
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -23,6 +48,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbddel from "~/model/Dbddel"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbddel/Check"
import Default from "~/model/Dbddel/Default"
import Pattern from "~/model/Dbddel/Pattern"
......@@ -43,18 +69,18 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
tabVal: "selection",
trnName: "dbddel",
trnType: "",
model: new Dbddel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......@@ -72,7 +98,11 @@ export default {
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
//TODO 处理数据逻辑、
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
......
......@@ -57,7 +57,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<el-form-item label="款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
......@@ -69,26 +69,26 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<el-form-item label="款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入款人名称"
placeholder="请输入款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<el-form-item label="款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入款人名称"
placeholder="请输入款人名称"
disabled
></c-input>
</el-form-item>
......@@ -133,11 +133,11 @@
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="款币种及金额" prop="recgrp.bas.txccy">
<el-form-item label="收入款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择款币种及金额"
placeholder="请选择收入款币种及金额"
:code="codes.curtxt1"
disabled
>
......@@ -152,13 +152,13 @@
>
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入款币种及金额"
placeholder="请输入收入款币种及金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-col :span="13">
<el-form-item
label="实付款币种及金额"
......@@ -212,7 +212,7 @@
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col> -->
</c-col>
<!----------右边------------>
......@@ -265,10 +265,10 @@
</c-col>
<c-col :span="24">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<el-form-item label="汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入汇汇率"
placeholder="请输入汇汇率"
disabled
></c-input>
</el-form-item>
......@@ -310,13 +310,13 @@
<c-col :span="24">
<c-col :span="13">
<el-form-item
label="扣费币种及金额"
prop="recgrp.bas.outchargeccy"
label="国内银行扣费"
prop="recgrp.bas.inchargeccy"
>
<c-select
v-model="model.recgrp.bas.outchargeccy"
v-model="model.recgrp.bas.inchargeccy"
style="width: 100%"
placeholder="请选择扣费币种及金额"
placeholder="请选择国内银行扣费"
:code="codes.curtxt1"
disabled
>
......@@ -327,11 +327,11 @@
<c-col :span="11">
<el-form-item
label=""
prop="recgrp.bas.outchargeamt"
prop="recgrp.bas.inchargeamt"
label-width="5px"
>
<c-input
v-model="model.recgrp.bas.outchargeamt"
v-model="model.recgrp.bas.inchargeamt"
placeholder="请输入扣费币种及金额"
disabled
></c-input>
......@@ -339,7 +339,7 @@
</c-col>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
......@@ -347,7 +347,7 @@
disabled
></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
</div>
</template>
......
......@@ -35,6 +35,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbdinf from "~/model/Dbdinf"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbdinf/Check"
import Default from "~/model/Dbdinf/Default"
import Pattern from "~/model/Dbdinf/Pattern"
......@@ -55,7 +56,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selection",
......@@ -85,6 +86,9 @@ export default {
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
}
else
......
......@@ -20,7 +20,7 @@
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
......
......@@ -20,7 +20,7 @@
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
......
......@@ -21,7 +21,7 @@
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
......
......@@ -21,7 +21,7 @@
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
......
......@@ -15,12 +15,12 @@
<c-col :span="24">
<el-form-item
label="请选择接口数据"
label="请选择需要修改的接口数据"
prop="bopbut.basflg"
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
......
<template>
<div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
placeholder="请输入申报号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择付款人类型"
:code="codes.custype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
:disabled="model.recgrp.bas.custype == 'C'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实际付款币种及金额" prop="recgrp.bas.actuccy">
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-input
v-model="model.recgrp.bas.issdate"
placeholder="请输入开证日期"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入修改/删除原因"
:rows="7"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
:disabled="
model.recgrp.bas.custype == 'D' ||
model.recgrp.bas.custype == 'F'
"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.recp.baspp.acp" :checked="true"
>确认</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<c-select
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种"
:code="codes.curtxt1"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.outchargeamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.outchargeamt"
placeholder="请输入扣费金额"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="32"
placeholder="请输入信用证/保函编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
maxlength="32"
placeholder="请输入期限"
></c-input>
</el-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/Dbfame/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">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="请选择需要修改的接口数据"
prop="bopbut.basflg"
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select>
</el-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/Dbfame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="境内付款/承兑通知书(修改)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes" />
</el-tab-pane>
<!--dbfp PD000000 境内付款/承兑通知书-基础信息 -->
<el-tab-pane label="境内付款/承兑通知书-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbfame from "~/model/Dbfame";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbfame/Check";
import Default from "~/model/Dbfame/Default";
import Pattern from "~/model/Dbfame/Pattern";
import Basp from "./Basp";
import Selection from "./Selection";
export default {
name: "Dbfame",
components: {
"m-basp": Basp,
"m-selection": Selection,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbfame",
trnType: "",
model: new Dbfame().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("进入dbfame交易");
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">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-fullbox>
<c-input
v-model="model.recgrp.bas.rptno"
placeholder="请输入申报号码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
disabled
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
<c-select
v-model="model.recgrp.bas.actiontype"
style="width: 100%"
placeholder="请选择操作类型"
:code="codes.actiontype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input
v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人类型" prop="recgrp.bas.custype">
<c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择付款人类型"
:code="codes.custype"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款人名称" prop="recgrp.bas.custnm">
<c-input
type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入付款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
<c-input
type="textarea"
v-model="model.recgrp.bas.oppuser"
maxlength="63"
show-word-limit
placeholder="请输入收款人名称"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
<c-input
v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input
v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它金额" prop="recgrp.bas.othamt">
<c-input
v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="付款币种及金额" prop="recgrp.bas.txccy">
<c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择付款币种"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.txamt"
placeholder="请输入付款金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="实际付款币种及金额" prop="recgrp.bas.actuccy">
<c-select
v-model="model.recgrp.bas.actuccy"
style="width: 100%"
placeholder="请选择实际付款币种"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.actuamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.actuamt"
placeholder="请输入实际付款金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="开证日期" prop="recgrp.bas.issdate">
<c-input
v-model="model.recgrp.bas.issdate"
placeholder="请输入开证日期"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入修改/删除原因"
:rows="7"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-select
v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.recp.baspp.acp" disabled :checked="true"
>确认</c-checkbox
>
</c-col>
<c-col :span="24">
<el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input
v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-input
v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input
v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input
v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="13">
<el-form-item label="扣费币种及金额" prop="recgrp.bas.outchargeccy">
<c-select
v-model="model.recgrp.bas.outchargeccy"
style="width: 100%"
placeholder="请选择扣费币种"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="" prop="recgrp.bas.outchargeamt" label-width="5px">
<c-input
v-model="model.recgrp.bas.outchargeamt"
placeholder="请输入扣费金额"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="信用证/保函编号" prop="recgrp.bas.lcbgno">
<c-input
v-model="model.recgrp.bas.lcbgno"
maxlength="32"
placeholder="请输入信用证/保函编号"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="期限" prop="recgrp.bas.tenor">
<c-input
v-model="model.recgrp.bas.tenor"
maxlength="32"
placeholder="请输入期限"
disabled
></c-input>
</el-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/Dbfdel/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">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker
type="date"
v-model="model.ctlmod.dbl.reldat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="请选择需要修改的接口数据"
prop="bopbut.basflg"
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select>
</el-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/Dbfdel/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="境内付款/承兑通知书(删除)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes" />
</el-tab-pane>
<!--dbfp PD000000 境内付款/承兑通知书-基础信息 -->
<el-tab-pane label="境内付款/承兑通知书-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbfdel from "~/model/Dbfdel";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbfdel/Check";
import Default from "~/model/Dbfdel/Default";
import Pattern from "~/model/Dbfdel/Pattern";
import Basp from "./Basp";
import Selection from "./Selection";
export default {
name: "Dbfdel",
components: {
"m-basp": Basp,
"m-selection": Selection,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbfdel",
trnType: "",
model: new Dbfdel().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("进入dbfdel交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
</style>
......@@ -16,12 +16,12 @@
<c-col :span="24">
<el-form-item
label="请选择接口数据"
label="请选择需要修改的接口数据"
prop="bopbut.basflg"
class="checkbox-left"
>
<c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
>基础数据</c-checkbox
>基础信息</c-checkbox
>
</el-form-item>
</c-col>
......
......@@ -5,11 +5,15 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 -->
<el-tab-pane label="接口数据" name="sel">
<m-sel :model="model" :codes="codes" />
<content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--eadp PD000001 外债海外代付-签约信息 -->
<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 label="外债海外代付-变动信息" name="dclpp">
......
......@@ -5,11 +5,15 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 -->
<el-tab-pane label="接口数据" name="sel">
<m-sel :model="model" :codes="codes" />
<content>
<m-sel :model="model" :codes="codes" />
</content>
</el-tab-pane>
<!--eadp PD000001 外债海外代付-签约信息 -->
<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>
<!--外债海外代付-变动信息(1) -->
<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 {
{ inifrm: "eadadd", ininam: "增--外债海外代付", pntmiu: "28" },
{ inifrm: "eadinf", 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: "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