Commit 747b6bdf by 傅凯

修改布局trnrel

parent dd1045ed
<template>
<div class="eContainer" style="height:100%">
<c-page title="业务详情">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<el-col :span="2">
<el-button size="small" type="primary" @click="onDsp">
明细
</el-button>
</el-col>
<el-col :span="2">
<el-button size="small" type="primary" @click="onRelrow">
复核
</el-button>
</el-col>
<el-col :span="2">
<el-button size="small" type="primary" @click="onReprow">
退回更正
</el-button>
</el-col>
<el-col :span="18">
<el-button size="small" type="primary" @click="onExi">
退出
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="业务参考号">
<el-input v-model="model.trn.ownref" maxlength="16" placeholder="请输入业务参考号"></el-input>
<el-input v-model="model.trn.ownref" maxlength="16" :readonly="true" placeholder="请输入业务参考号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="索引">
<el-input v-model="model.trn.inr" maxlength="8" placeholder="请输入索引"></el-input>
<el-input v-model="model.trn.inr" maxlength="8" :readonly="true" placeholder="请输入索引"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交易描述">
<el-input v-model="model.trn.objnam" maxlength="40" placeholder="请输入交易描述"></el-input>
<el-input v-model="model.trn.objnam" maxlength="40" :readonly="true" placeholder="请输入交易描述"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanDet">
明细
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="交易编码">
<el-input v-model="model.trn.inifrm" maxlength="6" placeholder="请输入交易编码"></el-input>
<el-input v-model="model.trn.inifrm" maxlength="6" :readonly="true" placeholder="请输入交易编码"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="业务币种金额">
<el-select v-model="model.trn.reloricur" style="width:100%" placeholder="请选择业务币种金额">
<el-select v-model="model.trn.reloricur" style="width:100%" :disabled="true" placeholder="请选择业务币种金额">
<el-option
v-for="item in codes.curtxt"
:key="item.value"
......@@ -64,14 +40,14 @@
</el-col>
<el-col :span="12">
<el-form-item label="换算金额">
<el-input v-model="model.trn.reloriamt" placeholder="请输入换算金额"></el-input>
<el-input v-model="model.trn.reloriamt" :readonly="true" placeholder="请输入换算金额"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="交易状态">
<el-select v-model="model.trn.relflg" style="width:100%" placeholder="请选择交易状态">
<el-select v-model="model.trn.relflg" style="width:100%" :disabled="true" placeholder="请选择交易状态">
<el-option
v-for="item in codes.relflg"
:key="item.value"
......@@ -85,58 +61,46 @@
<el-col :span="12">
<el-form-item label="经办柜员">
<el-input v-model="model.trn.usr" maxlength="8" placeholder="请输入经办柜员"></el-input>
<el-input v-model="model.trn.usr" maxlength="8" :readonly="true" placeholder="请输入经办柜员"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="用户组">
<el-input v-model="model.trn.usg" maxlength="6" placeholder="请输入用户组"></el-input>
<el-input v-model="model.trn.usg" maxlength="6" :readonly="true" placeholder="请输入用户组"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanButshw">
面函展示
</el-button>
</el-col>
<el-col :span="12">
<el-form-item label="前手流水号">
<el-input v-model="model.trn.cortrninr" maxlength="8" placeholder="请输入前手流水号"></el-input>
<el-input v-model="model.trn.cortrninr" maxlength="8" :readonly="true" placeholder="请输入前手流水号"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="执行日期">
<el-date-picker type="date" v-model="model.trn.exedat" style="width:100%" placeholder="请选择执行日期"></el-date-picker>
<el-date-picker type="date" v-model="model.trn.exedat" style="width:100%" :readonly="true" placeholder="请选择执行日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="提交柜员">
<el-input v-model="model.recpan.cretrs.usr" maxlength="8" placeholder="请输入提交柜员"></el-input>
<el-input v-model="model.recpan.cretrs.usr" maxlength="8" :readonly="true" placeholder="请输入提交柜员"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="提交时间">
<el-input v-model="model.recpan.cretrs.dattim" placeholder="请输入提交时间"></el-input>
<el-input :value="dateFormat(model.recpan.cretrs.dattim,'yyyy/MM/dd hh:mm:ss')" :readonly="true" placeholder="请输入提交时间"></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanInc">
来报
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-col :span="22" :offset="1">
<p>面函报文</p>
<el-table
:data="model.recpan.smhlst"
style="width: 100%"
......@@ -145,28 +109,31 @@
prop="cortyp"
label="传送方式"
sortable
width="100">
>
</el-table-column>
<el-table-column
prop="extkey"
label="面函/报文"
sortable
width="120">
>
</el-table-column>
<el-table-column
prop="nam"
label="面函/报文名称"
sortable
width="200">
>
</el-table-column>
<el-table-column
prop="op"
label="操作"
>
<template slot-scope="scope">
<el-button size="mini" @click="onRecpanButshw(scope.row)">显示</el-button>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_smhlst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<!-- <el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanIncall">
Show all inc
</el-button>
......@@ -180,127 +147,136 @@
<el-button size="small" type="primary" @click="onRecpanButspt">
Pending item
</el-button>
</el-col>
</el-col> -->
<el-col :span="12">
<el-form-item label="意见">
<el-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入意见" ></el-input>
<!-- <el-col :span="12">
<el-form-item label="报文信息">
<el-input type="textarea" v-model="model.recpan.docinf" maxlength="200" show-word-limit placeholder="请输入报文信息" ></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
</el-col> -->
<el-col :span="22" :offset="1">
<p>工作服务流程</p>
<el-table
:data="model.recpan.trslst"
:data="model.recpan.wfelst"
style="width: 100%"
>
<el-table-column
prop="sigidx"
label="签名顺序"
sortable
width="100">
</el-table-column>
<el-table-column
prop="usr"
label="柜员"
prop="srvsub"
label="服务码"
sortable
width="100">
>
</el-table-column>
<el-table-column
prop="dattim"
label="日期/时间"
prop="srvnam"
label="服务名"
sortable
width="100">
>
</el-table-column>
<el-table-column
prop="flg"
label="操作"
prop="sta"
label="状态"
sortable
width="100">
>
<template slot-scope="scope">
<span>{{ findCodeLabel(codes.oratyp,scope.row.typ) }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_trslst.total">
</el-pagination>
</div>
</el-col>
<el-col :span="12">
<el-form-item label="报文信息">
<el-input type="textarea" v-model="model.recpan.docinf" maxlength="200" show-word-limit placeholder="请输入报文信息" ></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.recpan.wfelst"
style="width: 100%"
>
<el-table-column
prop="srv"
label=""
prop="rtycnt"
label="重调次数"
sortable
width="100">
>
</el-table-column>
<el-table-column
prop="srvsub"
label=""
prop="lev"
label="优先级"
sortable
width="100">
>
</el-table-column>
<el-table-column
prop="sta"
label=""
prop="txt"
label="返回信息"
sortable
width="100">
<template slot-scope="scope">
<span>{{ findCodeLabel(codes.oratyp,scope.row.typ) }}</span>
</template>
>
</el-table-column>
</el-table>
</el-col>
<el-col :span="22" :offset="1">
<p>签字列表</p>
<el-table
:data="model.recpan.trslst"
style="width: 100%"
>
<el-table-column
prop="srvnam"
label=""
prop="sigidx"
label="签名顺序"
sortable
width="100">
>
</el-table-column>
<el-table-column
prop="rtycnt"
label=""
prop="usr"
label="柜员"
sortable
width="100">
>
</el-table-column>
<el-table-column
prop="lev"
label=""
prop="dattim"
label="日期/时间"
sortable
width="100">
>
<template slot-scope="scope">
{{dateFormat(scope.row.dattim)}}
</template>
</el-table-column>
<el-table-column
prop="txt"
label=""
prop="flg"
label="操作"
sortable
width="100">
>
<template slot-scope="scope">
<span>{{ findCodeLabel(codes.oratyp,scope.row.typ) }}</span>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_wfelst.total">
</el-pagination>
</div>
</el-col>
</el-form>
</div>
<el-col :span="22" :offset="1" style="margin:2em 0">
<el-form-item label="操作意见">
<el-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入意见" ></el-input>
</el-form-item>
</el-col>
<el-col :span="22" :offset="1" style="text-align:center">
<el-button size="small" type="primary" @click="onDsp">
明细
</el-button>
<el-button size="small" type="primary" @click="onRelrow">
复核
</el-button>
<el-button size="small" type="primary" @click="onReprow">
退回更正
</el-button>
<el-button size="small" type="primary" @click="onExi">
退出
</el-button>
</el-col>
</el-form>
</c-page>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Utils from "~/utils"
export default {
data(){
......@@ -574,7 +550,7 @@ export default {
})
},
},
created:async function(){
mounted:async function(){
console.log("进入trndtl交易");
console.log("param:"+this.$route.query.ownref);
var trninr = this.$route.query.inr
......@@ -582,7 +558,8 @@ export default {
if(rtnmsg.code == SUCCESS)
{
//TODO 处理数据逻辑
this.model.recpan.trn=rtnmsg.data
// this.model.recpan.trn=rtnmsg.data
Utils.copyValueFromVO(this.model,rtnmsg.data)
}
else
{
......
<template>
<div class="eContainer">
<c-page title="复核夹查询">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="100px" size="small">
<el-col :span="12">
......@@ -53,17 +53,22 @@
</el-form-item>
</el-col>
<el-col :span="24">
<el-button size="small" type="primary" @click="onSearow">
<el-col :span="24" style="text-align:right;">
<el-button size="small" type="primary" icon="el-icon-search" @click="onSearow">
查询
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_trnlst.total">
</el-pagination>
<el-table
:data="model.recpan.trnlst"
style="width: 100%"
style="width: 100%;"
max-height="300"
size="mini"
>
<el-table-column
prop="ininam"
......@@ -71,13 +76,13 @@
sortable
width="100">
</el-table-column>
<el-table-column
<!-- <el-table-column
prop="inr"
label="索引"
v-if="show"
sortable
width="100">
</el-table-column>
width="100">
</el-table-column>-->
<el-table-column
prop="ownref"
label="业务编号"
......@@ -107,6 +112,9 @@
label="创建时间"
sortable
width="100">
<template slot-scope="scope">
{{dateFormat(scope.row.inidattim)}}
</template>
</el-table-column>
<el-table-column
prop="relreq"
......@@ -138,15 +146,10 @@
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_trnlst.total">
</el-pagination>
</div>
</el-col>
</el-form>
</div>
</c-page>
</template>
<script>
import Api from "~/service/Api"
......@@ -439,18 +442,9 @@ export default {
})
},
},
created:async function(){
mounted:async function(){
console.log("进入trnrel交易");
let rtnmsg = await Api.post("trnrel/init",{params:{}})
if(rtnmsg.code == SUCCESS)
{
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
this.onSearow()
}
}
</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