Commit 7851fe7d by liushikai

汇款查询

parent 5cebdec1
...@@ -14,12 +14,15 @@ export default { ...@@ -14,12 +14,15 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
}, },
async onInfbutDsp(){ async onInfbutDsp(idx,row){
let rtnmsg = await this.executeRule("infbut.dsp") let params = {selDst:"infbut.dspstm",selIds:[idx+1]}
let rtnmsg = await this.executeRule("infbut.dspstm,infbut.dsp",params)
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data);
// Utils.copyValueFromVO(this.model, rtnmsg.data);
this.$emit('updateShowPanel', true)
} }
else else
{ {
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-form ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false" disabled>
<c-row> <c-row>
<!-- <div class="infTopBtn"> <!-- <div class="infTopBtn">
<el-button-group> <el-button-group>
...@@ -355,7 +357,6 @@ ...@@ -355,7 +357,6 @@
style="margin:0 0" style="margin:0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag"
@click="onDetail" @click="onDetail"
> >
详情 详情
...@@ -461,6 +462,7 @@ ...@@ -461,6 +462,7 @@
</c-col> </c-col>
</c-row> </c-row>
</el-form>
</div> </div>
</template> </template>
<script> <script>
...@@ -480,7 +482,10 @@ export default { ...@@ -480,7 +482,10 @@ export default {
data() { data() {
return {}; return {};
}, },
methods: { ...Event }, methods: { ...Event,
onSeainf(){},
onDetail(){},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
...@@ -318,9 +318,8 @@ ...@@ -318,9 +318,8 @@
<c-istream-table :list="stmData.data" :columns="stmData.columns"> <c-istream-table :list="stmData.data" :columns="stmData.columns">
<el-table-column prop="op" label="操作" width="140" fixed="right"> <el-table-column prop="op" label="操作" width="140" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<a href="javascript:void(0)" @click="continueEdit(scope.row)" <c-button size="small" type="primary" style="margin-left: 0" @click="onInfbutDsp(scope.$index,scope.row)">Display</c-button
>操作</a >
>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
......
...@@ -32,13 +32,14 @@ ...@@ -32,13 +32,14 @@
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" <el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false"> :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <m-infsea v-show="!showPanel" :model="model" :codes="codes" @updateShowPanel="updateShowPanel($event)"/>
<c-tabs v-show="showPanel" v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="查询信息" name="infsea"> <!-- <el-tab-pane label="查询信息" name="infsea">
<c-content :height="120"> <c-content :height="120">
<m-infsea :model="model" :codes="codes" /> <m-infsea :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="汇款信息" name="infconp"> <el-tab-pane label="汇款信息" name="infconp">
<c-content> <c-content>
...@@ -97,6 +98,15 @@ ...@@ -97,6 +98,15 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<div>
<c-button
v-show="showPanel"
style="margin-left: 90%;bottom: 10%;position:sticky"
size="small"
@click="showPanel=false">
返回
</c-button>
</div>
</div> </div>
</template> </template>
<script> <script>
...@@ -151,7 +161,7 @@ ...@@ -151,7 +161,7 @@
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "infsea", tabVal: "",
trnName: "infcpd", trnName: "infcpd",
model: new Infcpd().data, model: new Infcpd().data,
checkRules: Check, checkRules: Check,
...@@ -160,12 +170,21 @@ ...@@ -160,12 +170,21 @@
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
showflg: true, showflg: true,
showPanel:false,
} }
}, },
methods: { methods: {
tabClick() { tabClick() {
} },
async updateShowPanel(value) {
this.showPanel = value;
if(value){
this.tabVal = "infconp"
}else{
this.tabVal = ""
}
},
}, },
created: async function () { created: async function () {
console.log("进入infcpd交易"); console.log("进入infcpd交易");
......
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