Commit 7851fe7d by liushikai

汇款查询

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