Commit f4746d4c by Wuyuqiu

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 bed5aa2e 742ceadf
......@@ -4,45 +4,29 @@ import Utils from "~/utils"
* Dbeinf Check规则
*/
let checkObj = {
"recp.recgrp.vrf.tc1amt" :null,
"bopbut.ctlmod.wrkdbl.trdtyp" :null,
"recp.recgrp.vrf.impdate" :null,
"recp.recgrp.bas.custnm" :null,
"recp.recgrp.vrf.invoino" :null,
"recp.recgrp.vrf.actiontype" :null,
"recp.recgrp.vrf.txcode" :null,
"recp.recgrp.vrf.rptdate" :null,
"recp.recgrp.bas.custype" :null,
"recp.recgrp.vrf.country" :null,
"recp.recgrp.bas.exrate" :null,
"recp.recgrp.bas.oppacc" :null,
"recp.recgrp.bas.rptno" :null,
"recp.recgrp.bas.txccy" :null,
"recp.recgrp.bas.othamt" :null,
"recp.recgrp.vrf.payattr" :null,
"recp.recgrp.vrf.txcode2" :null,
"recp.recgrp.bas.custcod" :null,
"recp.recgrp.bas.othacc" :null,
"recp.recgrp.vrf.tc2amt" :null,
"recgrp.bas.othamt" :null,
"recgrp.bas.actiontype" :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.exrate" :null,
"recgrp.bas.oppacc" :null,
"bopbut.acttyp" :null,
"recp.recgrp.bas.txamt" :null,
"recp.recgrp.vrf.inptelc" :null,
"recp.recgrp.bas.buscode" :null,
"recp.recgrp.bas.oppuser" :null,
"recp.recgrp.bas.actiontype" :null,
"recp.recgrp.vrf.contrno" :null,
"recp.recgrp.vrf.crtuser" :null,
"recp.recgrp.bas.lcyacc" :null,
"recp.recgrp.bas.idcode" :null,
"recp.recgrp.vrf.paytype" :null,
"recp.recgrp.vrf.cusmno" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.bas.txamt" :null,
"recgrp.bas.buscode" :null,
"recgrp.bas.custype" :null,
"bopbut.paydat" :null,
"recp.recgrp.bas.fcyamt" :null,
"recp.recgrp.bas.lcyamt" :null,
"recp.recgrp.bas.actiondesc" :null,
"recp.recgrp.bas.fcyacc" :null,
"recp.recgrp.vrf.isref" :null,
"recp.recgrp.bas.methods" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
"recgrp.bas.methods" :null,
}
for (const key in checkObj) {
......
......@@ -6,21 +6,17 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.tmpref" :Utils.defaultFunction,
"recgrp.bas.buscode" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.ctlmod.wrkdbl.trdtyp" :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,
"recp.recgrp.bas.ownextkey" :Utils.defaultFunction,
"recp.recgrp.bas.custype" :Utils.defaultFunction,
"recp.recgrp.vrf.paytype" :Utils.defaultFunction,
"recp.recgrp.bas.rptno" :Utils.defaultFunction,
"recp.recgrp.bas.buscode" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"recp.recgrp.vrf.country" :Utils.defaultFunction,
"recp.recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -86,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Sav(){
let rtnmsg = await this.executeRule("butp1.sav")
async onButpSav(){
let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -98,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Mod(){
let rtnmsg = await this.executeRule("butp1.mod")
async onButpMod(){
let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -134,44 +134,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Chk(){
let rtnmsg = await this.executeRule("butp1.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Del(){
let rtnmsg = await this.executeRule("butp1.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Err(){
let rtnmsg = await this.executeRule("butp1.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Exi(){
let rtnmsg = await this.executeRule("butp1.exi")
async onButpChk(){
let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -182,8 +146,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut(){
let rtnmsg = await this.executeRule("codsel1.selbut")
async onButpDel(){
let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -194,8 +158,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel2Selbut(){
let rtnmsg = await this.executeRule("codsel2.selbut")
async onButpErr(){
let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -206,8 +170,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodsel1Selbut1(){
let rtnmsg = await this.executeRule("codsel1.selbut1")
async onButpExi(){
let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
......
......@@ -24,11 +24,11 @@ export default {
"recp.recgrp.bas.rptno":[
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.bas.tmpref":[
"recgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
......@@ -37,143 +37,69 @@ export default {
"recp.recgrp.bas.actiondesc":[
"recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.buscode":[
"recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.bas.custcod":[
"recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"}
],
"recp.recgrp.bas.custnm":[
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recp.recgrp.bas.oppuser":[
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recp.recgrp.bas.idcode":[
"recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.exrate":[
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recp.recgrp.bas.lcyamt":[
"recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.lcyacc":[
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.fcyamt":[
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.fcyacc":[
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.othamt":[
"recgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.othacc":[
"recgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.bas.txamt":[
"recgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.oppacc":[
"recgrp.bas.oppacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.vrf.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recp.recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.vrf.actiontype":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recp.recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.vrf.ownextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recp.recgrp.vrf.tc1amt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.vrf.tc2amt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.vrf.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.vrf.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recp.recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recp.recgrp.vrf.cusmno":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recp.recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
}
\ No newline at end of file
......@@ -7,11 +7,6 @@ export default class Dbeinf{
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp
},
},
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
......@@ -20,6 +15,11 @@ export default class Dbeinf{
paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
},
recp:{
baspp:{
cusnam:"", // .recp.baspp.cusnam
......@@ -31,58 +31,31 @@ export default class Dbeinf{
acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
},
recgrp:{
bas:{
tmpref:"", // �'时申报流�'号 .recp.recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.bas.actiontype
rptno:"", // 申报号码 .recp.recgrp.bas.rptno
idcode:"", // 身份证件号码 .recp.recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recp.recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recp.recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recp.recgrp.bas.fcyacc
othamt:"", // 其它金额 .recp.recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recp.recgrp.bas.othacc
methods:"", // 结算方式 .recp.recgrp.bas.methods
buscode:"", // 银行业务编号 .recp.recgrp.bas.buscode
custype:"", // 类型 .recp.recgrp.bas.custype
actiondesc:"", // 操作类型 .recp.recgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .recp.recgrp.bas.exrate
lcyamt:"", // �'�汇金额 .recp.recgrp.bas.lcyamt
custnm:"", // 汇款人名称 .recp.recgrp.bas.custnm
oppuser:"", // 收款人名称 .recp.recgrp.bas.oppuser
custcod:"", // 组织机构 .recp.recgrp.bas.custcod
txccy:"", // 汇款币种和金额 .recp.recgrp.bas.txccy
txamt:"", // 汇款币种和金额 .recp.recgrp.bas.txamt
oppacc:"", // 收款人账号 .recp.recgrp.bas.oppacc
},
vrf:{
tmpref:"", // 临时申报编号 .recp.recgrp.vrf.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.vrf.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.vrf.actiontype
actiondesc:"", // 修改/删除原因 .recp.recgrp.vrf.actiondesc
rptno:"", // RoptNam .recp.recgrp.vrf.rptno
crtuser:"", // 填报人 .recp.recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recp.recgrp.vrf.inptelc
rptdate:"", // 申报日期 .recp.recgrp.vrf.rptdate
isref:"", // 是否进口核销项下付款 .recp.recgrp.vrf.isref
payattr:"", // 付汇性�'� .recp.recgrp.vrf.payattr
paytype:"", // 付款类型 .recp.recgrp.vrf.paytype
tc1amt:"", // 相应金额1 .recp.recgrp.vrf.tc1amt
tc2amt:"", // 相应金额2 .recp.recgrp.vrf.tc2amt
impdate:"", // 最迟装运日期 .recp.recgrp.vrf.impdate
contrno:"", // 合同号 .recp.recgrp.vrf.contrno
invoino:"", // 发票号 .recp.recgrp.vrf.invoino
cusmno:"", // 报关单经营单位编码 .recp.recgrp.vrf.cusmno
txcode:"", // 交易编码1 .recp.recgrp.vrf.txcode
txcode2:"", // 交易编码2 .recp.recgrp.vrf.txcode2
country:"", // 收款人常驻国家/地区编码 .recp.recgrp.vrf.country
regno:"", // 外汇局批件/备案表号 .recp.recgrp.vrf.regno
},
},
vrfpp:{
roptnam:"", // RoptNam .recp.vrfpp.roptnam
acp:"", // 确认 .recp.vrfpp.acp
},
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
oppacc:"", // 收款人账号 .recgrp.bas.oppacc
},
},
pageId: "" // ctx的key
......
import Utils from "~/utils"
/**
* Dbjadd Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.fcyccy" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.usetype" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.vrf.usedetail" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbjadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
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.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.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.usedetail":[
{type: "string", required: true, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{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 Dbjadd{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 结汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 人民币帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // 结汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 人民币收款人名称 .recgrp.bas.oppuser
custcod:"", // 结汇申请人组织机构代码 .recgrp.bas.custcod
exrate:"", // 汇率 .recgrp.bas.exrate
fcyccy:"", // 结汇币种及金额 .recgrp.bas.fcyccy
fcyamt:"", // 结汇币种及金额 .recgrp.bas.fcyamt
},
vrf:{
regno:"", // 交易编码 .recgrp.vrf.regno
usetype:"", // 结汇用途 .recgrp.vrf.usetype
usedetail:"", // 结汇详细用途 .recgrp.vrf.usedetail
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
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"
/**
* Dbjame Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.fcyccy" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.usetype" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.vrf.usedetail" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbjame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBasppGetref(){
let rtnmsg = await this.executeRule("baspp.getref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
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.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.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.usedetail":[
{type: "string", required: true, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{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 Dbjame{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 结汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 人民币帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // 结汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 人民币收款人名称 .recgrp.bas.oppuser
custcod:"", // 结汇申请人组织机构代码 .recgrp.bas.custcod
exrate:"", // 汇率 .recgrp.bas.exrate
fcyccy:"", // 结汇币种及金额 .recgrp.bas.fcyccy
fcyamt:"", // 结汇币种及金额 .recgrp.bas.fcyamt
},
vrf:{
regno:"", // 交易编码 .recgrp.vrf.regno
usetype:"", // 结汇用途 .recgrp.vrf.usetype
usedetail:"", // 结汇详细用途 .recgrp.vrf.usedetail
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
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"
/**
* Dbjdel Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.fcyccy" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.fcyamt" :null,
"recgrp.vrf.usetype" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.vrf.usedetail" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbjdel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
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 onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
}
\ No newline at end of file
export default {
"recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.usedetail":[
{type: "string", required: true, message: "必输项"},
{max: 100,message:"长度不能超过100"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"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.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ],
"recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"}
],
"ctlmod.dbl.reldat":[
{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 Dbjdel{
constructor () {
this.data = {
recgrp:{
vrf:{
regno:"", // 交易编码 .recgrp.vrf.regno
usetype:"", // 结汇用途 .recgrp.vrf.usetype
usedetail:"", // 结汇详细用途 .recgrp.vrf.usedetail
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 结汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 人民币帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // 结汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 人民币收款人名称 .recgrp.bas.oppuser
custcod:"", // 结汇申请人组织机构代码 .recgrp.bas.custcod
exrate:"", // 汇率 .recgrp.bas.exrate
fcyccy:"", // 结汇币种及金额 .recgrp.bas.fcyccy
fcyamt:"", // 结汇币种及金额 .recgrp.bas.fcyamt
},
},
recp:{
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
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"
/**
* Dbwadd Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcyccy" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbwadd Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recgrp.bas.ownextkey" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
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 onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
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.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.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, 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.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{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 Dbwadd{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // �'�汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 外汇帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // �'�汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 外汇收款人名称 .recgrp.bas.oppuser
custcod:"", // �'�汇申请人组织机构代码 .recgrp.bas.custcod
lcyamt:"", // 购汇金额(人民币) .recgrp.bas.lcyamt
exrate:"", // 汇率 .recgrp.bas.exrate
lcyccy:"", // 购汇币种 .recgrp.bas.lcyccy
},
vrf:{
regno:"", // 外汇局批件号/备 .recgrp.vrf.regno
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
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"
/**
* Dbwame Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcyccy" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbwame Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
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 onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
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.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.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, 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.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{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 Dbwame{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // �'�汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 外汇帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // �'�汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 外汇收款人名称 .recgrp.bas.oppuser
custcod:"", // �'�汇申请人组织机构代码 .recgrp.bas.custcod
lcyamt:"", // 购汇金额(人民币) .recgrp.bas.lcyamt
exrate:"", // 汇率 .recgrp.bas.exrate
lcyccy:"", // 购汇币种 .recgrp.bas.lcyccy
},
vrf:{
regno:"", // 外汇局批件号/备 .recgrp.vrf.regno
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
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"
/**
* Dbwdel Check规则
*/
let checkObj = {
"recgrp.vrf.txcode" :null,
"recgrp.bas.actiontype" :null,
"recgrp.bas.lcyccy" :null,
"recgrp.vrf.regno" :null,
"recgrp.bas.custnm" :null,
"recgrp.vrf.actiontype" :null,
"recgrp.bas.rptno" :null,
"ctlmod.dbl.reldat" :null,
"recgrp.bas.oppuser" :null,
"ctlmod.wrkdbl.trdtyp" :null,
"recgrp.bas.exrate" :null,
"bopbut.acttyp" :null,
"recgrp.bas.lcyacc" :null,
"recgrp.bas.idcode" :null,
"recgrp.vrf.crtuser" :null,
"recgrp.bas.fcyacc" :null,
"recgrp.bas.custcod" :null,
"recgrp.bas.buscode" :null,
"recgrp.vrf.actiondesc" :null,
"recgrp.bas.oppbank" :null,
"recgrp.bas.custype" :null,
"recgrp.vrf.rptdate" :null,
"recgrp.vrf.inptelc" :null,
"recgrp.bas.actiondesc" :null,
"recgrp.bas.lcyamt" :null,
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Dbwdel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"recp.baspp.acp" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction,
"recgrp.bas.rptno" :Utils.defaultFunction,
"recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"recgrp.bas.actiontype" :Utils.defaultFunction,
"recgrp.vrf.actiontype" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"ctlmod.dbl.reldat" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction,
"recgrp.vrf.rptdate" :Utils.defaultFunction,
"recgrp.bas.custcod" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
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 onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onCodselSelbut(){
let rtnmsg = await this.executeRule("codsel.selbut")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutSav(){
let rtnmsg = await this.executeRule("bopbut.sav")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutMod(){
let rtnmsg = await this.executeRule("bopbut.mod")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutChk(){
let rtnmsg = await this.executeRule("bopbut.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBopbutDel(){
let rtnmsg = await this.executeRule("bopbut.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 onBopbutExt(){
let rtnmsg = await this.executeRule("bopbut.ext")
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.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.idcode":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"}
],
"recgrp.bas.oppbank":[
{type: "string", required: true, 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.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"ctlmod.dbl.reldat":[
{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 Dbwdel{
constructor () {
this.data = {
recp:{
baspp:{
cusnam:"", // 结/�'�汇申请人主体类型 .recp.baspp.cusnam
cornam:"", // 结/�'�汇申请人名称 .recp.baspp.cornam
corpnam:"", // 人民币/外汇收款人名称 .recp.baspp.corpnam
corbnam:"", // 人民币/外汇�'�户开户行 .recp.baspp.corbnam
acp:"", // 确认 .recp.baspp.acp
},
vrfpp:{
acp:"", // 确认 .recp.vrfpp.acp
},
},
recgrp:{
bas:{
rptno:"", // 申报号码 .recgrp.bas.rptno
actiontype:"", // 操作类型 .recgrp.bas.actiontype
buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // �'�汇申请人主体类型 .recgrp.bas.custype
idcode:"", // 个人身份证件号码 .recgrp.bas.idcode
oppbank:"", // 外汇帐户开户行 .recgrp.bas.oppbank
lcyacc:"", // 人民币账户账号 .recgrp.bas.lcyacc
fcyacc:"", // 外汇账户账号 .recgrp.bas.fcyacc
ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiondesc:"", // 删除原因 .recgrp.bas.actiondesc
custnm:"", // �'�汇申请人名称 .recgrp.bas.custnm
oppuser:"", // 外汇收款人名称 .recgrp.bas.oppuser
custcod:"", // �'�汇申请人组织机构代码 .recgrp.bas.custcod
lcyamt:"", // 购汇金额(人民币) .recgrp.bas.lcyamt
exrate:"", // 汇率 .recgrp.bas.exrate
lcyccy:"", // 购汇币种 .recgrp.bas.lcyccy
},
vrf:{
regno:"", // 外汇局批件号/备 .recgrp.vrf.regno
txcode:"", // 交易编码 .recgrp.vrf.txcode
rptno:"", // 申报号码 .recgrp.vrf.rptno
actiontype:"", // 操作类型 .recgrp.vrf.actiontype
actiondesc:"", // 删除原因 .recgrp.vrf.actiondesc
rptdate:"", // 申报日期 .recgrp.vrf.rptdate
crtuser:"", // 填报人 .recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recgrp.vrf.inptelc
},
},
bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab
basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg
ackflg:"", // 申报无误 .bopbut.ackflg
actiondesc:"", // 修改/删除原因 .bopbut.actiondesc
acttyp:"", // 款项标志 .bopbut.acttyp
},
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
dbl:{
reldat:"", // 收付汇日期 .ctlmod.dbl.reldat
},
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-row>
<!-- <c-row> -->
<!--=================顶部================= -->
<c-col :span="24">
<!-- S0000002 : 定价审批代码 -->
<c-col :span="11">
<c-form-item label="定价审批代码" prop="bptmod.finmod.dinmod.dinjdm">
<c-input
v-model="model.bptmod.finmod.dinmod.dinjdm"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
<c-col :span="12" style="padding-right: 20px">
<!-- S0000002 : 定价审批代码 -->
<c-col :span="24">
<c-form-item label="定价审批代码" prop="bptmod.finmod.dinmod.dinjdm">
<c-input
v-model="model.bptmod.finmod.dinmod.dinjdm"
maxlength="20"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
</c-col>
<!-- S0000039 : 审批流程发起标识 -->
<c-col :span="11">
<el-form-item
label="审批流程发起标识"
prop="bptmod.finmod.dinmod.rmbsbs"
>
<c-select
v-model="model.bptmod.finmod.dinmod.rmbsbs"
style="width: 100%"
:disabled="true"
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24">
<el-form-item
label="审批流程发起标识"
prop="bptmod.finmod.dinmod.rmbsbs"
>
</c-select>
</el-form-item>
<c-select
v-model="model.bptmod.finmod.dinmod.rmbsbs"
style="width: 100%"
:disabled="true"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- S0000003 : 定价流水号 -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="定价流水号" prop="bptmod.finmod.dinmod.dinjls">
<c-input
v-model="model.bptmod.finmod.dinmod.dinjls"
......@@ -43,7 +46,7 @@
<!-- S0000042 : 市场LPR期限品种 -->
<c-col :span="11">
<c-col :span="12" style="padding-left: 20px">
<el-form-item
label="市场LPR期限品种"
prop="bptmod.finmod.dinmod.lprtyp"
......@@ -56,13 +59,13 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- </c-col> -->
<!--=================中部================= -->
<c-col :span="15">
<!-- <c-col :span="15"> -->
<!-- S0000004 : OC客户代码 -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="OC客户代码" prop="bptmod.finmod.dinmod.ockhdm">
<c-input
v-model="model.bptmod.finmod.dinmod.ockhdm"
......@@ -73,7 +76,7 @@
</c-col>
<!-- S0000005 : 核心客户代码 -->
<c-col :span="24">
<c-col :span="12" style="padding-left: 20px">
<c-form-item label="核心客户代码" prop="bptmod.finmod.dinmod.hxkhdm">
<c-input
v-model="model.bptmod.finmod.dinmod.hxkhdm"
......@@ -84,7 +87,7 @@
</c-col>
<!-- S0000006 : 授信批复代码 -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="授信批复代码" prop="bptmod.finmod.dinmod.sxpfdm">
<c-input
v-model="model.bptmod.finmod.dinmod.sxpfdm"
......@@ -95,7 +98,7 @@
</c-col>
<!-- S0000007 : 合同号 -->
<c-col :span="24">
<c-col :span="12" style="padding-left: 20px">
<c-form-item label="合同号" prop="bptmod.finmod.dinmod.djhtno">
<c-input
v-model="model.bptmod.finmod.dinmod.djhtno"
......@@ -106,7 +109,7 @@
</c-col>
<!-- S0000008 : 授信类型 -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="授信类型" prop="bptmod.finmod.dinmod.sxlexi">
<c-input
v-model="model.bptmod.finmod.dinmod.sxlexi"
......@@ -117,7 +120,7 @@
</c-col>
<!-- S0000009 : 审批状态 -->
<c-col :span="24">
<c-col :span="12" style="padding-left: 20px">
<c-form-item label="审批状态" prop="bptmod.finmod.dinmod.spzhta">
<c-input
v-model="model.bptmod.finmod.dinmod.spzhta"
......@@ -128,7 +131,7 @@
</c-col>
<!-- S0000010 : 产品代码 -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<c-form-item label="产品代码" prop="bptmod.finmod.dinmod.chapdm">
<c-input
v-model="model.bptmod.finmod.dinmod.chapdm"
......@@ -139,7 +142,7 @@
</c-col>
<!-- S0000021 : 产品名称 -->
<c-col :span="24">
<c-col :span="12" style="padding-left: 20px">
<c-form-item label="产品名称" prop="bptmod.finmod.dinmod.chapmc">
<c-input
v-model="model.bptmod.finmod.dinmod.chapmc"
......@@ -150,7 +153,7 @@
</c-col>
<!-- S0000035 : 拟定价格标识 -->
<c-col :span="24">
<c-col :span="12" style="padding-right: 20px">
<el-form-item label="拟定价格标识" prop="bptmod.finmod.dinmod.ndjgbs">
<c-select
v-model="model.bptmod.finmod.dinmod.ndjgbs"
......@@ -160,10 +163,14 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="18">
<el-form-item label="" prop="" style="width: 100%"> </el-form-item>
</c-col>
<!-- </c-col> -->
<!--=================左下================= -->
<c-col :span="11">
<c-col :span="12" style="padding-right: 20px">
<!-- S0000012 : 贷款金额 -->
<c-col :span="24">
......@@ -197,16 +204,7 @@
</c-form-item>
</c-col>
<!-- S0000017 : 最小贷款期限 -->
<c-col :span="12">
<c-form-item label="最小贷款期限" prop="bptmod.finmod.dinmod.minqix">
<c-input
v-model="model.bptmod.finmod.dinmod.minqix"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000013 : 币种 -->
......@@ -241,6 +239,17 @@
></c-input>
</c-form-item>
</c-col>
<!-- S0000017 : 最小贷款期限 -->
<c-col :span="24">
<c-form-item label="最小贷款期限" prop="bptmod.finmod.dinmod.minqix">
<c-input
v-model="model.bptmod.finmod.dinmod.minqix"
:disabled="true"
></c-input>
</c-form-item>
</c-col>
<!-- S0000015 : 期限单位 -->
<c-col :span="24">
......@@ -254,7 +263,7 @@
</c-col>
</c-col>
<!--=================右下================= -->
<c-col :span="11">
<c-col :span="12" style="padding-left: 20px">
<!-- S0000038 : 增值税税率 -->
<c-col :span="24">
......@@ -354,7 +363,7 @@
</c-form-item>
</c-col>
</c-col>
</c-row>
<!-- </c-row> -->
</div>
</template>
<script>
......
......@@ -11,7 +11,15 @@
model.bpdgrp.rec.fintyp == 'G' ||
model.bpdgrp.rec.fintyp == 'V'
" -->
<el-collapse-item title="福费廷" name="urpp">
<el-collapse-item
title="福费廷"
name="urpp"
v-if="
model.bpdgrp.rec.fintyp == 'F' ||
model.bpdgrp.rec.fintyp == 'U' ||
model.bpdgrp.rec.fintyp == 'G' ||
model.bpdgrp.rec.fintyp == 'V'
">
<m-urpp :model="model" :codes="codes" />
</el-collapse-item>
......@@ -20,12 +28,12 @@
</el-collapse-item>
<!-- v-if="model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='U'" -->
<el-collapse-item title="收账通知" name="docpan1">
<el-collapse-item title="收账通知" name="docpan1" v-if="model.bpdgrp.rec.fintyp=='F' || model.bpdgrp.rec.fintyp=='U'">
<m-docpan1 :model="model" :codes="codes" />
</el-collapse-item>
<!-- v-if="model.bpdgrp.cbs.max.cur!='CNY'" -->
<el-collapse-item title="国内外汇贷款数据采集" name="cfap">
<el-collapse-item title="国内外汇贷款数据采集" name="cfap" v-if="model.bpdgrp.cbs.max.cur!='CNY'">
<m-cfap :model="model" :codes="codes" />
</el-collapse-item>
......@@ -35,7 +43,7 @@
</el-collapse-item>
<!-- v-if="model.cfabpt.cfaflg=='1'" -->
<el-collapse-item title="国内外汇贷款-变动信息" name="dclpp">
<el-collapse-item title="国内外汇贷款-变动信息" name="dclpp" v-if="model.cfabpt.cfaflg=='1'">
<m-dclpp :model="model" :codes="codes" />
</el-collapse-item>
......
......@@ -244,6 +244,7 @@ import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
import Addbcb from "./Addbcb";
import Docpan from "~/views/Public/Docpan";
// import Docpan1 from "./Docpan1";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
import Cnyp from "./Cnyp";
......
......@@ -218,6 +218,14 @@ import Dbcinf from "./Dbcinf"
import Dbcadd from "./Dbcadd"
import Dbdinf from "./Dbdinf"
import Cfasel from "./Cfasel"
import Dbjadd from "./Dbjadd"
import Dbjdel from "./Dbjdel"
import Dbjame from "./Dbjame"
import Dbjinf from "./Dbjinf"
import Dbwadd from "./Dbwadd"
import Dbwdel from "./Dbwdel"
import Dbwame from "./Dbwame"
import Dbwinf from "./Dbwinf"
import Ebaadd from "./Ebaadd"
import Ebaame from "./Ebaame"
......@@ -229,6 +237,7 @@ import Ecadel from "./Ecadel"
import Ecainf from "./Ecainf"
import Dbeadd from "./Dbeadd"
import Dbeinf from "./Dbeinf"
......@@ -464,6 +473,15 @@ const BusRouter = [
{ path: 'Dbcadd', component: Dbcadd, name: 'Dbcadd', meta: { title: '对外付款/承兑通知书(新建)' } },
{ path: 'Dbdinf', component: Dbdinf, name: 'Dbdinf', meta: { title: '境内收入申报单(查询)' } },
{ path: 'Cfasel', component: Cfasel, name: 'Cfasel', meta: { title: '申报查询入口' } },
{ path: 'Dbjadd', component: Dbjadd, name: 'Dbjadd', meta: { title: '外汇账户内结汇(新建)' } },
{ path: 'Dbjdel', component: Dbjdel, name: 'Dbjdel', meta: { title: '外汇账户内结汇(删除)' } },
{ path: 'Dbjame', component: Dbjame, name: 'Dbjame', meta: { title: '外汇账户内结汇(修改)' } },
{ path: 'Dbjinf', component: Dbjinf, name: 'Dbjinf', meta: { title: '外汇账户内结汇(查询)' } },
{ path: 'Dbwadd', component: Dbwadd, name: 'Dbwadd', meta: { title: '外汇账户内购汇(新建)' } },
{ path: 'Dbwdel', component: Dbwdel, name: 'Dbwdel', meta: { title: '外汇账户内购汇(删除)' } },
{ path: 'Dbwame', component: Dbwame, name: 'Dbwame', meta: { title: '外汇账户内购汇(修改)' } },
{ path: 'Dbwinf', component: Dbwinf, name: 'Dbwinf', 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: '删 -- 对外担保' } },
......@@ -473,6 +491,7 @@ const BusRouter = [
{ path: 'Ecadel', component: Ecadel, name: 'Ecadel', meta: { title: '删 -- 国内外汇贷款' } },
{ path: 'Ecainf', component: Ecainf, name: 'Ecainf', meta: { title: '查 -- 国内外汇贷款' } },
{ path: 'Dbeadd', component: Dbeadd, name: 'Dbeadd', meta: { title: '境内汇款申请书(新建)' } },
{ path: 'Dbeinf', component: Dbeinf, name: 'Dbeinf', meta: { title: '境内汇款申请书(查询)' } },
{ path: 'dzsys/:path', name: 'DzSys', meta: { title: (tag) => { return '电证 - ' + tag.params.title } } },
]
......
<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="bopbut.paydat">
<c-date-picker
type="date"
v-model="model.bopbut.paydat"
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="bopbut.ctlmod.wrkdbl.trdtyp">
<c-select v-model="model.bopbut.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'�'�易类型'">
</c-select>
</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 :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>
</div>
</template>
<script>
......
<template>
<div class="eContainer">
<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="$t('bopbut.PD000000')" name="selection">
<m-selection :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbep PD000000 境内汇款申请书-基础信息 -->
<el-tab-pane :label="$t('dbep.PD000000')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbep PD000002 境内汇款申请书-核销信息 -->
<el-tab-pane :label="$t('dbep.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="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="接口数据" name="selection">
<m-selection :model="model" :codes="codes" />
</el-tab-pane>
<!--dbep PD000000 境内汇款申请书-基础信息 -->
<el-tab-pane label="境内汇款申请书-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-tabs>
</el-form>
</c-page>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbeinf from "~/model/Dbeinf"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbeinf/Check"
import Default from "~/model/Dbeinf/Default"
import Pattern from "~/model/Dbeinf/Pattern"
import Selection from "./Selection"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Dbeinf from "~/model/Dbeinf";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Dbeinf/Check";
import Default from "~/model/Dbeinf/Default";
import Pattern from "~/model/Dbeinf/Pattern";
import Selection from "./Selection";
import Basp from "./Basp";
export default {
name: "Dbeinf",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbeinf",
trnType: "",
model: new Dbeinf().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
name: "Dbeinf",
components: {
"m-selection": Selection,
"m-basp": Basp,
},
provide() {
return {
root: this,
};
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbeinf",
trnType: "",
model: new Dbeinf().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("进入dbeinf交易");
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("进入dbeinf交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000015')" prop="recgrp.bas.rptno">
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000015')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.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="onBasppGetref">
{{$t('bassp.C0000038')}}
</c-button>
</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="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<!-- S0000016 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000016')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000016')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000039 : 地区机构号 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000039')" prop="recgrp.bas.ownextkey">
<c-select v-model="model.recgrp.bas.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000039')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.baspp.acp">{{$t('bassp.C0000029')}}</c-checkbox>
</c-col>
<!-- S0000018 : 银行业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000018')" prop="recgrp.bas.buscode">
<c-input v-model="model.recgrp.bas.buscode" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000018')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="结汇申请人组织机构代码" prop="recgrp.bas.custcod">
<c-input v-model="model.recgrp.bas.custcod" maxlength="18" :placeholder="$t('other.please_enter')+'结汇申请人组织机构代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cusnam" data-path=".recp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇申请人主体类型" prop="recgrp.bas.custype">
<c-select v-model="model.recgrp.bas.custype" style="width:100%" :placeholder="$t('other.please_enter')+'结汇申请人主体类型'">
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 组织机构代码 -->
<!-- S0000026 : 个人身份证件号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000026')" prop="recgrp.bas.idcode">
<c-input v-model="model.recgrp.bas.idcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000026')"></c-input>
</c-form-item>
</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-form-item label="结汇申请人名称" prop="recgrp.bas.custnm">
<c-input type="textarea" v-model="model.recgrp.bas.custnm" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'结汇申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cornam" data-path=".recp.baspp.cornam" > </span>
</c-col>
<!-- S0000034 : 外汇账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000034')" prop="recgrp.bas.fcyacc">
<c-input v-model="model.recgrp.bas.fcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000033 : 人民币账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000033')" prop="recgrp.bas.lcyacc">
<c-input v-model="model.recgrp.bas.lcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000033')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="人民币收款人名称" prop="recgrp.bas.oppuser">
<c-input type="textarea" v-model="model.recgrp.bas.oppuser" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'人民币收款人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corpnam" data-path=".recp.baspp.corpnam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corbnam" data-path=".recp.baspp.corbnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="人民币帐户开户行" prop="recgrp.bas.oppbank">
<c-input type="textarea" v-model="model.recgrp.bas.oppbank" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'人民币帐户开户行'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000050 : 结汇币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyccy">
<c-select v-model="model.recgrp.bas.fcyccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyamt">
<c-input v-model="model.recgrp.bas.fcyamt" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')"></c-input>
</c-form-item>
</c-col>
<!-- S0000053 : 汇率 -->
<c-col :span="12">
<c-form-item label="汇率" prop="recgrp.bas.exrate">
<c-input v-model="model.recgrp.bas.exrate" :placeholder="$t('other.please_enter')+'汇率'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs">
<!-- ======================= 左边 ========================= -->
<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>
<!-- ======================= 右边 ========================= -->
<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="请输入款项去向"
disabled
:code="codes.acttyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<!-- 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>
</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>
</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> -->
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbjadd/Event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000017 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000017')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000017')"></c-input>
</c-form-item>
</c-col>
<!-- S0000029 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'删除原因'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000028 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000028')" prop="recgrp.vrf.actiontype">
<c-select v-model="model.recgrp.vrf.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000028')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000044 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000042')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbjp.S0000042')"></c-input>
</c-form-item>
</c-col>
<!-- S0000042 : 交易编码 -->
<c-col :span="12">
<c-form-item label="交易编码" prop="recgrp.vrf.txcode">
<c-input v-model="model.recgrp.vrf.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
</c-col>
<!-- S0000045 : 案表号/业务编号 -->
<!-- S0000047 : 结汇用途 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000047')" prop="recgrp.vrf.usetype">
<c-select v-model="model.recgrp.vrf.usetype" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000047')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbjp.C0000056')}}</c-checkbox>
</c-col>
<!-- S0000052 : 结汇详细用途 -->
<c-col :span="12">
<c-form-item label="结汇详细用途" prop="recgrp.vrf.usedetail">
<c-input type="textarea" v-model="model.recgrp.vrf.usedetail" maxlength="100" show-word-limit :placeholder="$t('other.please_enter')+'结汇详细用途'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000002')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000002')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000003 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000003')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 填报人电话 -->
<c-col :span="12">
<c-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+'填报人电话'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjadd/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<c-page title="汇出汇款">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="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="接口数据" name="selection">
<c-content>
<m-selection :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane label="外汇账户内结汇-基础信息" name="basp">
<c-content>
<m-basp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
<!--dbjp PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane label=" 外汇账户内结汇-管理信息" name="vrfp">
<c-content>
<m-vrfp :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 Dbjadd from "~/model/Dbjadd"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbjadd/Check"
import Default from "~/model/Dbjadd/Default"
import Pattern from "~/model/Dbjadd/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
export default {
name: "Dbjadd",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selection",
trnName: "dbjadd",
trnType: "",
model: new Dbjadd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbjadd交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000015')" prop="recgrp.bas.rptno">
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000015')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.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="onBasppGetref">
{{$t('bassp.C0000038')}}
</c-button>
</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="onBopbutChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<!-- S0000016 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000016')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000016')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000039 : 地区机构号 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000039')" prop="recgrp.bas.ownextkey">
<c-select v-model="model.recgrp.bas.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000039')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.baspp.acp">{{$t('bassp.C0000029')}}</c-checkbox>
</c-col>
<!-- S0000018 : 银行业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000018')" prop="recgrp.bas.buscode">
<c-input v-model="model.recgrp.bas.buscode" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000018')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="结汇申请人组织机构代码" prop="recgrp.bas.custcod">
<c-input v-model="model.recgrp.bas.custcod" maxlength="18" :placeholder="$t('other.please_enter')+'结汇申请人组织机构代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cusnam" data-path=".recp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇申请人主体类型" prop="recgrp.bas.custype">
<c-select v-model="model.recgrp.bas.custype" style="width:100%" :placeholder="$t('other.please_enter')+'结汇申请人主体类型'">
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 组织机构代码 -->
<!-- S0000026 : 个人身份证件号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000026')" prop="recgrp.bas.idcode">
<c-input v-model="model.recgrp.bas.idcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000026')"></c-input>
</c-form-item>
</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-form-item label="结汇申请人名称" prop="recgrp.bas.custnm">
<c-input type="textarea" v-model="model.recgrp.bas.custnm" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'结汇申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cornam" data-path=".recp.baspp.cornam" > </span>
</c-col>
<!-- S0000034 : 外汇账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000034')" prop="recgrp.bas.fcyacc">
<c-input v-model="model.recgrp.bas.fcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000033 : 人民币账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000033')" prop="recgrp.bas.lcyacc">
<c-input v-model="model.recgrp.bas.lcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000033')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="人民币收款人名称" prop="recgrp.bas.oppuser">
<c-input type="textarea" v-model="model.recgrp.bas.oppuser" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'人民币收款人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corpnam" data-path=".recp.baspp.corpnam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corbnam" data-path=".recp.baspp.corbnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="人民币帐户开户行" prop="recgrp.bas.oppbank">
<c-input type="textarea" v-model="model.recgrp.bas.oppbank" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'人民币帐户开户行'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000050 : 结汇币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyccy">
<c-select v-model="model.recgrp.bas.fcyccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyamt">
<c-input v-model="model.recgrp.bas.fcyamt" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')"></c-input>
</c-form-item>
</c-col>
<!-- S0000053 : 汇率 -->
<c-col :span="12">
<c-form-item label="汇率" prop="recgrp.bas.exrate">
<c-input v-model="model.recgrp.bas.exrate" :placeholder="$t('other.please_enter')+'汇率'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<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>
</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>
</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>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000017 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000017')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000017')"></c-input>
</c-form-item>
</c-col>
<!-- S0000029 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'删除原因'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000028 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000028')" prop="recgrp.vrf.actiontype">
<c-select v-model="model.recgrp.vrf.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000028')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000044 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000042')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbjp.S0000042')"></c-input>
</c-form-item>
</c-col>
<!-- S0000042 : 交易编码 -->
<c-col :span="12">
<c-form-item label="交易编码" prop="recgrp.vrf.txcode">
<c-input v-model="model.recgrp.vrf.txcode" maxlength="6" :placeholder="$t('other.please_enter')+'交易编码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onCodselSelbut">
{{$t('codsee.C0000003')}}
</c-button>
</c-col>
<!-- S0000045 : 案表号/业务编号 -->
<!-- S0000047 : 结汇用途 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000047')" prop="recgrp.vrf.usetype">
<c-select v-model="model.recgrp.vrf.usetype" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000047')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbjp.C0000056')}}</c-checkbox>
</c-col>
<!-- S0000052 : 结汇详细用途 -->
<c-col :span="12">
<c-form-item label="结汇详细用途" prop="recgrp.vrf.usedetail">
<c-input type="textarea" v-model="model.recgrp.vrf.usedetail" maxlength="100" show-word-limit :placeholder="$t('other.please_enter')+'结汇详细用途'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 申报日期 -->
<c-col :span="12">
<el-form-item :label="$t('vrfsp.S0000002')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000002')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000003 : 填报人 -->
<c-col :span="12">
<c-form-item :label="$t('vrfsp.S0000003')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfsp.S0000003')"></c-input>
</c-form-item>
</c-col>
<!-- S0000005 : 填报人电话 -->
<c-col :span="12">
<c-form-item label="填报人电话" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+'填报人电话'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjame/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane :label="$t('dbjp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbjp PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane :label="$t('dbjp.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>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Dbjame from "~/model/Dbjame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbjame/Check"
import Default from "~/model/Dbjame/Default"
import Pattern from "~/model/Dbjame/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
export default {
name: "Dbjame",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbjame",
trnType: "",
model: new Dbjame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbjame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000015 : 申报号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000015')" prop="recgrp.bas.rptno">
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000015')"></c-input>
</c-form-item>
</c-col>
<!-- S0000040 : 删除原因 -->
<c-col :span="12">
<c-form-item label="删除原因" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.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="onBasppGetref">
{{$t('bassp.C0000038')}}
</c-button>
</c-col>
<!-- S0000016 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000016')" prop="recgrp.bas.actiontype">
<c-select v-model="model.recgrp.bas.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000016')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000039 : 地区机构号 -->
<c-col :span="12">
<el-form-item :label="$t('bassp.S0000039')" prop="recgrp.bas.ownextkey">
<c-select v-model="model.recgrp.bas.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+$t('bassp.S0000039')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.baspp.acp">{{$t('bassp.C0000029')}}</c-checkbox>
</c-col>
<!-- S0000018 : 银行业务编号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000018')" prop="recgrp.bas.buscode">
<c-input v-model="model.recgrp.bas.buscode" maxlength="22" :placeholder="$t('other.please_enter')+$t('bassp.S0000018')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="结汇申请人组织机构代码" prop="recgrp.bas.custcod">
<c-input v-model="model.recgrp.bas.custcod" maxlength="18" :placeholder="$t('other.please_enter')+'结汇申请人组织机构代码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cusnam" data-path=".recp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="结汇申请人主体类型" prop="recgrp.bas.custype">
<c-select v-model="model.recgrp.bas.custype" style="width:100%" :placeholder="$t('other.please_enter')+'结汇申请人主体类型'">
</c-select>
</el-form-item>
</c-col>
<!-- S0000027 : 组织机构代码 -->
<!-- S0000026 : 个人身份证件号码 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000026')" prop="recgrp.bas.idcode">
<c-input v-model="model.recgrp.bas.idcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000026')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="结汇申请人名称" prop="recgrp.bas.custnm">
<c-input type="textarea" v-model="model.recgrp.bas.custnm" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'结汇申请人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.cornam" data-path=".recp.baspp.cornam" > </span>
</c-col>
<!-- S0000034 : 外汇账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000034')" prop="recgrp.bas.fcyacc">
<c-input v-model="model.recgrp.bas.fcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000033 : 人民币账户账号 -->
<c-col :span="12">
<c-form-item :label="$t('bassp.S0000033')" prop="recgrp.bas.lcyacc">
<c-input v-model="model.recgrp.bas.lcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('bassp.S0000033')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="人民币收款人名称" prop="recgrp.bas.oppuser">
<c-input type="textarea" v-model="model.recgrp.bas.oppuser" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'人民币收款人名称'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corpnam" data-path=".recp.baspp.corpnam" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.corbnam" data-path=".recp.baspp.corbnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="人民币帐户开户行" prop="recgrp.bas.oppbank">
<c-input type="textarea" v-model="model.recgrp.bas.oppbank" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'人民币帐户开户行'" ></c-input>
</c-form-item>
</c-col>
<!-- S0000050 : 结汇币种及金额 -->
<c-col :span="12">
<el-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyccy">
<c-select v-model="model.recgrp.bas.fcyccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('dbjp.S0000050')" prop="recgrp.bas.fcyamt">
<c-input v-model="model.recgrp.bas.fcyamt" :placeholder="$t('other.please_enter')+$t('dbjp.S0000050')"></c-input>
</c-form-item>
</c-col>
<!-- S0000053 : 汇率 -->
<c-col :span="12">
<c-form-item label="汇率" prop="recgrp.bas.exrate">
<c-input v-model="model.recgrp.bas.exrate" :placeholder="$t('other.please_enter')+'汇率'"></c-input>
</c-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbjdel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment