Commit 74c7004b by LiRui

Cptati、Cptrel UI改造

parent 0bd97cc7
...@@ -55,8 +55,8 @@ ...@@ -55,8 +55,8 @@
show-word-limit placeholder="请输入收款人名称"></c-input> show-word-limit placeholder="请输入收款人名称"></c-input>
</c-col> </c-col>
<c-col :span="3" :offset="1" style="text-align: right"> <c-col :span="3" :offset="1" style="text-align: right">
确认
<c-checkbox v-model="temp" disabled></c-checkbox> <c-checkbox v-model="temp" disabled>确认</c-checkbox>
</c-col> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-form class="m-table-search-form" ref="paramsForm" :inline="true" label-position="right" label-width="110px" <el-form
size="small"> class="m-table-search-form"
ref="paramsForm"
:inline="true"
label-position="right"
label-width="110px"
size="small"
>
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item
label="用户选择"
prop="trncorco.usfmod.flt"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<el-form-item label="用户选择" prop="trncorco.usfmod.flt" style="width: 100%"> <c-select
<c-col :span="16"> v-model="model.trncorco.usfmod.flt"
<c-select v-model="model.trncorco.usfmod.flt" maxlength="16" placeholder="请输入用户选择"> maxlength="16"
<el-option v-for="item in flt" :key="item.value" :label="item.label" :value="item.value"> placeholder="请输入用户选择"
>
<el-option
v-for="item in flt"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</c-col> <template slot="footer">
<c-button size="small" type="primary"> 显示与过滤 </c-button>
<c-button size="small" type="primary">显示与过滤 </template>
</c-button>
</el-form-item>
</c-fullbox> </c-fullbox>
</el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<el-form-item label="汇款编号" prop="trncorco.ownref" style="width: 100%"> <el-form-item
<c-input v-model="model.trncorco.ownref" maxlength="16" placeholder="请输入业务编号"> label="汇款编号"
prop="trncorco.ownref"
style="width: 100%"
>
<c-input
v-model="model.trncorco.ownref"
maxlength="16"
placeholder="请输入业务编号"
>
</c-input> </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="trncorco.trntyp" style="width: 100%"> <el-form-item
<c-select v-model="model.trncorco.trntyp" style="width: 100%" placeholder="请选择汇款性质"> label="汇款性质"
<el-option v-for="item in trntyp" :key="item.value" :label="item.label" :value="item.value"></el-option> prop="trncorco.trntyp"
style="width: 100%"
>
<c-select
v-model="model.trncorco.trntyp"
style="width: 100%"
placeholder="请选择汇款性质"
>
<el-option
v-for="item in trntyp"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-row> </c-row>
<c-col :span="24" style="text-align: right; height: 36.8px" v-if="searchToggle"> <c-col
:span="24"
style="text-align: right; height: 36.8px"
v-if="searchToggle"
>
<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
>
<el-button type="text" @click="searchToggle = false"> <el-button type="text" @click="searchToggle = false">
展开 展开
<i class="el-icon-arrow-down"></i> <i class="el-icon-arrow-down"></i>
...@@ -50,15 +98,29 @@ ...@@ -50,15 +98,29 @@
<c-row v-show="!searchToggle"> <c-row v-show="!searchToggle">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="状态" prop="trncorco.relflg" style="width: 100%"> <el-form-item
<c-select v-model="model.trncorco.relflg" style="width: 100%" placeholder="请选择Status" :code="relflg"> label="状态"
prop="trncorco.relflg"
style="width: 100%"
>
<c-select
v-model="model.trncorco.relflg"
style="width: 100%"
placeholder="请选择Status"
:code="relflg"
>
</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 label="交易币种" prop="relcur" style="width: 100%"> <el-form-item label="交易币种" prop="relcur" style="width: 100%">
<c-select v-model="model.relcur" style="width: 100%" placeholder="请选择币种" :code="currencycode"> <c-select
v-model="model.relcur"
style="width: 100%"
placeholder="请选择币种"
:code="currencycode"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -82,31 +144,58 @@ ...@@ -82,31 +144,58 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="开立日期" prop="trncorco.inidatfro" style="width: 100%"> <el-form-item
label="开立日期"
prop="trncorco.inidatfro"
style="width: 100%"
>
<c-col :span="11"> <c-col :span="11">
<c-date-picker type="date" v-model="model.trncorco.inidatfro" value-format="yyyy-MM-dd" <c-date-picker
style="width: 100%" placeholder="请选择开立日期"></c-date-picker> type="date"
v-model="model.trncorco.inidatfro"
value-format="yyyy-MM-dd"
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 type="date" v-model="model.trncorco.inidattil" value-format="yyyy-MM-dd" <c-date-picker
style="width: 100%" placeholder="请选择Open Date to"></c-date-picker> type="date"
v-model="model.trncorco.inidattil"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Open Date to"
></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="客户号" prop="ptyextkey" style="width: 100%"> <el-form-item label="客户号" prop="ptyextkey" style="width: 100%">
<c-input v-model="model.ptyextkey" placeholder="请输入客户号"></c-input> <c-input
v-model="model.ptyextkey"
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="branch" style="width: 100%"> <el-form-item label="分行" prop="branch" style="width: 100%">
<c-select v-model="model.branch" maxlength="24" style="width: 100%" placeholder="请输入分行"> <c-select
<el-option v-for="item in branch" :key="item.value" :label="item.label" :value="item.value"></el-option> v-model="model.branch"
maxlength="24"
style="width: 100%"
placeholder="请输入分行"
>
<el-option
v-for="item in branch"
:key="item.value"
:label="item.label"
:value="item.value"
></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -117,7 +206,11 @@ ...@@ -117,7 +206,11 @@
<c-fullbox> <c-fullbox>
<c-input v-model="model.atp.cod" style="width: 100%"></c-input> <c-input v-model="model.atp.cod" style="width: 100%"></c-input>
<template slot="footer"> <template slot="footer">
<c-button style="margin: 0 10px 0 10px; padding: 0 12px" size="small" type="primary"> <c-button
style="margin: 0 0 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i> <i class="el-icon-info"></i>
</c-button> </c-button>
</template> </template>
...@@ -126,9 +219,19 @@ ...@@ -126,9 +219,19 @@
</c-col> </c-col>
</c-row> </c-row>
<c-col :span="24" style="text-align: right; height: 36.8px" v-if="!searchToggle"> <c-col
:span="24"
style="text-align: right; height: 36.8px"
v-if="!searchToggle"
>
<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
>
<el-button type="text" @click="searchToggle = true"> <el-button type="text" @click="searchToggle = true">
收起 收起
<i class="el-icon-arrow-up"></i> <i class="el-icon-arrow-up"></i>
...@@ -141,40 +244,79 @@ ...@@ -141,40 +244,79 @@
</c-col> </c-col>
<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="140px"> <el-table-column fixed="right" prop="op" label="操作" width="140px">
<template slot="header"> <template slot="header">
<c-col :span="11" style="text-align: left"><span>操作</span></c-col> <c-col :span="11" style="text-align: left"><span>操作</span></c-col>
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-popover placement="top-start" title="历史信息" width="800" trigger="click" <el-popover
:ref="'popover_' + scope.row.IDX"> placement="top-start"
<div style="text-align: right; margin-top: -30px; margin-right: 5px; font-size: 16px;"> title="历史信息"
<span class="el-icon-close" @click="closeTrn('popover_' + scope.row.IDX)" /> width="800"
trigger="click"
:ref="'popover_' + scope.row.IDX"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
@click="closeTrn('popover_' + scope.row.IDX)"
/>
</div> </div>
<c-istream-table :list="trnData.data" :columns="trnData.columns"> <c-istream-table :list="trnData.data" :columns="trnData.columns">
<el-table-column prop="op" label="操作" width="0"> <el-table-column prop="op" label="操作" width="0">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row['INR'])"> <c-button
style="margin-left: 0"
size="small"
@click="display(scope.row['INR'])"
>
详情 详情
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
<c-button style="margin-left: 0" size="small" @click="getTrnInfo(scope.$index, scope.row)" <c-button
slot="reference"> style="margin-left: 0"
size="small"
@click="getTrnInfo(scope.$index, scope.row)"
slot="reference"
>
详情 详情
</c-button> </c-button>
</el-popover> </el-popover>
<c-button style="margin-left: 0" size="small" type="primary" @click="getButtons(scope.row['Reference'])"> <c-button
style="margin-left: 0"
size="small"
type="primary"
@click="getButtons(scope.row['Reference'])"
>
处理 处理
</c-button> </c-button>
</template> </template>
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="cptselModel" ownrefPath="cpdgrp" <m-busbtn
@onChoose="onChoose">11</m-busbtn> ref="childs"
:ownref="ownref"
trnCode="cptsel"
:model="cptselModel"
ownrefPath="cpdgrp"
@onChoose="onChoose"
>11</m-busbtn
>
</div> </div>
</template> </template>
<script> <script>
...@@ -183,7 +325,7 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -183,7 +325,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Cptrel/Event"; import Event from "~/model/Cptrel/Event";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
import CptselModel from "~/model/Cptsel" import CptselModel from "~/model/Cptsel";
export default { export default {
inject: ["root"], inject: ["root"],
...@@ -242,9 +384,7 @@ export default { ...@@ -242,9 +384,7 @@ export default {
{ label: "All Users", value: "<ALL>" }, { label: "All Users", value: "<ALL>" },
{ label: "Selected User", value: "<SELU>" }, { label: "Selected User", value: "<SELU>" },
], ],
branch: [ branch: [{ label: "LM ADD", value: "00001047" }],
{ label: "LM ADD", value: "00001047" }
],
currencycode: [ currencycode: [
{ label: "ASF 记账瑞士法郎", value: "ASF" }, { label: "ASF 记账瑞士法郎", value: "ASF" },
{ label: "ATS 先令", value: "ATS" }, { label: "ATS 先令", value: "ATS" },
...@@ -272,7 +412,7 @@ export default { ...@@ -272,7 +412,7 @@ export default {
{ label: "THB 铢", value: "THB" }, { label: "THB 铢", value: "THB" },
{ label: "TWD 新台湾元", value: "TWD" }, { label: "TWD 新台湾元", value: "TWD" },
{ label: "USD 美元", value: "USD" }, { label: "USD 美元", value: "USD" },
{ label: "XEU 欧洲货币单元(E.C.U)", value: "XEU" } { label: "XEU 欧洲货币单元(E.C.U)", value: "XEU" },
], ],
relflg: [ relflg: [
{ label: "<all>", value: "" }, { label: "<all>", value: "" },
...@@ -321,12 +461,9 @@ export default { ...@@ -321,12 +461,9 @@ export default {
closeTrn(refId) { closeTrn(refId) {
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
}, },
created: function () { }, created: function () {},
}; };
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer-search">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
......
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