Commit 747b6bdf by 傅凯

修改布局trnrel

parent dd1045ed
<template> <template>
<div class="eContainer"> <c-page title="复核夹查询">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<el-col :span="12"> <el-col :span="12">
...@@ -53,17 +53,22 @@ ...@@ -53,17 +53,22 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24" style="text-align:right;">
<el-button size="small" type="primary" @click="onSearow"> <el-button size="small" type="primary" icon="el-icon-search" @click="onSearow">
查询 查询
</el-button> </el-button>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<div class="e-table-wrapper"> <el-pagination
layout="prev, pager, next"
:total="pager.recpan_trnlst.total">
</el-pagination>
<el-table <el-table
:data="model.recpan.trnlst" :data="model.recpan.trnlst"
style="width: 100%" style="width: 100%;"
max-height="300"
size="mini"
> >
<el-table-column <el-table-column
prop="ininam" prop="ininam"
...@@ -71,13 +76,13 @@ ...@@ -71,13 +76,13 @@
sortable sortable
width="100"> width="100">
</el-table-column> </el-table-column>
<el-table-column <!-- <el-table-column
prop="inr" prop="inr"
label="索引" label="索引"
v-if="show" v-if="show"
sortable sortable
width="100"> width="100">
</el-table-column> </el-table-column>-->
<el-table-column <el-table-column
prop="ownref" prop="ownref"
label="业务编号" label="业务编号"
...@@ -107,6 +112,9 @@ ...@@ -107,6 +112,9 @@
label="创建时间" label="创建时间"
sortable sortable
width="100"> width="100">
<template slot-scope="scope">
{{dateFormat(scope.row.inidattim)}}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="relreq" prop="relreq"
...@@ -138,15 +146,10 @@ ...@@ -138,15 +146,10 @@
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_trnlst.total">
</el-pagination>
</div>
</el-col> </el-col>
</el-form> </el-form>
</div> </c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
...@@ -439,18 +442,9 @@ export default { ...@@ -439,18 +442,9 @@ export default {
}) })
}, },
}, },
created:async function(){ mounted:async function(){
console.log("进入trnrel交易"); console.log("进入trnrel交易");
let rtnmsg = await Api.post("trnrel/init",{params:{}}) this.onSearow()
if(rtnmsg.code == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} }
</script> </script>
......
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