Commit bffe496d by nanrui

UI问题解决

parent d1faa952
...@@ -29,7 +29,7 @@ export default class Sptsel { ...@@ -29,7 +29,7 @@ export default class Sptsel {
yptinf: "", // 退回原因 .yptinf yptinf: "", // 退回原因 .yptinf
chkypt: "", // 云平台 .chkypt chkypt: "", // 云平台 .chkypt
inidatfro: "", // Date of entry of Transaction .inidatfro inidatfro: "", // Date of entry of Transaction .inidatfro
inidattil: "", // Date of entry of Transaction until .inidattil inidattil: new Date(), // Date of entry of Transaction until .inidattil
routxt: "", // 已转报 .routxt routxt: "", // 已转报 .routxt
dflg: "", // 国内国际标志 .dflg dflg: "", // 国内国际标志 .dflg
chktco: "", // 网银 .chktco chktco: "", // 网银 .chktco
......
...@@ -6,7 +6,7 @@ export default class Trnrel { ...@@ -6,7 +6,7 @@ export default class Trnrel {
ownref: "", // Reference .trncorco.ownref ownref: "", // Reference .trncorco.ownref
relflg: "", // Status .trncorco.relflg relflg: "", // Status .trncorco.relflg
inidatfro: "", // Date of entry of Transaction .trncorco.inidatfro inidatfro: "", // Date of entry of Transaction .trncorco.inidatfro
inidattil: "", // Date of entry of Transaction until .trncorco.inidattil inidattil: new Date(), // Date of entry of Transaction until .trncorco.inidattil
trnstm: "", // List of transaction sfor display .trncorco.trnstm trnstm: "", // List of transaction sfor display .trncorco.trnstm
dflg: "", // 国内证标志 .trncorco.dflg dflg: "", // 国内证标志 .trncorco.dflg
selinr: {}, selinr: {},
......
...@@ -3,14 +3,13 @@ ...@@ -3,14 +3,13 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="包号" prop="cldgrp.rec.ownref"> <el-form-item label="包号" prop="cldgrp.rec.ownref">
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入Batch No." disabled> <c-input v-model="model.cldgrp.rec.ownref" maxlength="16" placeholder="请输入包号" disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="汇票类型" prop="cldgrp.rec.chktyp"> <el-form-item label="汇票类型" prop="cldgrp.rec.chktyp">
<c-select v-model="model.cldgrp.rec.chktyp" style="width: 100%" placeholder="请输入汇票类型" <c-select v-model="model.cldgrp.rec.chktyp" style="width: 100%" placeholder="请输入汇票类型" disabled>
disabled>
<el-option v-for="item in codes.chktyp" :key="item.value" :label="item.label" <el-option v-for="item in codes.chktyp" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
...@@ -22,22 +21,20 @@ ...@@ -22,22 +21,20 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="托收币种金额" prop="cldgrp.cbs.max.cur"> <el-form-item label="托收币种金额" prop="cldgrp.cbs.max.cur">
<c-input v-model="model.cldgrp.cbs.max.cur" style="width:100%" placeholder="请选择托收币种金额" <c-input v-model="model.cldgrp.cbs.max.cur" style="width:100%" placeholder="请选择托收币种金额" disabled>
disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="" label-width="0" prop="cldgrp.cbs.max.amt" style="width:100%"> <el-form-item label="" label-width="0" prop="cldgrp.cbs.max.amt" style="width:100%">
<c-input v-model.number="model.cldgrp.cbs.max.amt" style="width:100%" <c-input v-model.number="model.cldgrp.cbs.max.amt" style="width:100%" placeholder="请输入托收余额"
placeholder="请输入托收余额" disabled></c-input> disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="票据类型" prop="cldgrp.rec.colflg"> <el-form-item label="票据类型" prop="cldgrp.rec.colflg">
<c-select v-model="model.cldgrp.rec.colflg" style="width: 100%" placeholder="请输入票据类型" <c-select v-model="model.cldgrp.rec.colflg" style="width: 100%" placeholder="请输入票据类型" disabled>
disabled>
<el-option v-for="item in codes.colflg" :key="item.value" :label="item.label" <el-option v-for="item in codes.colflg" :key="item.value" :label="item.label"
:value="item.value"> :value="item.value">
</el-option> </el-option>
...@@ -50,8 +47,7 @@ ...@@ -50,8 +47,7 @@
<c-col :span="11"> <c-col :span="11">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="托收余额" prop="cldgrp.cbs.opn1.cur"> <el-form-item label="托收余额" prop="cldgrp.cbs.opn1.cur">
<c-input v-model="model.cldgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择托收余额" <c-input v-model="model.cldgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择托收余额" disabled>
disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -77,8 +73,7 @@ ...@@ -77,8 +73,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="11"> <c-col :span="11">
<el-form-item label="代收行名称" prop="cldgrp.rec.colptynam"> <el-form-item label="代收行名称" prop="cldgrp.rec.colptynam">
<c-input v-model="model.cldgrp.rec.colptynam" maxlength="40" placeholder="请输入代收行名称" <c-input v-model="model.cldgrp.rec.colptynam" maxlength="40" placeholder="请输入代收行名称" disabled>
disabled>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -182,5 +177,4 @@ export default { ...@@ -182,5 +177,4 @@ export default {
} }
</script> </script>
<style> <style>
</style> </style>
...@@ -140,7 +140,10 @@ ...@@ -140,7 +140,10 @@
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true"> <c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<el-table-column fixed="right" prop="op" label="操作" width="150px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header">
<c-col :span="11" style="text-align: center"><span>操作</span></c-col>
</template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-popover placement="top-start" title="历史信息" width="800" trigger="click" <el-popover placement="top-start" title="历史信息" width="800" trigger="click"
:ref="'popover_' + scope.row.IDX"> :ref="'popover_' + scope.row.IDX">
......
...@@ -3,68 +3,37 @@ ...@@ -3,68 +3,37 @@
<!-- <c-list-search @form-reset="handleReset" @form-search="handleSearch"> --> <!-- <c-list-search @form-reset="handleReset" @form-search="handleSearch"> -->
<!-- <template v-slot="searchSlot"> --> <!-- <template v-slot="searchSlot"> -->
<el-form <el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="right" label-width="110px"
class="m-table-search-form" size="small">
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<el-row> <el-row>
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务编号" prop="selobj" style="width: 100%"> <el-form-item label="业务编号" prop="selobj" style="width: 100%">
<c-input <c-input style="width: 100%" v-model="model.selobj" maxlength="32" placeholder="请输入业务编号"></c-input>
style="width: 100%"
v-model="model.selobj"
maxlength="32"
placeholder="请输入业务编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="创建时间" style="width: 100%"> <el-form-item label="创建时间" style="width: 100%">
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker type="date" v-model="model.inidatfro" style="width: 100%" placeholder="请选择创建时间">
type="date" </c-date-picker>
v-model="model.inidatfro"
style="width: 100%"
placeholder="请选择创建时间"
></c-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker type="date" v-model="model.inidattil" style="width: 100%" placeholder="请选择创建时间">
type="date" </c-date-picker>
v-model="model.inidattil"
style="width: 100%"
placeholder="请选择创建时间"
></c-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="来源" style="width: 100%" prop="sourceModel"> <el-form-item label="来源" style="width: 100%" prop="sourceModel">
<el-select <el-select clearable v-model="sourceModel" style="width: 100%" placeholder="请选择来源" multiple collapse-tags
clearable @change="sourceChangeEvent">
v-model="sourceModel" <el-option v-for="item in sourceData" :key="item.value" :label="item.label" :value="item.value">
style="width: 100%"
placeholder="请选择来源"
multiple
collapse-tags
@change="sourceChangeEvent"
>
<el-option
v-for="item in sourceData"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
...@@ -75,23 +44,10 @@ ...@@ -75,23 +44,10 @@
<el-row> <el-row>
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="选择用户" prop="usfmod.flt" style="width: 100%">
label="选择用户"
prop="usfmod.flt"
style="width: 100%"
>
<!-- <c-col :span="20"> --> <!-- <c-col :span="20"> -->
<c-select <c-select v-model="model.usfmod.flt" style="width: 100%" placeholder="请选择选择用户">
v-model="model.usfmod.flt" <el-option v-for="item in codes.flt" :key="item.value" :label="item.label" :value="item.value">
style="width: 100%"
placeholder="请选择选择用户"
>
<el-option
v-for="item in codes.flt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
<!-- </c-col> --> <!-- </c-col> -->
...@@ -110,21 +66,13 @@ ...@@ -110,21 +66,13 @@
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务描述" prop="seltxt" style="width: 100%"> <el-form-item label="业务描述" prop="seltxt" style="width: 100%">
<c-input <c-input v-model="model.seltxt" maxlength="32" placeholder="请输入业务描述"></c-input>
v-model="model.seltxt"
maxlength="32"
placeholder="请输入业务描述"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="业务标志" prop="dflg" style="width: 100%"> <el-form-item label="业务标志" prop="dflg" style="width: 100%">
<c-select <c-select v-model="model.dflg" style="width: 100%" placeholder="请选择国内国际标志">
v-model="model.dflg"
style="width: 100%"
placeholder="请选择国内国际标志"
>
<el-option label="所有业务" value="1"></el-option> <el-option label="所有业务" value="1"></el-option>
<el-option label="国内业务" value="2"></el-option> <el-option label="国内业务" value="2"></el-option>
<el-option label="国际业务" value="3"></el-option> <el-option label="国际业务" value="3"></el-option>
...@@ -146,21 +94,12 @@ ...@@ -146,21 +94,12 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8" v-else> <c-col :span="8" v-else>
<el-form-item <el-form-item label="" style="width: 100%; height: 36.8px; margin: 0 0 0 0">
label=""
style="width: 100%; height: 36.8px; margin: 0 0 0 0"
>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="16" style="text-align: right"> <c-col :span="16" style="text-align: right">
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset">重置</el-button>
<el-button <el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button>
type="primary"
icon="el-icon-search"
size="small"
@click="handleSearch"
>查询</el-button
>
</c-col> </c-col>
</c-col> </c-col>
</el-row> </el-row>
...@@ -169,63 +108,42 @@ ...@@ -169,63 +108,42 @@
<c-col :span="24" style=""> <c-col :span="24" style="">
<div style="border-bottom: 10px solid rgb(232, 232, 232)"></div> <div style="border-bottom: 10px solid rgb(232, 232, 232)"></div>
</c-col> </c-col>
<el-row> <c-col :span="24">
<c-col :span="24" style=""> <c-istream-table :list="stmData.data" :columns="stmData.columns" :showButtonFlg="true">
<c-istream-table <c-table-column fixed="right" prop="op" label="操作" width="165px" >
:list="stmData.data" <template slot="header">
:columns="stmData.columns" <c-col :span="11" style="text-align:center"><span>操作</span></c-col>
:showButtonFlg="true" </template>
> <template slot-scope="scope">
<c-table-column fixed="right" prop="op" label="操作" width="165px"> <c-button style="margin-left: 0" size="small" @click="onDetails(scope.$index, scope.row)">详情
<template slot-scope="{ scope }"> </c-button>
<c-button <c-button style="margin-left: 0" size="small" type="primary" @click="continueEdit(scope.row)">处理
style="margin-left: 0" </c-button>
size="small" <!-- <c-button
@click="onDetails(scope.$index, scope.row)"
>详情
</c-button>
<c-button
style="margin-left: 0"
size="small"
type="primary"
@click="continueEdit(scope.row)"
>处理
</c-button>
<!-- <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="choose(scope.$index)" @click="choose(scope.$index)"
>选择 >选择
</c-button> --> </c-button> -->
<el-popover placement="top-start" width="50" trigger="click"> <el-popover placement="top-start" width="50" trigger="click">
<!-- <c-button type="primary" size="small">指派</c-button> <!-- <c-button type="primary" size="small">指派</c-button>
<c-button type="primary" size="small">删除</c-button> --> <c-button type="primary" size="small">删除</c-button> -->
<ul class="table-button-item-list"> <ul class="table-button-item-list">
<li> <li>
<c-button size="small" style="margin-left: 0" <c-button size="small" style="margin-left: 0">指派</c-button>
>指派</c-button </li>
> <li>
</li> <c-button size="small" style="margin-left: 0">删除</c-button>
<li> </li>
<c-button size="small" style="margin-left: 0" </ul>
>删除</c-button <a slot="reference" href="javascript:void(0)" style="margin-left: 5px"><i class="el-icon-more"></i></a>
> </el-popover>
</li> </template>
</ul> </c-table-column>
<a </c-istream-table>
slot="reference" </c-col>
href="javascript:void(0)"
style="margin-left: 5px"
><i class="el-icon-more"></i
></a>
</el-popover>
</template>
</c-table-column>
</c-istream-table>
</c-col>
</el-row>
<el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body> <el-dialog :visible.sync="initdialog" :title="'交易列表'" append-to-body>
<div class="m-list-btns"></div> <div class="m-list-btns"></div>
</el-dialog> </el-dialog>
...@@ -263,7 +181,7 @@ export default { ...@@ -263,7 +181,7 @@ export default {
// setColumn: [], // setColumn: [],
stmData: { stmData: {
columns: [ columns: [
'4 1 "交易代码" 80 ', '4 1 "交易代码" 100 ',
'5 2 "业务编号" 300', '5 2 "业务编号" 300',
'6 3 "交易名称" 150', '6 3 "交易名称" 150',
//'1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA', //'1 4 "状态" 60 1 tdViewTypeEdit:0 1 SPT:STA',
...@@ -276,7 +194,7 @@ export default { ...@@ -276,7 +194,7 @@ export default {
code: this.codes.sptrelstatus, code: this.codes.sptrelstatus,
}, },
'17 5 "报文类型" 100', '17 5 "报文类型" 100',
'18 6 "对方银行BIC" 110', '18 6 "对方银行BIC" 130',
// '7 7 "创建时间" 160 20 DateTime 1', // '7 7 "创建时间" 160 20 DateTime 1',
{ {
index: 7, index: 7,
...@@ -285,14 +203,14 @@ export default { ...@@ -285,14 +203,14 @@ export default {
pattern: "time", pattern: "time",
label: "创建时间", label: "创建时间",
}, },
'19 8 "币种" 50', '19 8 "币种" 70',
'20 9 "金额" 69 2 8 1 16', '20 9 "金额" 100 2 8 1 16',
'8 10 "创建人" 80', '8 10 "创建人" 100',
'3 11 "当前操作柜员" 100', '3 11 "当前操作柜员" 120',
'3 12 "当前组别" 100', '3 12 "当前组别" 100',
'3 13 "上次操作柜员" 100', '3 13 "上次操作柜员" 120',
'3 14 "来源" 50', '3 14 "来源" 70',
'3 15 "提示" 50 1 20:0 1 FormatINFDSP', '3 15 "提示" 70 1 20:0 1 FormatINFDSP',
// "19 15 \"Key\" 90", // "19 15 \"Key\" 90",
'3 16 "提示信息" 300', '3 16 "提示信息" 300',
], ],
...@@ -328,7 +246,7 @@ export default { ...@@ -328,7 +246,7 @@ export default {
// async choose(idx,row){ // async choose(idx,row){
// var params = {selDst:"sptstm",selrow:[idx+1]} // var params = {selDst:"sptstm",selrow:[idx+1]}
// let rtnmsg = await this.executeRule("sptstm" , params) //SPTSTM // let rtnmsg = await this.executeRule("sptstm" , params) //SPTSTM
// if(rtnmsg.respCode == SUCCESS) // if(rtnmsg.respCode == SUCCESS)
// { // {
...@@ -338,10 +256,15 @@ export default { ...@@ -338,10 +256,15 @@ export default {
// { // {
// this.$notify.error({title: '错误',message: '服务请求失败!'}); // this.$notify.error({title: '错误',message: '服务请求失败!'});
// } // }
// }, // },
...Event, ...Event,
getInidatfro() {
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 10);
this.model.inidatfro = new Date(datetime);
}
}, },
created: function () { created: function () {
// this.setColumn = this.stmData.columns.map((item, index) => { // this.setColumn = this.stmData.columns.map((item, index) => {
...@@ -351,6 +274,7 @@ export default { ...@@ -351,6 +274,7 @@ export default {
// return { label, value: true, index }; // return { label, value: true, index };
// }); // });
// this.columnGroup = this.setColumn.map((item) => item.index); // this.columnGroup = this.setColumn.map((item) => item.index);
this.getInidatfro();
}, },
}; };
</script> </script>
...@@ -368,6 +292,7 @@ export default { ...@@ -368,6 +292,7 @@ export default {
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
.table-button-item-list li { .table-button-item-list li {
list-style: none; list-style: none;
padding: 5px 0; padding: 5px 0;
...@@ -375,4 +300,9 @@ export default { ...@@ -375,4 +300,9 @@ export default {
color: #606266; color: #606266;
cursor: pointer; cursor: pointer;
} }
c-istream-table label {
text-align: right;
color: yellow;
}
</style> </style>
<template> <template>
<div class="eContainer-search"> <div class="eContainer-search">
<el-form <el-form :model="model" :rules="rules" ref="modelForm" tokenKey="modelForm" label-width="120px" size="small"
:model="model" :validate-on-rule-change="false">
:rules="rules"
ref="modelForm"
tokenKey="modelForm"
label-width="120px"
size="small"
:validate-on-rule-change="false"
>
<!-- <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> --> <!-- <c-tabs :value="tabVal" ref="elment" type="card" @tab-click="tabClick"> -->
<!-- <el-tab-pane :value="tabVal" label="待办任务查询" name="menu"> --> <!-- <el-tab-pane :value="tabVal" label="待办任务查询" name="menu"> -->
<!-- <c-content> --> <c-content>
<m-menu :model="model" :codes="codes" ref="菜单" /> <m-menu :model="model" :codes="codes" ref="菜单" />
<!-- </c-content> --> </c-content>
<!-- </el-tab-pane> --> <!-- </el-tab-pane> -->
<!-- </c-tabs> --> <!-- </c-tabs> -->
</el-form> </el-form>
...@@ -74,4 +67,5 @@ export default { ...@@ -74,4 +67,5 @@ export default {
}; };
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- <c-list-search @form-reset="handleReset" @form-search="handleSearch"> --> <!-- <c-list-search @form-reset="handleReset" @form-search="handleSearch"> -->
<!-- <template v-slot="searchSlot"> --> <!-- <template v-slot="searchSlot"> -->
<el-form <el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="right" label-width="110px"
class="m-table-search-form" size="small">
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<el-row> <el-row>
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="业务编号" prop="trncorco.ownref" style="width: 100%">
label="业务编号" <c-input v-model="model.trncorco.ownref" maxlength="16" placeholder="请输入业务编号"></c-input>
prop="trncorco.ownref"
style="width: 100%"
>
<c-input
v-model="model.trncorco.ownref"
maxlength="16"
placeholder="请输入业务编号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="创建时间" style="width: 100%" prop="trncorco.inidatfro"> <el-form-item label="创建时间" style="width: 100%" prop="trncorco.inidatfro">
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker type="date" v-model="model.trncorco.inidatfro" style="width: 100%" placeholder="请选择创建时间">
type="date" </c-date-picker>
v-model="model.trncorco.inidatfro"
style="width: 100%"
placeholder="请选择创建时间"
></c-date-picker>
</c-col> </c-col>
<c-col :span="2" style="text-align: center"> <c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label> <label style="display: inline-block; width: 100%">-</label>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<c-date-picker <c-date-picker type="date" v-model="model.trncorco.inidattil" style="width: 100%" placeholder="请选择创建时间">
type="date" </c-date-picker>
v-model="model.trncorco.inidattil"
style="width: 100%"
placeholder="请选择创建时间"
></c-date-picker>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="经办柜员" prop="usrcon" style="width: 100%">
label="经办柜员" <c-select v-model="model.usrcon" style="width: 100%" placeholder="请选择经办柜员">
prop="usrcon" <el-option v-for="item in codes.usrsort" :key="item.value" :label="item.label" :value="item.value">
style="width: 100%"
>
<c-select
v-model="model.usrcon"
style="width: 100%"
placeholder="请选择经办柜员"
>
<el-option
v-for="item in codes.usrsort"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -83,43 +48,17 @@ ...@@ -83,43 +48,17 @@
<el-row> <el-row>
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="业务状态" prop="trncorco.relflg" style="width: 100%">
label="业务状态" <c-select v-model="model.trncorco.relflg" style="width: 100%" placeholder="请选择业务状态">
prop="trncorco.relflg" <el-option v-for="item in relflgCodes" :key="item.value" :label="item.label" :value="item.value">
style="width: 100%"
>
<c-select
v-model="model.trncorco.relflg"
style="width: 100%"
placeholder="请选择业务状态"
>
<el-option
v-for="item in relflgCodes"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="业务机构" prop="bchcon" style="width: 100%">
label="业务机构" <c-select v-model="model.bchcon" style="width: 100%" placeholder="请选择业务机构">
prop="bchcon" <el-option v-for="item in codes.bchtyp" :key="item.value" :label="item.label" :value="item.value">
style="width: 100%"
>
<c-select
v-model="model.bchcon"
style="width: 100%"
placeholder="请选择业务机构"
>
<el-option
v-for="item in codes.bchtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -134,31 +73,17 @@ ...@@ -134,31 +73,17 @@
</c-col> --> </c-col> -->
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="交易代码" prop="atp.cod" style="width: 100%">
label="交易代码"
prop="atp.cod"
style="width: 100%"
>
<c-col :span="24"> <c-col :span="24">
<c-col :span="20"> <c-col :span="20">
<c-input <c-input v-model="model.atp.cod" maxlength="6" style="width: 95%" placeholder="请输入交易代码"
v-model="model.atp.cod" @keyup.enter.native="showGridPromptDialog('atp.cod')"></c-input>
maxlength="6"
style="width: 95%"
placeholder="请输入交易代码"
@keyup.enter.native="showGridPromptDialog('atp.cod')"
></c-input>
</c-col> </c-col>
<!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> --> <!-- <c-input v-model="model.atpget.sdamod.seainf" style="width:10%" placeholder="i"></c-input> -->
<c-col :span="4"> <c-col :span="4">
<c-button <c-button size="small" style="width:100%;margin-left:0" type="primary" @click="onSeainf"
size="small" icon="el-icon-search"></c-button>
style="width:100%;margin-left:0"
type="primary"
@click="onSeainf"
icon="el-icon-search"
></c-button>
</c-col> </c-col>
</c-col> </c-col>
</el-form-item> </el-form-item>
...@@ -166,44 +91,23 @@ ...@@ -166,44 +91,23 @@
</c-col> </c-col>
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="业务标志" prop="trncorco.dflg" style="width: 100%">
label="业务标志" <c-select v-model="model.trncorco.dflg" style="width: 100%" placeholder="请选择业务标志">
prop="trncorco.dflg" <el-option v-for="item in codes.dflg" :key="item.value" :label="item.label" :value="item.value">
style="width: 100%"
>
<c-select
v-model="model.trncorco.dflg"
style="width: 100%"
placeholder="请选择业务标志"
>
<el-option
v-for="item in codes.dflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item <el-form-item label="交易名称" prop="atptxt" style="width: 100%">
label="交易名称" <c-input v-model="model.atptxt" maxlength="37" placeholder="请输入交易名称"></c-input>
prop="atptxt"
style="width: 100%"
>
<c-input
v-model="model.atptxt"
maxlength="37"
placeholder="请输入交易名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8" style="text-align:right"> <c-col :span="8" style="text-align:right">
<el-button size="small" @click="handleReset">重置</el-button> <el-button size="small" @click="handleReset">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button> <el-button type="primary" icon="el-icon-search" size="small" @click="handleSearch">查询</el-button>
</c-col> </c-col>
</c-col> </c-col>
</el-row> </el-row>
</el-form> </el-form>
...@@ -212,38 +116,23 @@ ...@@ -212,38 +116,23 @@
<div style="border-bottom: 10px solid rgb(232, 232, 232)"> <div style="border-bottom: 10px solid rgb(232, 232, 232)">
</div> </div>
</c-col> </c-col>
<el-row> <el-row>
<c-col :span="24" style=""> <c-col :span="24" style="">
<c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%" :showButtonFlg="true"> <c-istream-table :list="stmData.data" :columns="stmData.columns" style="width:100%" :showButtonFlg="true">
<el-table-column <el-table-column fixed="right" prop="op" label="操作" width="140px">
fixed="right" <template slot="header">
prop="display" <c-col :span="11" style="text-align:center"><span>操作</span></c-col>
label="操作"
width="140px"
>
<template slot="header">
<c-col :span="11" style="text-align:left"><span>操作</span></c-col>
<!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> --> <!-- <c-col :span="12" style="text-align:right"><c-button icon="el-icon-s-tools"></c-button></c-col> -->
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button style="margin-left: 0" size="small" @click="onWaitDetail(scope.$index,scope.row)">
style="margin-left: 0"
size="small"
@click="onWaitDetail(scope.$index,scope.row)"
>
详情 详情
</c-button> </c-button>
<c-button <c-button style="margin-left: 0" size="small" type="primary" @click="onHandle(scope.$index,scope.row)">
style="margin-left: 0"
size="small"
type="primary"
@click="onHandle(scope.$index,scope.row)"
>
处理 处理
</c-button> </c-button>
<!-- <c-button <!-- <c-button
style="margin-left: 0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
...@@ -303,27 +192,29 @@ export default { ...@@ -303,27 +192,29 @@ export default {
// '0 12 "Status" 54 1 tdViewTypeEdit:0 1 RELSTA', // '0 12 "Status" 54 1 tdViewTypeEdit:0 1 RELSTA',
// ], // ],
columns: [ columns: [
'10 1 "交易代码" 80', '10 1 "交易代码" 100',
'11 2 "业务编号" 150', '11 2 "业务编号" 150',
'17 3 "摘要信息" 300', '17 3 "摘要信息" 300',
'12 4 "币种" 50', '12 4 "币种" 70',
'13 5 "金额" 100', '13 5 "金额" 100',
// '14 6 "创建时间" 170', // '14 6 "创建时间" 170',
{index:14,position:6,width:140,pattern:'time',label:'创建时间'}, { index: 14, position: 6, width: 140, pattern: 'time', label: '创建时间' },
'9 7 "签名要求" 70', '9 7 "签名要求" 100',
'2 8 "签名状态" 70', '2 8 "签名状态" 100',
'16 9 "经办柜员" 70', '16 9 "经办柜员" 100',
// '0 10 "业务状态" 80', // '0 10 "业务状态" 80',
{index:0,position:10,width:80,pattern:'code',label:'业务状态',code:[{label: "Waiting", value: "W"}, {
{ label: "Correct", value: "C" }, index: 0, position: 10, width: 100, pattern: 'code', label: '业务状态', code: [{ label: "Waiting", value: "W" },
{ label: "Picked up", value: "P" }, { label: "Correct", value: "C" },
{ label: "Rejected", value: "N" },]}, { label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" },]
},
'15 11 "业务机构" 120', '15 11 "业务机构" 120',
], ],
data: [], data: [],
}, },
relrowDisabled: true, relrowDisabled: true,
relflgCodes:[], relflgCodes: [],
Trnp0Visible: false, Trnp0Visible: false,
// multipleSelection: [], // multipleSelection: [],
}; };
...@@ -338,26 +229,34 @@ export default { ...@@ -338,26 +229,34 @@ export default {
// return this.multipleSelection.map((idx) => this.stmData.data[idx]); // return this.multipleSelection.map((idx) => this.stmData.data[idx]);
// }, // },
...Event, ...Event,
getInidatfro(){
let datetime = new Date();
datetime = datetime.setDate(datetime.getDate() - 1);
this.model.trncorco.inidatfro = new Date(datetime);
}
},
created: function () {
this.getInidatfro();
}, },
created: function () {},
async mounted() { async mounted() {
this.relflgCodes = [ this.relflgCodes = [
{ label: "ALL", value: "0" }, //待复核列表业务状态All { label: "ALL", value: "0" }, //待复核列表业务状态All
{ label: "Correct", value: "C" }, { label: "Correct", value: "C" },
// { label: "Closed", value: "M" }, // { label: "Closed", value: "M" },
// { label: "Entered", value: "E" }, // { label: "Entered", value: "E" },
// { label: "External", value: "X" }, // { label: "External", value: "X" },
{ label: "Picked up", value: "P" }, { label: "Picked up", value: "P" },
{ label: "Rejected", value: "N" }, { label: "Rejected", value: "N" },
{ label: "Waiting", value: "W" }, { label: "Waiting", value: "W" },
]; ];
// await this.handleSearch() // await this.handleSearch()
// this.$store.commit("setTaskList", {key: "trnrel", val: this.stmData.data.length}) // this.$store.commit("setTaskList", {key: "trnrel", val: this.stmData.data.length})
}, },
computed: {}, computed: {},
}; };
</script> </script>
<style> <style>
</style> </style>
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