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>
......
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