Commit 7bf46628 by liuxin

汇出汇款切换页面事件

parent 6d395b09
......@@ -24,7 +24,7 @@
size="small"
:validate-on-rule-change="false"
>
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick">
<c-tabs :value="tabVal" ref="elment" type="card" @tab-click="mimeTabClick">
<el-tab-pane label="汇款信息" name="opnp1">
<!--PD000020 -->
<c-content>
......@@ -168,6 +168,36 @@ export default {
};
},
methods:{
mimeTabClick(tab) {
this.tabClick(tab)
const name = tab.name
let rulePath;
if (name === "setpan") {
rulePath = "pyenam";
}
if (name === "glepan") {
rulePath = "glepan";
}
if (name === "coninfp") {
rulePath = "coninfp";
}
if (name === "docpan") {
rulePath = "oit.inftxt";
}
if (name === "doctre") {
rulePath = "doctre";
}
if (name === "sbxx") {
rulePath = "trd.ownref,cnyp";
}
if (!!rulePath) {
this.executeRule(rulePath).then(res => {
if (res.respCode == SUCCESS) {
this.updateModel(res.data)
}
})
}
}
},
created: async function () {
console.log("进入cptopn交易");
......
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