Commit c09e8056 by wangna

dbeinf界面布局

parent e814943f
...@@ -4,45 +4,29 @@ import Utils from "~/utils" ...@@ -4,45 +4,29 @@ import Utils from "~/utils"
* Dbeinf Check规则 * Dbeinf Check规则
*/ */
let checkObj = { let checkObj = {
"recp.recgrp.vrf.tc1amt" :null, "recgrp.bas.othamt" :null,
"bopbut.ctlmod.wrkdbl.trdtyp" :null, "recgrp.bas.actiontype" :null,
"recp.recgrp.vrf.impdate" :null, "recgrp.bas.custnm" :null,
"recp.recgrp.bas.custnm" :null, "recgrp.bas.rptno" :null,
"recp.recgrp.vrf.invoino" :null, "recgrp.bas.othacc" :null,
"recp.recgrp.vrf.actiontype" :null, "recgrp.bas.oppuser" :null,
"recp.recgrp.vrf.txcode" :null, "recgrp.bas.txccy" :null,
"recp.recgrp.vrf.rptdate" :null, "ctlmod.wrkdbl.trdtyp" :null,
"recp.recgrp.bas.custype" :null, "recgrp.bas.exrate" :null,
"recp.recgrp.vrf.country" :null, "recgrp.bas.oppacc" :null,
"recp.recgrp.bas.exrate" :null,
"recp.recgrp.bas.oppacc" :null,
"recp.recgrp.bas.rptno" :null,
"recp.recgrp.bas.txccy" :null,
"recp.recgrp.bas.othamt" :null,
"recp.recgrp.vrf.payattr" :null,
"recp.recgrp.vrf.txcode2" :null,
"recp.recgrp.bas.custcod" :null,
"recp.recgrp.bas.othacc" :null,
"recp.recgrp.vrf.tc2amt" :null,
"bopbut.acttyp" :null, "bopbut.acttyp" :null,
"recp.recgrp.bas.txamt" :null, "recgrp.bas.lcyacc" :null,
"recp.recgrp.vrf.inptelc" :null, "recgrp.bas.idcode" :null,
"recp.recgrp.bas.buscode" :null, "recgrp.bas.fcyacc" :null,
"recp.recgrp.bas.oppuser" :null, "recgrp.bas.custcod" :null,
"recp.recgrp.bas.actiontype" :null, "recgrp.bas.fcyamt" :null,
"recp.recgrp.vrf.contrno" :null, "recgrp.bas.txamt" :null,
"recp.recgrp.vrf.crtuser" :null, "recgrp.bas.buscode" :null,
"recp.recgrp.bas.lcyacc" :null, "recgrp.bas.custype" :null,
"recp.recgrp.bas.idcode" :null,
"recp.recgrp.vrf.paytype" :null,
"recp.recgrp.vrf.cusmno" :null,
"bopbut.paydat" :null, "bopbut.paydat" :null,
"recp.recgrp.bas.fcyamt" :null, "recgrp.bas.actiondesc" :null,
"recp.recgrp.bas.lcyamt" :null, "recgrp.bas.lcyamt" :null,
"recp.recgrp.bas.actiondesc" :null, "recgrp.bas.methods" :null,
"recp.recgrp.bas.fcyacc" :null,
"recp.recgrp.vrf.isref" :null,
"recp.recgrp.bas.methods" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -6,21 +6,17 @@ import Api from "~/service/Api"; ...@@ -6,21 +6,17 @@ import Api from "~/service/Api";
import Utils from "~/utils/index" import Utils from "~/utils/index"
export default { export default {
"recp.recgrp.vrf.actiontype" :Utils.defaultFunction, "recgrp.bas.tmpref" :Utils.defaultFunction,
"recp.recgrp.bas.tmpref" :Utils.defaultFunction, "recgrp.bas.buscode" :Utils.defaultFunction,
"bopbut.basflg" :Utils.defaultFunction, "bopbut.basflg" :Utils.defaultFunction,
"bopbut.ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction, "recgrp.bas.custype" :Utils.defaultFunction,
"ctlmod.wrkdbl.trdtyp" :Utils.defaultFunction,
"bopbut.vrfflg" :Utils.defaultFunction, "bopbut.vrfflg" :Utils.defaultFunction,
"bopbut.dclflg" :Utils.defaultFunction, "bopbut.dclflg" :Utils.defaultFunction,
"recp.baspp.acp" :Utils.defaultFunction, "recp.baspp.acp" :Utils.defaultFunction,
"recp.recgrp.bas.ownextkey" :Utils.defaultFunction, "recgrp.bas.custcod" :Utils.defaultFunction,
"recp.recgrp.bas.custype" :Utils.defaultFunction, "recgrp.bas.rptno" :Utils.defaultFunction,
"recp.recgrp.vrf.paytype" :Utils.defaultFunction,
"recp.recgrp.bas.rptno" :Utils.defaultFunction,
"recp.recgrp.bas.buscode" :Utils.defaultFunction,
"recp.vrfpp.acp" :Utils.defaultFunction,
"recp.recgrp.vrf.country" :Utils.defaultFunction,
"recp.recgrp.bas.custcod" :Utils.defaultFunction,
"bopbut.ackflg" :Utils.defaultFunction, "bopbut.ackflg" :Utils.defaultFunction,
"recgrp.bas.ownextkey" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -86,8 +86,8 @@ export default { ...@@ -86,8 +86,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onButp1Sav(){ async onButpSav(){
let rtnmsg = await this.executeRule("butp1.sav") let rtnmsg = await this.executeRule("butp.sav")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -98,8 +98,8 @@ export default { ...@@ -98,8 +98,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onButp1Mod(){ async onButpMod(){
let rtnmsg = await this.executeRule("butp1.mod") let rtnmsg = await this.executeRule("butp.mod")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -134,44 +134,8 @@ export default { ...@@ -134,44 +134,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onButp1Chk(){ async onButpChk(){
let rtnmsg = await this.executeRule("butp1.chk") let rtnmsg = await this.executeRule("butp.chk")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Del(){
let rtnmsg = await this.executeRule("butp1.del")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Err(){
let rtnmsg = await this.executeRule("butp1.err")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onButp1Exi(){
let rtnmsg = await this.executeRule("butp1.exi")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -182,8 +146,8 @@ export default { ...@@ -182,8 +146,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCodsel1Selbut(){ async onButpDel(){
let rtnmsg = await this.executeRule("codsel1.selbut") let rtnmsg = await this.executeRule("butp.del")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -194,8 +158,8 @@ export default { ...@@ -194,8 +158,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCodsel2Selbut(){ async onButpErr(){
let rtnmsg = await this.executeRule("codsel2.selbut") let rtnmsg = await this.executeRule("butp.err")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -206,8 +170,8 @@ export default { ...@@ -206,8 +170,8 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onCodsel1Selbut1(){ async onButpExi(){
let rtnmsg = await this.executeRule("codsel1.selbut1") let rtnmsg = await this.executeRule("butp.exi")
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
......
...@@ -24,11 +24,11 @@ export default { ...@@ -24,11 +24,11 @@ export default {
"recp.recgrp.bas.rptno":[ "recgrp.bas.rptno":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"} {max: 22,message:"长度不能超过22"}
], ],
"recp.recgrp.bas.tmpref":[ "recgrp.bas.tmpref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"} {max: 16,message:"长度不能超过16"}
], ],
...@@ -37,143 +37,69 @@ export default { ...@@ -37,143 +37,69 @@ export default {
"recp.recgrp.bas.actiondesc":[ "recgrp.bas.actiondesc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"recp.recgrp.bas.buscode":[ "recgrp.bas.buscode":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"} {max: 22,message:"长度不能超过22"}
], ],
"recp.recgrp.bas.custcod":[ "recgrp.bas.custcod":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"长度不能超过18"} {max: 18,message:"长度不能超过18"}
], ],
"recp.recgrp.bas.custnm":[ "recgrp.bas.custnm":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"} {max: 63,message:"长度不能超过63"}
], ],
"recp.recgrp.bas.oppuser":[ "recgrp.bas.oppuser":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 63,message:"长度不能超过63"} {max: 63,message:"长度不能超过63"}
], ],
"recp.recgrp.bas.idcode":[ "recgrp.bas.idcode":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"recp.recgrp.bas.exrate":[ "recgrp.bas.exrate":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 13,message:"长度不能超过13"} {max: 13,message:"长度不能超过13"}
], ],
"recp.recgrp.bas.lcyamt":[ "recgrp.bas.lcyamt":[
{type: "number", required: false, message: "必输项"} ], {type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.lcyacc":[ "recgrp.bas.lcyacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"recp.recgrp.bas.fcyamt":[ "recgrp.bas.fcyamt":[
{type: "number", required: false, message: "必输项"} ], {type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.fcyacc":[ "recgrp.bas.fcyacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"recp.recgrp.bas.othamt":[ "recgrp.bas.othamt":[
{type: "number", required: false, message: "必输项"} ], {type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.othacc":[ "recgrp.bas.othacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"recp.recgrp.bas.txamt":[ "recgrp.bas.txamt":[
{type: "number", required: false, message: "必输项"} ], {type: "number", required: false, message: "必输项"} ],
"recp.recgrp.bas.oppacc":[ "recgrp.bas.oppacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"recp.recgrp.vrf.tmpref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recp.recgrp.vrf.rptno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"recp.recgrp.vrf.actiontype":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"recp.recgrp.vrf.actiondesc":[
{type: "string", required: true, message: "必输项"},
{max: 32,message:"长度不能超过32"}
],
"recp.recgrp.vrf.ownextkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"recp.recgrp.vrf.tc1amt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.vrf.txcode":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.vrf.tc2amt":[
{type: "number", required: false, message: "必输项"} ],
"recp.recgrp.vrf.txcode2":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"recp.recgrp.vrf.country":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"recp.recgrp.vrf.regno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.impdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.contrno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.invoino":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"recp.recgrp.vrf.cusmno":[
{type: "string", required: false, message: "必输项"},
{max: 12,message:"长度不能超过12"}
],
"recp.recgrp.vrf.rptdate":[
{type: "date", required: false, message: "输入正确的日期"}
],
"recp.recgrp.vrf.crtuser":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"recp.recgrp.vrf.inptelc":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
} }
\ No newline at end of file
...@@ -7,11 +7,6 @@ export default class Dbeinf{ ...@@ -7,11 +7,6 @@ export default class Dbeinf{
bopbut:{ bopbut:{
boplabel:"", // 申报信息 .bopbut.boplabel boplabel:"", // 申报信息 .bopbut.boplabel
acttyplab:"", // ACTTYP Label .bopbut.acttyplab acttyplab:"", // ACTTYP Label .bopbut.acttyplab
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .bopbut.ctlmod.wrkdbl.trdtyp
},
},
basflg:"", // 基'⌒畔 .bopbut.basflg basflg:"", // 基'⌒畔 .bopbut.basflg
dclflg:"", // 申报信息 .bopbut.dclflg dclflg:"", // 申报信息 .bopbut.dclflg
vrfflg:"", // 管理信息 .bopbut.vrfflg vrfflg:"", // 管理信息 .bopbut.vrfflg
...@@ -20,6 +15,11 @@ export default class Dbeinf{ ...@@ -20,6 +15,11 @@ export default class Dbeinf{
paydat:"", // 收付汇日期 .bopbut.paydat paydat:"", // 收付汇日期 .bopbut.paydat
acttyp:"", // 款项标志 .bopbut.acttyp acttyp:"", // 款项标志 .bopbut.acttyp
}, },
ctlmod:{
wrkdbl:{
trdtyp:"", // �'�易类型 .ctlmod.wrkdbl.trdtyp
},
},
recp:{ recp:{
baspp:{ baspp:{
cusnam:"", // .recp.baspp.cusnam cusnam:"", // .recp.baspp.cusnam
...@@ -31,58 +31,31 @@ export default class Dbeinf{ ...@@ -31,58 +31,31 @@ export default class Dbeinf{
acp:"", // 确认 .recp.baspp.acp acp:"", // 确认 .recp.baspp.acp
tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew tmprefnew:"", // TMPREFLABEL .recp.baspp.tmprefnew
}, },
},
recgrp:{ recgrp:{
bas:{ bas:{
tmpref:"", // �'时申报流�'号 .recp.recgrp.bas.tmpref tmpref:"", // �'时申报流�'号 .recgrp.bas.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.bas.ownextkey ownextkey:"", // 地区机构号 .recgrp.bas.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.bas.actiontype actiontype:"", // 操作类型 .recgrp.bas.actiontype
rptno:"", // 申报号码 .recp.recgrp.bas.rptno rptno:"", // 申报号码 .recgrp.bas.rptno
idcode:"", // 身份证件号码 .recp.recgrp.bas.idcode idcode:"", // 身份证件号码 .recgrp.bas.idcode
lcyacc:"", // 人民币帐号/银行卡号 .recp.recgrp.bas.lcyacc lcyacc:"", // 人民币帐号/银行卡号 .recgrp.bas.lcyacc
fcyamt:"", // 现汇金额 .recp.recgrp.bas.fcyamt fcyamt:"", // 现汇金额 .recgrp.bas.fcyamt
fcyacc:"", // 外汇帐号/银行卡号 .recp.recgrp.bas.fcyacc fcyacc:"", // 外汇帐号/银行卡号 .recgrp.bas.fcyacc
othamt:"", // 其它金额 .recp.recgrp.bas.othamt othamt:"", // 其它金额 .recgrp.bas.othamt
othacc:"", // 其它帐号/银行卡号 .recp.recgrp.bas.othacc othacc:"", // 其它帐号/银行卡号 .recgrp.bas.othacc
methods:"", // 结算方式 .recp.recgrp.bas.methods methods:"", // 结算方式 .recgrp.bas.methods
buscode:"", // 银行业务编号 .recp.recgrp.bas.buscode buscode:"", // 银行业务编号 .recgrp.bas.buscode
custype:"", // 类型 .recp.recgrp.bas.custype custype:"", // 类型 .recgrp.bas.custype
actiondesc:"", // 操作类型 .recp.recgrp.bas.actiondesc actiondesc:"", // 操作类型 .recgrp.bas.actiondesc
exrate:"", // �'�汇汇率 .recp.recgrp.bas.exrate exrate:"", // �'�汇汇率 .recgrp.bas.exrate
lcyamt:"", // �'�汇金额 .recp.recgrp.bas.lcyamt lcyamt:"", // �'�汇金额 .recgrp.bas.lcyamt
custnm:"", // 汇款人名称 .recp.recgrp.bas.custnm custnm:"", // 汇款人名称 .recgrp.bas.custnm
oppuser:"", // 收款人名称 .recp.recgrp.bas.oppuser oppuser:"", // 收款人名称 .recgrp.bas.oppuser
custcod:"", // 组织机构 .recp.recgrp.bas.custcod custcod:"", // 组织机构 .recgrp.bas.custcod
txccy:"", // 汇款币种和金额 .recp.recgrp.bas.txccy txccy:"", // 汇款币种和金额 .recgrp.bas.txccy
txamt:"", // 汇款币种和金额 .recp.recgrp.bas.txamt txamt:"", // 汇款币种和金额 .recgrp.bas.txamt
oppacc:"", // 收款人账号 .recp.recgrp.bas.oppacc oppacc:"", // 收款人账号 .recgrp.bas.oppacc
},
vrf:{
tmpref:"", // 临时申报编号 .recp.recgrp.vrf.tmpref
ownextkey:"", // 地区机构号 .recp.recgrp.vrf.ownextkey
actiontype:"", // 操作类型 .recp.recgrp.vrf.actiontype
actiondesc:"", // 修改/删除原因 .recp.recgrp.vrf.actiondesc
rptno:"", // RoptNam .recp.recgrp.vrf.rptno
crtuser:"", // 填报人 .recp.recgrp.vrf.crtuser
inptelc:"", // 填报人电话 .recp.recgrp.vrf.inptelc
rptdate:"", // 申报日期 .recp.recgrp.vrf.rptdate
isref:"", // 是否进口核销项下付款 .recp.recgrp.vrf.isref
payattr:"", // 付汇性�'� .recp.recgrp.vrf.payattr
paytype:"", // 付款类型 .recp.recgrp.vrf.paytype
tc1amt:"", // 相应金额1 .recp.recgrp.vrf.tc1amt
tc2amt:"", // 相应金额2 .recp.recgrp.vrf.tc2amt
impdate:"", // 最迟装运日期 .recp.recgrp.vrf.impdate
contrno:"", // 合同号 .recp.recgrp.vrf.contrno
invoino:"", // 发票号 .recp.recgrp.vrf.invoino
cusmno:"", // 报关单经营单位编码 .recp.recgrp.vrf.cusmno
txcode:"", // 交易编码1 .recp.recgrp.vrf.txcode
txcode2:"", // 交易编码2 .recp.recgrp.vrf.txcode2
country:"", // 收款人常驻国家/地区编码 .recp.recgrp.vrf.country
regno:"", // 外汇局批件/备案表号 .recp.recgrp.vrf.regno
},
},
vrfpp:{
roptnam:"", // RoptNam .recp.vrfpp.roptnam
acp:"", // 确认 .recp.vrfpp.acp
}, },
}, },
pageId: "" // ctx的key pageId: "" // ctx的key
......
...@@ -237,6 +237,7 @@ import Ecadel from "./Ecadel" ...@@ -237,6 +237,7 @@ import Ecadel from "./Ecadel"
import Ecainf from "./Ecainf" import Ecainf from "./Ecainf"
import Dbeadd from "./Dbeadd" import Dbeadd from "./Dbeadd"
import Dbeinf from "./Dbeinf"
...@@ -490,6 +491,7 @@ const BusRouter = [ ...@@ -490,6 +491,7 @@ const BusRouter = [
{ path: 'Ecadel', component: Ecadel, name: 'Ecadel', meta: { title: '删 -- 国内外汇贷款' } }, { path: 'Ecadel', component: Ecadel, name: 'Ecadel', meta: { title: '删 -- 国内外汇贷款' } },
{ path: 'Ecainf', component: Ecainf, name: 'Ecainf', meta: { title: '查 -- 国内外汇贷款' } }, { path: 'Ecainf', component: Ecainf, name: 'Ecainf', meta: { title: '查 -- 国内外汇贷款' } },
{ path: 'Dbeadd', component: Dbeadd, name: 'Dbeadd', meta: { title: '境内汇款申请书(新建)' } }, { path: 'Dbeadd', component: Dbeadd, name: 'Dbeadd', meta: { title: '境内汇款申请书(新建)' } },
{ path: 'Dbeinf', component: Dbeinf, name: 'Dbeinf', meta: { title: '境内汇款申请书(查询)' } },
{ path: 'dzsys/:path', name: 'DzSys', meta: { title: (tag) => { return '电证 - ' + tag.params.title } } }, { path: 'dzsys/:path', name: 'DzSys', meta: { title: (tag) => { return '电证 - ' + tag.params.title } } },
] ]
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ======================= 左边 ========================= -->
<c-col :span="12"> <c-col :span="12" style="padding-right: 20px">
<c-button size="small" type="primary" @click="onButp1Sav"> <c-col :span="24">
{{$t('butp.C0000006')}} <el-form-item label="申报号码" prop="recgrp.bas.rptno">
</c-button> <c-fullbox>
</c-col> <c-input
v-model="model.recgrp.bas.rptno"
<c-col :span="12"> placeholder="请输入申报号码"
<c-button size="small" type="primary" @click="onButp1Mod"> disabled
{{$t('butp.C0000009')}} ></c-input>
</c-button> <template slot="footer">
</c-col> <c-button
style="margin-left: 10px; padding: 0 12px"
<c-col :span="12"> size="small"
<span v-text="model.recp.baspp.roptnam" data-path=".recp.baspp.roptnam" > </span> type="primary"
</c-col> disabled
>
<c-col :span="12"> 获取
<c-form-item label="申报号码" prop="recp.recgrp.bas.rptno">
<c-input v-model="model.recp.recgrp.bas.rptno" maxlength="22" :placeholder="$t('other.please_enter')+'申报号码'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="�'时申报流�'号" prop="recp.recgrp.bas.tmpref">
<c-input v-model="model.recp.recgrp.bas.tmpref" maxlength="16" :placeholder="$t('other.please_enter')+'�'时申报流�'号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetreftmp">
{{$t('baspp.C0000039')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBasppGetref">
{{$t('baspp.C0000040')}}
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<span v-text="model.recp.baspp.tmprefnew" data-path=".recp.baspp.tmprefnew" > </span> <el-form-item label="操作类型" prop="recgrp.bas.actiontype">
</c-col> <c-select
v-model="model.recgrp.bas.actiontype"
<c-col :span="12"> style="width: 100%"
<c-button size="small" type="primary" @click="onButp1Chk"> placeholder="请选择操作类型"
{{$t('butp.C0000007')}} :code="codes.actiontype"
</c-button> disabled
</c-col> >
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onButp1Del">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('baspp.S0000043')" prop="recp.recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recp.recgrp.bas.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('baspp.S0000043')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 -->
<c-col :span="12">
<el-form-item :label="$t('baspp.S0000003')" prop="recp.recgrp.bas.actiontype">
<c-select v-model="model.recp.recgrp.bas.actiontype" style="width:100%" :placeholder="$t('other.please_enter')+$t('baspp.S0000003')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000043 : 操作类型 -->
<!-- S0000002 : 地区机构号 -->
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('baspp.S0000002')" prop="recp.recgrp.bas.ownextkey"> <el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select v-model="model.recp.recgrp.bas.ownextkey" style="width:100%" :placeholder="$t('other.please_enter')+$t('baspp.S0000002')"> <c-select
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey3"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000021 : 银行业务编号 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('baspp.S0000021')" prop="recp.recgrp.bas.buscode"> <el-form-item label="银行业务编号" prop="recgrp.bas.buscode">
<c-input v-model="model.recp.recgrp.bas.buscode" maxlength="22" :placeholder="$t('other.please_enter')+$t('baspp.S0000021')"></c-input> <c-input
</c-form-item> v-model="model.recgrp.bas.buscode"
maxlength="22"
placeholder="请输入银行业务编号"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- S0000020 : 结算方式 -->
<c-col :span="12"> <c-col :span="24">
<el-form-item label="结算方式" prop="recp.recgrp.bas.methods"> <el-form-item label="汇款人类型" prop="recgrp.bas.custype">
<c-select v-model="model.recp.recgrp.bas.methods" style="width:100%" :placeholder="$t('other.please_enter')+'结算方式'"> <c-select
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择汇款人类型"
:code="codes.custype"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item label="组织机构" prop="recp.recgrp.bas.custcod"> <el-form-item label="汇款人名称" prop="recgrp.bas.custnm">
<c-input v-model="model.recp.recgrp.bas.custcod" maxlength="18" :placeholder="$t('other.please_enter')+'组织机构'"></c-input> <c-input
</c-form-item> type="textarea"
v-model="model.recgrp.bas.custnm"
maxlength="63"
show-word-limit
placeholder="请输入汇款人名称"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- S0000006 : 类型 -->
<c-col :span="12"> <c-col :span="24">
<span v-text="model.recp.baspp.cusnam" data-path=".recp.baspp.cusnam" > </span> <el-form-item label="收款人名称" prop="recgrp.bas.oppuser">
</c-col> <c-input
type="textarea"
<c-col :span="12"> v-model="model.recgrp.bas.oppuser"
<el-form-item :label="$t('baspp.S0000006')" prop="recp.recgrp.bas.custype"> maxlength="63"
<c-select v-model="model.recp.recgrp.bas.custype" style="width:100%" :placeholder="$t('other.please_enter')+$t('baspp.S0000006')"> show-word-limit
</c-select> placeholder="请输入收款人名称"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000008 : 组织机构代码 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item label="汇款人名称" prop="recp.recgrp.bas.custnm"> <el-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input type="textarea" v-model="model.recp.recgrp.bas.custnm" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'汇款人名称'" ></c-input> <c-input
</c-form-item> v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<span v-text="model.recp.baspp.cornam" data-path=".recp.baspp.cornam" > </span> <el-form-item label="购汇金额" prop="recgrp.bas.lcyamt">
</c-col> <c-input
<!-- S0000009 : 名称 --> v-model="model.recgrp.bas.lcyamt"
placeholder="请输入购汇金额"
<c-col :span="12"> disabled
<c-button size="small" type="primary" @click="onButp1Err"> ></c-input>
{{$t('butp.C0000013')}} </el-form-item>
</c-button>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item label="收款人名称" prop="recp.recgrp.bas.oppuser"> <el-form-item label="现汇金额" prop="recgrp.bas.fcyamt">
<c-input type="textarea" v-model="model.recp.recgrp.bas.oppuser" maxlength="63" show-word-limit :placeholder="$t('other.please_enter')+'收款人名称'" ></c-input> <c-input
</c-form-item> v-model="model.recgrp.bas.fcyamt"
placeholder="请输入现汇金额"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<span v-text="model.recp.baspp.corpnam" data-path=".recp.baspp.corpnam" > </span> <el-form-item label="其它金额" prop="recgrp.bas.othamt">
</c-col> <c-input
<!-- S0000010 : 名称 --> v-model="model.recgrp.bas.othamt"
placeholder="请输入其它金额"
<c-col :span="12"> disabled
<c-checkbox v-model="model.recp.baspp.acp">{{$t('baspp.C0000038')}}</c-checkbox> ></c-input>
</el-form-item>
</c-col> </c-col>
<!-- S0000007 : 身份证件号码 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('baspp.S0000007')" prop="recp.recgrp.bas.idcode"> <c-col :span="13">
<c-input v-model="model.recp.recgrp.bas.idcode" maxlength="32" :placeholder="$t('other.please_enter')+$t('baspp.S0000007')"></c-input> <el-form-item label="汇款币种和金额" prop="recgrp.bas.txccy">
</c-form-item> <c-select
v-model="model.recgrp.bas.txccy"
style="width: 100%"
placeholder="请选择汇款币种"
:code="codes.curtxt1"
disabled
>
</c-select>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="11">
<span v-text="model.recp.baspp.exratelab" data-path=".recp.baspp.exratelab" > </span> <el-form-item label="" prop="recgrp.bas.txamt" label-width="5px">
</c-col> <c-input
v-model="model.recgrp.bas.txamt"
<c-col :span="12"> placeholder="请输入汇款金额"
<c-form-item label="�'�汇汇率" prop="recp.recgrp.bas.exrate"> disabled
<c-input v-model="model.recp.recgrp.bas.exrate" :placeholder="$t('other.please_enter')+'�'�汇汇率'"></c-input> ></c-input>
</c-form-item> </el-form-item>
</c-col>
</c-col> </c-col>
<c-col :span="12">
<span v-text="model.recp.baspp.lcyamtlab" data-path=".recp.baspp.lcyamtlab" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="�'�汇金额" prop="recp.recgrp.bas.lcyamt">
<c-input v-model="model.recp.recgrp.bas.lcyamt" :placeholder="$t('other.please_enter')+'�'�汇金额'"></c-input>
</c-form-item>
</c-col> </c-col>
<!-- S0000015 : 人民币帐号/银行卡号 -->
<c-col :span="12"> <!-- ======================= 右边 ========================= -->
<c-form-item :label="$t('baspp.S0000015')" prop="recp.recgrp.bas.lcyacc"> <c-col :span="12" style="padding-right: 20px">
<c-input v-model="model.recp.recgrp.bas.lcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('baspp.S0000015')"></c-input> <!-- <c-col :span="24">
</c-form-item> <el-form-item label="临时申报号码" prop="recp.baspp.tmpref">
<c-fullbox>
<c-input
v-model="model.recp.baspp.tmpref"
placeholder="请输入临时申报号码"
disabled
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 12px"
size="small"
type="primary"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="修改/删除原因" prop="recgrp.bas.actiondesc">
<c-input
type="textarea"
v-model="model.recgrp.bas.actiondesc"
maxlength="32"
show-word-limit
placeholder="请输入修改/删除原因"
:rows="7"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- S0000016 : 现汇金额 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('baspp.S0000016')" prop="recp.recgrp.bas.fcyamt"> <el-form-item label="结算方式" prop="recgrp.bas.methods">
<c-input v-model="model.recp.recgrp.bas.fcyamt" :placeholder="$t('other.please_enter')+$t('baspp.S0000016')"></c-input> <c-select
</c-form-item> v-model="model.recgrp.bas.methods"
style="width: 100%"
placeholder="请选择结算方式"
:code="codes.methods"
disabled
>
</c-select>
</el-form-item>
</c-col> </c-col>
<!-- S0000017 : 外汇帐号/银行卡号 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('baspp.S0000017')" prop="recp.recgrp.bas.fcyacc"> <el-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input v-model="model.recp.recgrp.bas.fcyacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('baspp.S0000017')"></c-input> <c-input
</c-form-item> v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构代码"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- S0000018 : 其它金额 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('baspp.S0000018')" prop="recp.recgrp.bas.othamt"> <c-checkbox v-model="model.recp.baspp.acp" disabled :checked="true"
<c-input v-model="model.recp.recgrp.bas.othamt" :placeholder="$t('other.please_enter')+$t('baspp.S0000018')"></c-input> >确认</c-checkbox
</c-form-item> >
</c-col> </c-col>
<!-- S0000019 : 其它帐号/银行卡号 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('baspp.S0000019')" prop="recp.recgrp.bas.othacc"> <el-form-item label="购汇汇率" prop="recgrp.bas.exrate">
<c-input v-model="model.recp.recgrp.bas.othacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('baspp.S0000019')"></c-input> <c-input
</c-form-item> v-model="model.recgrp.bas.exrate"
placeholder="请输入购汇汇率"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- S0000044 : 汇款币种和金额 -->
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('dbep.S0000044')" prop="recp.recgrp.bas.txccy"> <el-form-item label="人民币帐号/银行卡号" prop="recgrp.bas.lcyacc">
<c-select v-model="model.recp.recgrp.bas.txccy" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbep.S0000044')"> <c-input
</c-select> v-model="model.recgrp.bas.lcyacc"
maxlength="32"
placeholder="请输入人民币帐号/银行卡号"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('dbep.S0000044')" prop="recp.recgrp.bas.txamt"> <el-form-item label="外汇帐号/银行卡号" prop="recgrp.bas.fcyacc">
<c-input v-model="model.recp.recgrp.bas.txamt" :placeholder="$t('other.please_enter')+$t('dbep.S0000044')"></c-input> <c-input
</c-form-item> v-model="model.recgrp.bas.fcyacc"
maxlength="32"
placeholder="请输入外汇帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<!-- S0000064 : 收款人账号 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('dbep.S0000064')" prop="recp.recgrp.bas.oppacc"> <el-form-item label="其它帐号/银行卡号" prop="recgrp.bas.othacc">
<c-input v-model="model.recp.recgrp.bas.oppacc" maxlength="32" :placeholder="$t('other.please_enter')+$t('dbep.S0000064')"></c-input> <c-input
</c-form-item> v-model="model.recgrp.bas.othacc"
maxlength="32"
placeholder="请输入其它帐号/银行卡号"
disabled
></c-input>
</el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-button size="small" type="primary" @click="onButp1Exi"> <el-form-item label="收款人账号" prop="recgrp.bas.oppacc">
{{$t('butp.CG000004')}} <c-input
</c-button> v-model="model.recgrp.bas.oppacc"
maxlength="32"
placeholder="请输入收款人账号"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col> </c-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbeinf/Event" import Event from "~/model/Dbeinf/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000015 : 收付汇日期 --> <!-- ======================= 左边 ========================= -->
<c-col :span="12" style="padding-right: 20px">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bopbut.S0000015')" prop="bopbut.paydat"> <el-form-item label="收付汇日期" prop="bopbut.paydat">
<c-date-picker type="date" v-model="model.bopbut.paydat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></c-date-picker> <c-date-picker
type="date"
v-model="model.bopbut.paydat"
style="width: 100%"
placeholder="请选择收付汇日期"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span> <el-form-item
</c-col> label="请选择接口数据"
prop="bopbut.basflg"
<c-col :span="12"> class="checkbox-left"
<el-form-item label="款项标志" prop="bopbut.acttyp"> >
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'"> <c-checkbox disabled :checked="true" v-model="model.bopbut.basflg"
</c-select> >基础数据</c-checkbox
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <!-- ======================= 右边 ========================= -->
<el-form-item label="�'�易类型" prop="bopbut.ctlmod.wrkdbl.trdtyp"> <c-col :span="12" style="padding-left: 20px">
<c-select v-model="model.bopbut.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'�'�易类型'"> <c-col :span="24">
<el-form-item label="款项去向" prop="bopbut.acttyp">
<c-select
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请选择款项去向"
:code="codes.acttyp"
disabled
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpSav">
{{$t('butp.C0000006')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpMod">
{{$t('butp.C0000009')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpChk">
{{$t('butp.C0000007')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" icon="el-icon-delete" @click="onButpDel">
{{$t('butp.C0000010')}}
</c-button>
</c-col>
<c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpExi">
{{$t('butp.CG000004')}}
</c-button>
</c-col> </c-col>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eContainer"> <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-page title="境内汇款申请书(查询)">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <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 接口数据 --> <!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection"> <el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes"/> <m-selection :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
<!--dbep PD000000 境内汇款申请书-基础信息 --> <!--dbep PD000000 境内汇款申请书-基础信息 -->
<el-tab-pane :label="$t('dbep.PD000000')" name="basp"> <el-tab-pane label="境内汇款申请书-基础信息" name="basp">
<m-basp :model="model" :codes="codes"/> <c-content>
</el-tab-pane> <m-basp :model="model" :codes="codes" />
<!--dbep PD000002 境内汇款申请书-核销信息 --> </c-content>
<el-tab-pane :label="$t('dbep.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
</c-tabs> </c-tabs>
</el-form> </el-form>
</c-page>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Dbeinf from "~/model/Dbeinf" import Dbeinf from "~/model/Dbeinf";
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess";
import Check from "~/model/Dbeinf/Check" import commonFuncs from "~/mixin/commonFuncs";
import Default from "~/model/Dbeinf/Default" import Check from "~/model/Dbeinf/Check";
import Pattern from "~/model/Dbeinf/Pattern" import Default from "~/model/Dbeinf/Default";
import Selection from "./Selection" import Pattern from "~/model/Dbeinf/Pattern";
import Basp from "./Basp" import Selection from "./Selection";
import Vrfp from "./Vrfp" import Basp from "./Basp";
export default { export default {
name: "Dbeinf", name: "Dbeinf",
components:{ components: {
"m-selection" : Selection, "m-selection": Selection,
"m-basp" : Basp, "m-basp": Basp,
"m-vrfp" : Vrfp,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "selection",
trnName: "dbeinf", trnName: "dbeinf",
trnType: "", trnType: "",
model: new Dbeinf().data, model: new Dbeinf().data,
...@@ -54,34 +71,28 @@ export default { ...@@ -54,34 +71,28 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {...CodeTable},
};
}, },
} methods: {
}, myTabClick(tab) {
methods:{ this.tabClick(tab);
myTabClick(tab){
this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
}
}, },
created:async function(){ },
created: async function () {
console.log("进入dbeinf交易"); console.log("进入dbeinf交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{ this.updateModel(rtnmsg.data);
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} else {
} this.$notify.error({ title: "错误", message: "服务请求失败!" });
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
} },
} };
</script> </script>
<style> <style>
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment