Commit 93d3ca5d by javaHeight

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 e92db464 e814943f
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
......@@ -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"
......@@ -464,6 +472,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: '删 -- 对外担保' } },
......
<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>
<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/Dbjdel/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>
<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>
<!-- 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-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<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>
<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/Dbjdel/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 PD000002 外汇账户内结汇-管理信息 -->
<el-tab-pane :label="$t('dbjp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbjp PD000001 外汇账户内结汇-基础信息 -->
<el-tab-pane :label="$t('dbjp.PD000001')" name="basp">
<m-basp :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 Dbjdel from "~/model/Dbjdel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbjdel/Check"
import Default from "~/model/Dbjdel/Default"
import Pattern from "~/model/Dbjdel/Pattern"
import Vrfp from "./Vrfp"
import Basp from "./Basp"
import Selection from "./Selection"
export default {
name: "Dbjdel",
components:{
"m-vrfp" : Vrfp,
"m-basp" : Basp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbjdel",
trnType: "",
model: new Dbjdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbjdel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -19,12 +19,12 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <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> -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
......
<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="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</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="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>
<!-- 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>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</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>
<!-- S0000036 : 购汇币种 -->
<c-col :span="12">
<el-form-item :label="$t('dbwp.S0000036')" prop="recgrp.bas.lcyccy">
<c-select v-model="model.recgrp.bas.lcyccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbwp.S0000036')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000037 : 汇率 -->
<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>
<!-- S0000041 : 购汇金额(人民币) -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000041')" prop="recgrp.bas.lcyamt">
<c-input v-model="model.recgrp.bas.lcyamt" :placeholder="$t('other.please_enter')+$t('dbwp.S0000041')"></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/Dbwadd/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/Dbwadd/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>
<!-- S0000032 : 交易编码 -->
<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-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbwp.C0000039')}}</c-checkbox>
</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>
<!-- S0000034 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000034')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbwp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 案表号/业务编号 -->
<!-- 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/Dbwadd/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">
<!--dbwp PD000001 外汇账户内购汇-基础信息 -->
<el-tab-pane :label="$t('dbwp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbwp PD000002 外汇账户内购汇-管理信息 -->
<el-tab-pane :label="$t('dbwp.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 Dbwadd from "~/model/Dbwadd"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbwadd/Check"
import Default from "~/model/Dbwadd/Default"
import Pattern from "~/model/Dbwadd/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
export default {
name: "Dbwadd",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbwadd",
trnType: "",
model: new Dbwadd().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbwadd交易");
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="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</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="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>
<!-- 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>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</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>
<!-- S0000036 : 购汇币种 -->
<c-col :span="12">
<el-form-item :label="$t('dbwp.S0000036')" prop="recgrp.bas.lcyccy">
<c-select v-model="model.recgrp.bas.lcyccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbwp.S0000036')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000037 : 汇率 -->
<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>
<!-- S0000041 : 购汇金额(人民币) -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000041')" prop="recgrp.bas.lcyamt">
<c-input v-model="model.recgrp.bas.lcyamt" :placeholder="$t('other.please_enter')+$t('dbwp.S0000041')"></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/Dbwame/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/Dbwame/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>
<!-- S0000032 : 交易编码 -->
<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-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbwp.C0000039')}}</c-checkbox>
</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>
<!-- S0000034 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000034')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbwp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 案表号/业务编号 -->
<!-- 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/Dbwame/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">
<!--dbwp PD000001 外汇账户内购汇-基础信息 -->
<el-tab-pane :label="$t('dbwp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbwp PD000002 外汇账户内购汇-管理信息 -->
<el-tab-pane :label="$t('dbwp.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 Dbwame from "~/model/Dbwame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbwame/Check"
import Default from "~/model/Dbwame/Default"
import Pattern from "~/model/Dbwame/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
export default {
name: "Dbwame",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbwame",
trnType: "",
model: new Dbwame().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbwame交易");
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="onBopbutSav">
{{$t('butp.C0000006')}}
</c-button>
</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="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>
<!-- 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>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
{{$t('butp.C0000010')}}
</c-button>
</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>
<!-- S0000036 : 购汇币种 -->
<c-col :span="12">
<el-form-item :label="$t('dbwp.S0000036')" prop="recgrp.bas.lcyccy">
<c-select v-model="model.recgrp.bas.lcyccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbwp.S0000036')">
</c-select>
</el-form-item>
</c-col>
<!-- S0000037 : 汇率 -->
<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>
<!-- S0000041 : 购汇金额(人民币) -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000041')" prop="recgrp.bas.lcyamt">
<c-input v-model="model.recgrp.bas.lcyamt" :placeholder="$t('other.please_enter')+$t('dbwp.S0000041')"></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/Dbwdel/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/Dbwdel/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>
<!-- S0000032 : 交易编码 -->
<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-checkbox v-model="model.recp.vrfpp.acp">{{$t('dbwp.C0000039')}}</c-checkbox>
</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>
<!-- S0000034 : 外汇局批件号/备 -->
<c-col :span="12">
<c-form-item :label="$t('dbwp.S0000034')" prop="recgrp.vrf.regno">
<c-input v-model="model.recgrp.vrf.regno" maxlength="20" :placeholder="$t('other.please_enter')+$t('dbwp.S0000034')"></c-input>
</c-form-item>
</c-col>
<!-- S0000035 : 案表号/业务编号 -->
<!-- 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/Dbwdel/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">
<!--dbwp PD000001 外汇账户内购汇-基础信息 -->
<el-tab-pane :label="$t('dbwp.PD000001')" name="basp">
<m-basp :model="model" :codes="codes"/>
</el-tab-pane>
<!--dbwp PD000002 外汇账户内购汇-管理信息 -->
<el-tab-pane :label="$t('dbwp.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 Dbwdel from "~/model/Dbwdel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Dbwdel/Check"
import Default from "~/model/Dbwdel/Default"
import Pattern from "~/model/Dbwdel/Pattern"
import Basp from "./Basp"
import Vrfp from "./Vrfp"
import Selection from "./Selection"
export default {
name: "Dbwdel",
components:{
"m-basp" : Basp,
"m-vrfp" : Vrfp,
"m-selection" : Selection,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "dbwdel",
trnType: "",
model: new Dbwdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbwdel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
}
}
</script>
<style>
</style>
......@@ -72,22 +72,22 @@
</c-form-item>
</c-col>
<c-col :span="12">
<!-- <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> -->
<c-col :span="12">
<span v-text="model.recp.baspp.cusnam" data-path=".recp.baspp.cusnam" > </span>
</c-col>
<c-col :span="12">
<!-- <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>
</c-col> -->
<!-- S0000027 : 组织机构代码 -->
<!-- S0000026 : 个人身份证件号码 -->
......@@ -103,11 +103,11 @@
</c-button>
</c-col>
<c-col :span="12">
<!-- <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> -->
<c-col :span="12">
<span v-text="model.recp.baspp.cornam" data-path=".recp.baspp.cornam" > </span>
......
......@@ -19,12 +19,12 @@
</el-form-item>
</c-col>
<c-col :span="12">
<!-- <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> -->
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutSav">
......
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