Commit 747b6bdf by 傅凯

修改布局trnrel

parent dd1045ed
<template> <template>
<div class="eContainer" style="height:100%"> <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="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-col :span="12">
<el-form-item label="业务参考号"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="索引"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="交易描述"> <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-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanDet">
明细
</el-button>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="交易编码"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="业务币种金额"> <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 <el-option
v-for="item in codes.curtxt" v-for="item in codes.curtxt"
:key="item.value" :key="item.value"
...@@ -64,14 +40,14 @@ ...@@ -64,14 +40,14 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="换算金额"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="交易状态"> <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 <el-option
v-for="item in codes.relflg" v-for="item in codes.relflg"
:key="item.value" :key="item.value"
...@@ -85,58 +61,46 @@ ...@@ -85,58 +61,46 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="经办柜员"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="用户组"> <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-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanButshw">
面函展示
</el-button>
</el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="前手流水号"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="执行日期"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="提交柜员"> <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-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="提交时间"> <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-form-item>
</el-col> </el-col>
<el-col :span="22" :offset="1">
<el-col :span="12"> <p>面函报文</p>
<el-button size="small" type="primary" @click="onRecpanInc">
来报
</el-button>
</el-col>
<el-col :span="24">
<div class="e-table-wrapper">
<el-table <el-table
:data="model.recpan.smhlst" :data="model.recpan.smhlst"
style="width: 100%" style="width: 100%"
...@@ -145,28 +109,31 @@ ...@@ -145,28 +109,31 @@
prop="cortyp" prop="cortyp"
label="传送方式" label="传送方式"
sortable sortable
width="100"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="extkey" prop="extkey"
label="面函/报文" label="面函/报文"
sortable sortable
width="120"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="nam" prop="nam"
label="面函/报文名称" label="面函/报文名称"
sortable 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-column>
</el-table> </el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.recpan_smhlst.total">
</el-pagination>
</div>
</el-col> </el-col>
<el-col :span="12"> <!-- <el-col :span="12">
<el-button size="small" type="primary" @click="onRecpanIncall"> <el-button size="small" type="primary" @click="onRecpanIncall">
Show all inc Show all inc
</el-button> </el-button>
...@@ -180,127 +147,136 @@ ...@@ -180,127 +147,136 @@
<el-button size="small" type="primary" @click="onRecpanButspt"> <el-button size="small" type="primary" @click="onRecpanButspt">
Pending item Pending item
</el-button> </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-form-item>
</el-col> </el-col> -->
<el-col :span="24">
<div class="e-table-wrapper">
<el-col :span="22" :offset="1">
<p>工作服务流程</p>
<el-table <el-table
:data="model.recpan.trslst" :data="model.recpan.wfelst"
style="width: 100%" style="width: 100%"
> >
<el-table-column <el-table-column
prop="sigidx" prop="srvsub"
label="签名顺序" label="服务码"
sortable
width="100">
</el-table-column>
<el-table-column
prop="usr"
label="柜员"
sortable sortable
width="100"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="dattim" prop="srvnam"
label="日期/时间" label="服务名"
sortable sortable
width="100"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="flg" prop="sta"
label="操作" label="状态"
sortable sortable
width="100"> >
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ findCodeLabel(codes.oratyp,scope.row.typ) }}</span> <span>{{ findCodeLabel(codes.oratyp,scope.row.typ) }}</span>
</template> </template>
</el-table-column> </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 <el-table-column
prop="srv" prop="rtycnt"
label="" label="重调次数"
sortable sortable
width="100"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="srvsub" prop="lev"
label="" label="优先级"
sortable sortable
width="100"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="sta" prop="txt"
label="" label="返回信息"
sortable sortable
width="100"> >
<template slot-scope="scope">
<span>{{ findCodeLabel(codes.oratyp,scope.row.typ) }}</span>
</template>
</el-table-column> </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 <el-table-column
prop="srvnam" prop="sigidx"
label="" label="签名顺序"
sortable sortable
width="100"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="rtycnt" prop="usr"
label="" label="柜员"
sortable sortable
width="100"> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="lev" prop="dattim"
label="" label="日期/时间"
sortable sortable
width="100"> >
<template slot-scope="scope">
{{dateFormat(scope.row.dattim)}}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="txt" prop="flg"
label="" label="操作"
sortable sortable
width="100"> >
<template slot-scope="scope">
<span>{{ findCodeLabel(codes.oratyp,scope.row.typ) }}</span>
</template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination </el-col>
layout="prev, pager, next" <el-col :span="22" :offset="1" style="margin:2em 0">
:total="pager.recpan_wfelst.total"> <el-form-item label="操作意见">
</el-pagination> <el-input type="textarea" v-model="model.trn.inftxt" maxlength="65" show-word-limit placeholder="请输入意见" ></el-input>
</div> </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-col>
</el-form> </el-form>
</div>
</c-page>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Utils from "~/utils"
export default { export default {
data(){ data(){
...@@ -574,7 +550,7 @@ export default { ...@@ -574,7 +550,7 @@ export default {
}) })
}, },
}, },
created:async function(){ mounted:async function(){
console.log("进入trndtl交易"); console.log("进入trndtl交易");
console.log("param:"+this.$route.query.ownref); console.log("param:"+this.$route.query.ownref);
var trninr = this.$route.query.inr var trninr = this.$route.query.inr
...@@ -582,7 +558,8 @@ export default { ...@@ -582,7 +558,8 @@ export default {
if(rtnmsg.code == SUCCESS) if(rtnmsg.code == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.model.recpan.trn=rtnmsg.data // this.model.recpan.trn=rtnmsg.data
Utils.copyValueFromVO(this.model,rtnmsg.data)
} }
else else
{ {
......
<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