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">
<!-- 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