Commit 54608764 by 李少勇

Merge branch 'develop' of http://114.115.138.98:8900/isc-v3.1/isc-web-vue into develop

parents bf994e48 276d260d
......@@ -3694,7 +3694,6 @@ const CodeTable = {
fxtyp: [
{ label: "售汇", value: "SH" },
{ label: "结汇", value: "JH" },
{ label: "套汇", value: "TH" },
],
genbro: [
{ label: "否", value: "" },
......
<template>
<div class="eibs-tab">
<c-list-search @form-reset="handleReset('paramsForm')"
@form-search="handleSearch">
<c-list-search
@form-reset="handleReset('paramsForm')"
@form-search="handleSearch"
>
<!-- 持续展示区 -->
<template v-slot="searchSlot">
<el-form
class="m-table-search-form"
ref="paramsForm"
......@@ -12,300 +13,455 @@
label-width="110px"
size="small"
>
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="资金调拨编号"
prop="seaownref"
style="width: 100%"
>
<c-input
v-model="model.infcon.seaownref"
maxlength="40"
placeholder="请输入资金调拨编号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="交易有效日期"
prop="opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务名称" prop="nam" style="width: 100%">
<c-input
v-model="model.infcon.nam"
maxlength="40"
placeholder="请填写业务名称"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币种" prop="seacur" style="width: 100%">
<c-select
v-model="model.infcon.cur"
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="资金调拨编号"
prop="seaownref"
style="width: 100%"
placeholder="请选择币种"
:code="codes.seacur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('lc.金额区间')" style="width: 100%">
<c-col :span="11">
<c-input
v-model="model.infcon.amtmin"
:placeholder="$t('lc.请输入金额下限')"
style="width: 100%"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
v-model="model.infcon.seaownref"
maxlength="40"
placeholder="请输入资金调拨编号"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="交易有效日期"
prop="opndatfrom"
style="width: 100%"
>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.infcon.opndatto"
style="width: 100%"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="业务名称" prop="nam" style="width: 100%">
<c-input
v-model="model.infcon.amtmax"
:placeholder="$t('lc.请输入金额上限')"
v-model="model.infcon.nam"
maxlength="40"
placeholder="请填写业务名称"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
</el-row>
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="币种" prop="seacur" style="width: 100%">
<c-select-cur
v-model="model.infcon.cur"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
placeholder="请选择币种"
dbCode="curtxt"
>
</c-select-cur>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item :label="$t('lc.金额区间')" style="width: 100%">
<c-col :span="11">
<c-input
v-model="model.infcon.amtmin"
:placeholder="$t('lc.请输入金额下限')"
style="width: 100%"
></c-input>
</c-col>
<c-col :span="2" style="text-align: center">
<label style="display: inline-block; width: 100%">-</label>
</c-col>
<c-col :span="11">
<c-input
v-model="model.infcon.amtmax"
:placeholder="$t('lc.请输入金额上限')"
style="width: 100%"
></c-input>
</c-col>
</el-form-item>
</c-col>
</c-col>
</c-col>
</el-row>
</el-form>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px; margin-bottom: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-top: 10px; margin-bottom: 10px" title="FTTPCM"
@click="toFttpcm">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-top: 10px; margin-bottom: 10px"
title="FTTPCM"
@click="toFttpcm"
>
头寸调拨登记确认
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-top: 10px; margin-bottom: 10px" title="FTTFCM"
@click="toFttfcm">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-top: 10px; margin-bottom: 10px"
title="FTTFCM"
@click="toFttfcm"
>
资金定存拆借登记及确认
</c-button>
</c-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-tabs v-model="activeTab" class="y-tabs">
<el-tab-pane label="资金拆借查询" name="zjcj">
<el-table
:data="stmData.data"
:columns="stmData.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
:data="stmData.data"
:columns="stmData.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<el-table-column
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
v-for="(item, key) in stmData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
>
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fttyp') >= 0"
>
{{
findCodeLabel(codes.fttyp, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('bnktyp') >= 0"
>
{{
findCodeLabel(codes.bnktyp, scope.row[item.prop].trim())
}}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text"
@click="handler(scope.row)">
处理
<c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>
处理
</c-button>
<span> </span>
<el-popover
trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr">
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span>
trigger="manual"
v-clickOutside="closeDisplayDialog"
placement="top-end"
title="历史信息"
width="1200"
:ref="'popover_' + scope.row.inr"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
@click="
closeDetailsDialog('popover_' + scope.row.inr)
"
></span>
</div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true">
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width">
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:width="item.width"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button>
</template>
</el-table-column>
</el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)">
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照
</c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfoZJCJ(scope.row,'FTD')">
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfoZJCJ(scope.row, 'FTD')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div class="pagination-box"
style="display:block">
<div class="pagination-box" style="display: block">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total">
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
>
>
</el-pagination>
</div>
</el-tab-pane>
<el-tab-pane label="头寸调拨查询" name="tcdb">
<el-table
:data="stmDatatcdb.data"
:columns="stmDatatcdb.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
:data="stmDatatcdb.data"
:columns="stmDatatcdb.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<el-table-column
v-for="(item, key) in stmDatatcdb.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
v-for="(item, key) in stmDatatcdb.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
>
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fttyp') >= 0"
>
{{
findCodeLabel(codes.fttyp, scope.row[item.prop].trim())
}}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text"
@click="handler(scope.row)">
处理
<c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>
处理
</c-button>
<span> </span>
<el-popover
trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr">
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span>
trigger="manual"
v-clickOutside="closeDisplayDialog"
placement="top-end"
title="历史信息"
width="1200"
:ref="'popover_' + scope.row.inr"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
@click="
closeDetailsDialog('popover_' + scope.row.inr)
"
></span>
</div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true">
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width">
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:width="item.width"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button>
</template>
</el-table-column>
</el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)">
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照
</c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FTD')">
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FTD')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div class="pagination-box"
style="display:block">
<div class="pagination-box" style="display: block">
<el-pagination
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total">
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="pagination.pageIndex"
:page-sizes="[10, 20, 50, 100, 500]"
:page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
>
>
</el-pagination>
</div>
</el-tab-pane>
</el-tabs>
</c-col>
</div>
</el-col>
<!-- 点击处理ba弹框 -->
<el-dialog
v-if="initdialog"
v-dialogDrag
:visible.sync="initdialog"
title="交易列表"
append-to-body
width="70%"
<!-- 点击处理ba弹框 -->
<el-dialog
v-if="initdialog"
v-dialogDrag
:visible.sync="initdialog"
title="交易列表"
append-to-body
width="70%"
>
<m-busbtn
ref="childs"
:trnUrl="trnUrl"
:inifrm="inifrm"
:activeTab="activeTab"
:model="handleModel"
@onChoose="handleClick"
>
<m-busbtn ref="childs" :trnUrl="trnUrl" :inifrm="inifrm" :activeTab="activeTab" :model="handleModel" @onChoose="handleClick">
</m-busbtn>
</el-dialog>
<!--业务锁及待处理数据弹窗-->
<m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap>
</el-dialog>
<!--业务锁及待处理数据弹窗-->
<m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap>
</div>
<!-- </el-col>
</div> -->
<!-- </el-col>
</div> -->
</template>
<script>
import event from "../event";
......@@ -316,60 +472,61 @@ export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: { "m-busbtn": BusNavbar,
"m-chklap": CheckLockAndPending,
components: {
"m-busbtn": BusNavbar,
"m-chklap": CheckLockAndPending,
},
data() {
return {
initdialog:false,
initdialog: false,
activeTab: "zjcj",
handleModel: {},
trnUrl: "",
inifrm: "",
load:false,
oldRefId:"",
load: false,
oldRefId: "",
trnData: {
columns: [
columns: [
{
label: "业务编号",
prop: "ownref",
width:"160"
width: "160",
},
{
label: "交易名称",
prop: "inifrmname",
width:"220"
width: "220",
},
{
label: "交易码",
prop: "inifrm",
width:"100"
width: "100",
},
{
label: "交易时间",
prop: "inidattim",
width:"160"
width: "160",
},
{
label: "状态",
prop: "relflgName",
width:"100"
width: "100",
},
{
label: "币种",
prop: "reloricur",
width:"100"
width: "100",
},
{
label: "金额",
prop: "reloriamt",
width:"150"
width: "150",
},
],
data:[],
data: [],
},
stmDatatcdb:{
columns:[
stmDatatcdb: {
columns: [
{
label: "头寸调拨编号",
prop: "ownref",
......@@ -406,7 +563,7 @@ export default {
width: "120px",
},
],
data:[],
data: [],
},
stmData: {
columns: [
......@@ -455,17 +612,16 @@ export default {
prop: "rat",
width: "120px",
},
{
{
label: "计息方式",
prop: "cntfra",
width: "120px",
},
{
{
label: "银行类型",
prop: "bnktyp",
width: "120px",
},
],
data: [],
},
......@@ -474,19 +630,17 @@ export default {
pageNum: 1,
pageSize: 10,
total: 0,
}
};},
methods: {
},
};
},
methods: {},
// mounted() {
// this.getdbCode('cptrou','','cptrou');
// this.getUserList();
// this.getBranchList();
// }
};
</script>
<style lang="less" scoped>
::v-deep .c-content-scrollbar {
......
import Api from "~/service/Api"
import Api from "~/service/Api";
export default class inffxd {
constructor() {
this.data = {
infcon: {
seaownref: "", // 业务编号 .infcon.seaownref
seanam: "", // 业务名称 .infcon.nam
opndat: "", //
opndatfrom: new Date((new Date).getTime() - (7 * 24 * 60 * 60 * 1000)), // 有效日期自 .infcon.opndatfrom
opndatto: new Date(), // Open Date to .infcon.opndatto
seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
ownusr:"",
usr:"",
acc:"",
acc2:"",
constructor() {
this.data = {
infcon: {
seaownref: "", // 业务编号 .infcon.seaownref
seanam: "", // 业务名称 .infcon.nam
opndat: "", //
opndatfrom: new Date(new Date().getTime() - 7 * 24 * 60 * 60 * 1000), // 有效日期自 .infcon.opndatfrom
opndatto: new Date(), // Open Date to .infcon.opndatto
seacur: "", // 币种 .infcon.seacur
seaamtfr: "", // 金额自 .infcon.seaamtfr
seaamtto: "", // Amount to .infcon.seaamtto
ownusr: "",
usr: "",
acc: "",
acc2: "",
searef: "",
ptyextkey: "", // 选择一个参与方 .infcon.pty.extkey
ptynam: "", // External Visible Name .infcon.pty.nam
seapty: "", // 参与方名称/BIC .infcon.seapty
searol: "",
usrextkey: "", // User ID .infcon.usr.extkey
seasta: "", // Status .infcon.seasta
accmng: "", // Account manager .infcon.accmng
fxtyp: "", //类型
},
infbut: {
dspstm: "", // display stream .infbut.dspstm
},
//fttyp: "", // Funds Trans. Type .fttyp
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
searef: "",
ptyextkey: "", // 选择一个参与方 .infcon.pty.extkey
ptynam: "", // External Visible Name .infcon.pty.nam
seapty: "", // 参与方名称/BIC .infcon.seapty
searol: "",
usrextkey: "", // User ID .infcon.usr.extkey
seasta: "", // Status .infcon.seasta
accmng: "", // Account manager .infcon.accmng
fxtyp: "", //类型
},
infbut: {
dspstm: "", // display stream .infbut.dspstm
},
//fttyp: "", // Funds Trans. Type .fttyp
pageId: "", // ctx的key
dbCodes: {
TRAINT: [],
TRAOUT: [],
},
};
}
}
......@@ -30,7 +30,6 @@
type="date"
v-model="model.infcon.opndatfrom"
style="width: 100%"
></c-date-picker>
</c-col>
<c-col :span="2" style="text-align: center">
......@@ -60,58 +59,79 @@
<!-- 可控展示区 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="客户名称" prop="ownusr" style="width: 100%">
<c-input v-model="model.infcon.ownusr" maxlength="40" placeholder="请输入客户名称">
<el-form-item label="客户名称" prop="ownusr" style="width: 100%">
<c-input
v-model="model.infcon.ownusr"
maxlength="40"
placeholder="请输入客户名称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="账户经理" prop="accmng" style="width: 100%">
<c-input v-model="model.infcon.accmng" maxlength="40" placeholder="请输入账户经理名称">
<el-form-item label="账户经理" prop="accmng" style="width: 100%">
<c-input
v-model="model.infcon.accmng"
maxlength="40"
placeholder="请输入账户经理名称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="外汇交易类型" prop="fxtyp" style="width: 100%">
<c-col :span="8">
<el-form-item
label="外汇交易类型"
prop="fxtyp"
style="width: 100%"
>
<c-select
v-model="model.infcon.fxtyp"
style="width: 100%"
placeholder="请选择外汇交易类型"
:code="codes.fxtyp">
:code="codes.fxtyp"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item
label="资金部经办人" prop="usr" style="width: 100%">
<c-input v-model="model.infcon.usr" maxlength="40" placeholder="请输入资金部经办人名称">
<el-form-item label="资金部经办人" prop="usr" style="width: 100%">
<c-input
v-model="model.infcon.usr"
maxlength="40"
placeholder="请输入资金部经办人名称"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="外币结算账户" prop="acc" style="width: 100%">
<c-input v-model="model.infcon.acc" maxlength="40" placeholder="请输入外币结算账户">
<el-form-item label="外币结算账户" prop="acc" style="width: 100%">
<c-input
v-model="model.infcon.acc"
maxlength="40"
placeholder="请输入外币结算账户"
>
</c-input>
</el-form-item>
</c-col>
<c-col :span="8">
<el-form-item
label="本币结算账户" prop="acc2" style="width: 100%">
<c-input v-model="model.infcon.usr" maxlength="40" placeholder="请输入本币结算账户">
label="本币结算账户"
prop="acc2"
style="width: 100%"
>
<c-input
v-model="model.infcon.usr"
maxlength="40"
placeholder="请输入本币结算账户"
>
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
......@@ -120,37 +140,59 @@
v-model="model.infcon.seasta"
style="width: 100%"
placeholder="请选择状态"
:code="codes.seasta">
:code="codes.seasta"
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</el-row>
</template>
</c-list-search>
<c-col :span="24" style="margin-top: 10px; margin-bottom: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-top: 10px; margin-bottom: 10px" title="FXTSSB"
@click="toFxtssb">
<c-col :span="24" style="margin-top: 10px; margin-bottom: 10px">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-top: 10px; margin-bottom: 10px"
title="FXTSSB"
@click="toFxtssb"
>
即期结汇
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 20px" title="FXTSSS"
@click="toFxtsss">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 20px"
title="FXTSSS"
@click="toFxtsss"
>
即期售汇
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 20px" title="FXTLOP"
@click="toFxtlop">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 20px"
title="FXTLOP"
@click="toFxtlop"
>
结售汇平盘登记
</c-button>
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 20px" title="FXTFOP"
@click="toFxtfop">
<c-button
class="medium_bcs"
size="medium"
type="primary"
style="margin-left: 20px"
title="FXTFOP"
@click="toFxtfop"
>
外币兑换平盘登记
</c-button>
</c-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
......@@ -173,131 +215,313 @@
:prop="item.prop"
:min-width="item.width"
>
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fxtyp') >= 0"
>
{{
findCodeLabel(
codes.fxt_fxtyp,
scope.row[item.prop].trim()
)
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trnman') >= 0"
>
{{
findCodeLabel(codes.trnman, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdint') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAINT") }}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdout') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAOUT") }}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px">
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" @click="handler(scope.row)">处理
</c-button>
<span> </span>
<el-popover
trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr">
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span>
</div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true">
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width">
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照
</c-button>
</template>
</el-table-column>
</el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)">
快照
</c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FXD')">
Info
<el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>处理
</c-button>
</el-popover>
</template>
</el-table-column>
<span> </span>
<el-popover
trigger="manual"
v-clickOutside="closeDisplayDialog"
placement="top-end"
title="历史信息"
width="1200"
:ref="'popover_' + scope.row.inr"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
@click="
closeDetailsDialog('popover_' + scope.row.inr)
"
></span>
</div>
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:width="item.width"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button>
</template>
</el-table-column>
</el-table>
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照
</c-button>
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FXD')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div class="pagination-box"
style="display:block">
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
<div class="pagination-box" style="display: block">
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="Number(pagination.total)"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
</div>
</el-tab-pane>
<el-tab-pane label="结售汇平盘查询" name="jshpp">
<el-table
:data="stmDatajshpp.data"
:columns="stmDatajshpp.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
:data="stmDatajshpp.data"
:columns="stmDatajshpp.columns"
v-loading="load"
style="width: 100%"
size="small"
:border="true"
height="calc(100vh - 480px)"
:highlight-current-row="true"
>
<el-table-column
v-for="(item, key) in stmDatajshpp.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
v-for="(item, key) in stmDatajshpp.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:min-width="item.width"
>
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fxtyp') >= 0"
>
{{
findCodeLabel(
codes.fxt_fxtyp,
scope.row[item.prop].trim()
)
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trnman') >= 0"
>
{{
findCodeLabel(codes.trnman, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdint') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAINT") }}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdout') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAOUT") }}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" @click="handler(scope.row)">处理
<c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>处理
</c-button>
<span> </span>
<el-popover
trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr">
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span>
trigger="manual"
v-clickOutside="closeDisplayDialog"
placement="top-end"
title="历史信息"
width="1200"
:ref="'popover_' + scope.row.inr"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
@click="
closeDetailsDialog('popover_' + scope.row.inr)
"
></span>
</div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true">
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width">
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:width="item.width"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px">
<el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button>
</template>
</el-table-column>
</el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)">
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照
</c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FXD')">
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FXD')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div class="pagination-box"
style="display:block">
<div class="pagination-box" style="display: block">
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
layout="total, sizes, prev, pager, next, jumper"
:total="Number(pagination.total)"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
</div>
......@@ -321,58 +545,150 @@
:prop="item.prop"
:min-width="item.width"
>
<template slot-scope="scope">
<div
style="text-align: center"
v-if="item.prop.indexOf('fxtyp') >= 0"
>
{{
findCodeLabel(
codes.fxt_fxtyp,
scope.row[item.prop].trim()
)
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trnman') >= 0"
>
{{
findCodeLabel(codes.trnman, scope.row[item.prop].trim())
}}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdint') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAINT") }}
</div>
<div
style="text-align: center"
v-else-if="item.prop.indexOf('trdout') >= 0"
>
{{ getCodelabel(scope.row[item.prop].trim(), "TRAOUT") }}
</div>
<div v-else>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="180px">
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button style="margin-right: 5px" size="small" type="text" @click="handler(scope.row)">处理
</c-button>
<span> </span>
<el-popover
trigger="manual"
v-clickOutside="closeDisplayDialog" placement="top-end" title="历史信息" width="1200" :ref="'popover_' + scope.row.inr">
<div style="text-align: right;margin-top: -30px;margin-right: 5px;font-size: 16px;">
<span class="el-icon-close" style="cursor: pointer" @click="closeDetailsDialog('popover_' + scope.row.inr)"></span>
</div>
<el-table :data="trnData.data" :columns="trnData.columns" :showButtonFlg="true">
<el-table-column v-for="(item, key) in trnData.columns" :key="key" :label="item.label" :prop="item.prop" :width="item.width">
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column fixed="right" prop="op" label="操作" width="100px">
<template slot-scope="scope">
<c-button style="margin-left: 0" size="small" @click="display(scope.row)">快照
</c-button>
</template>
</el-table-column>
</el-table>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="details(scope.row)">
快照
</c-button>
<c-button style="margin-left: 0" type="text" size="small" slot="reference" @click="toInfo(scope.row,'FXD')">
Info
<el-table-column
fixed="right"
prop="op"
label="操作"
width="180px"
>
<template slot="header">
<c-col :span="11" style="text-align: center">
<span>操作</span>
</c-col>
</template>
<template slot-scope="scope">
<c-button
style="margin-right: 5px"
size="small"
type="text"
@click="handler(scope.row)"
>处理
</c-button>
</el-popover>
</template>
</el-table-column>
<span> </span>
<el-popover
trigger="manual"
v-clickOutside="closeDisplayDialog"
placement="top-end"
title="历史信息"
width="1200"
:ref="'popover_' + scope.row.inr"
>
<div
style="
text-align: right;
margin-top: -30px;
margin-right: 5px;
font-size: 16px;
"
>
<span
class="el-icon-close"
style="cursor: pointer"
@click="
closeDetailsDialog('popover_' + scope.row.inr)
"
></span>
</div>
<el-table
:data="trnData.data"
:columns="trnData.columns"
:showButtonFlg="true"
>
<el-table-column
v-for="(item, key) in trnData.columns"
:key="key"
:label="item.label"
:prop="item.prop"
:width="item.width"
>
<template slot-scope="scope">
<div>{{ scope.row[item.prop] }}</div>
</template>
</el-table-column>
<el-table-column
fixed="right"
prop="op"
label="操作"
width="100px"
>
<template slot-scope="scope">
<c-button
style="margin-left: 0"
size="small"
@click="display(scope.row)"
>快照
</c-button>
</template>
</el-table-column>
</el-table>
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="details(scope.row)"
>
快照
</c-button>
<c-button
style="margin-left: 0"
type="text"
size="small"
slot="reference"
@click="toInfo(scope.row, 'FXD')"
>
Info
</c-button>
</el-popover>
</template>
</el-table-column>
</el-table>
<div class="pagination-box"
style="display:block">
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
<div class="pagination-box" style="display: block">
<el-pagination
layout="total, sizes, prev, pager, next, jumper"
:total="Number(pagination.total)"
:page-size="pagination.pageSize"
:current-page.sync="pagination.pageNumber"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
</el-pagination>
</div>
</el-tab-pane>
</el-tabs>
......@@ -380,15 +696,27 @@
</div>
</el-col>
<!-- 点击处理弹框 -->
<el-dialog v-dialogDrag v-if="initdialog" :visible.sync="initdialog" :title="titleNam" append-to-body width="70%">
<m-busbtn ref="childs" :trnUrl="trnUrl" :inifrm="inifrm" :activeTab="activeTab" :model="handleModel" @onChoose="handleClick"></m-busbtn>
<!-- 点击处理弹框 -->
<el-dialog
v-dialogDrag
v-if="initdialog"
:visible.sync="initdialog"
:title="titleNam"
append-to-body
width="70%"
>
<m-busbtn
ref="childs"
:trnUrl="trnUrl"
:inifrm="inifrm"
:activeTab="activeTab"
:model="handleModel"
@onChoose="handleClick"
></m-busbtn>
</el-dialog>
<!--业务锁及待处理数据弹窗-->
<m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap>
<!--业务锁及待处理数据弹窗-->
<m-chklap ref="lockAndPending" @changeBtn="changeBtn"></m-chklap>
</div>
</template>
<script>
......@@ -396,12 +724,11 @@ import event from "../event";
import BusNavbar from "~/components/business/BusNavbar1";
import CheckLockAndPending from "~/components/business/CheckLockAndPending";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
components: {
components: {
"m-busbtn": BusNavbar,
"m-chklap": CheckLockAndPending,
},
......@@ -409,16 +736,16 @@ export default {
return {
activeTab: "jsh",
load: false,
sptVisible:false,
dealSptData:[],
selectedModelFx:{},
handleModel:{},
queryCon:{},
trnUrl:"",
inifrm:"",
oldRefId:"",
load:false,
titleNam:"结售汇/兑换平盘交易列表",
sptVisible: false,
dealSptData: [],
selectedModelFx: {},
handleModel: {},
queryCon: {},
trnUrl: "",
inifrm: "",
oldRefId: "",
load: false,
titleNam: "结售汇/兑换平盘交易列表",
stmData: {
columns: [
......@@ -498,21 +825,6 @@ export default {
width: "120px",
},
{
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "分支机构编号",
prop: "branchinr",
width: "120px",
},
{
label: "分支机构关键编号",
prop: "bchkeyinr",
width: "160px",
},
{
label: "交易主体",
prop: "trnman",
width: "120px",
......@@ -527,7 +839,7 @@ export default {
prop: "trdout",
width: "120px",
},
{
label: "外币结算账号",
prop: "acc",
......@@ -539,21 +851,6 @@ export default {
width: "120px",
},
{
label: "处置1",
prop: "dsp",
width: "120px",
},
{
label: "处置2",
prop: "dsp2",
width: "120px",
},
{
label: "现金覆盖率",
prop: "cshpct",
width: "120px",
},
{
label: "账户经理",
prop: "accmng",
width: "120px",
......@@ -563,25 +860,10 @@ export default {
prop: "rat1",
width: "120px",
},
{
label: "账户经理部门",
prop: "hdbch",
width: "120px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
],
data: [],
},
stmDatajshpp: {
columns: [
{
......@@ -660,21 +942,6 @@ export default {
width: "120px",
},
{
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "分支机构编号",
prop: "branchinr",
width: "120px",
},
{
label: "分支机构关键编号",
prop: "bchkeyinr",
width: "160px",
},
{
label: "交易主体",
prop: "trnman",
width: "120px",
......@@ -701,16 +968,6 @@ export default {
width: "120px",
},
{
label: "处置1",
prop: "dsp",
width: "120px",
},
{
label: "处置2",
prop: "dsp2",
width: "120px",
},
{
label: "现金覆盖率",
prop: "cshpct",
width: "120px",
......@@ -725,25 +982,10 @@ export default {
prop: "rat1",
width: "120px",
},
{
label: "账户经理部门",
prop: "hdbch",
width: "120px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
],
data: [],
},
stmDataDh: {
columns: [
{
......@@ -822,21 +1064,6 @@ export default {
width: "120px",
},
{
label: "版本",
prop: "ver",
width: "120px",
},
{
label: "分支机构编号",
prop: "branchinr",
width: "120px",
},
{
label: "分支机构关键编号",
prop: "bchkeyinr",
width: "160px",
},
{
label: "交易主体",
prop: "trnman",
width: "120px",
......@@ -851,7 +1078,7 @@ export default {
prop: "trdout",
width: "120px",
},
{
label: "外币结算账号",
prop: "acc",
......@@ -863,16 +1090,6 @@ export default {
width: "120px",
},
{
label: "处置1",
prop: "dsp",
width: "120px",
},
{
label: "处置2",
prop: "dsp2",
width: "120px",
},
{
label: "现金覆盖率",
prop: "cshpct",
width: "120px",
......@@ -887,20 +1104,6 @@ export default {
prop: "rat1",
width: "120px",
},
{
label: "账户经理部门",
prop: "hdbch",
width: "120px",
},
{
label: "实体外部键",
prop: "etyextkey",
width: "120px",
},
],
data: [],
},
......@@ -911,59 +1114,58 @@ export default {
{
label: "业务编号",
prop: "ownref",
width:"160"
width: "160",
},
{
label: "交易名称",
prop: "inifrmname",
width:"220"
width: "220",
},
{
label: "交易码",
prop: "inifrm",
width:"100"
width: "100",
},
{
label: "交易时间",
prop: "inidattim",
width:"160"
width: "160",
},
{
label: "状态",
prop: "relflgName",
width:"100"
width: "100",
},
{
label: "币种",
prop: "reloricur",
width:"100"
width: "100",
},
{
label: "金额",
prop: "reloriamt",
width:"150"
width: "150",
},
],
data: []
data: [],
},
// 处理
initdialog: false,
handlerDataList: [],
pagination: {
pageNumber: 1,
pageSize: 10,
total: 0
total: 0,
},
};
},
methods: {},
mounted () {
// this.getdbCode('lcrtyp','EN','lcrtyp');
// this.getdbCode('avbby0','EN','avbby');
mounted() {
this.getdbCode("TRAINT", "EN", "TRAINT");
this.getdbCode("TRAOUT", "EN", "TRAOUT");
},
created: function() {}
created: function () {},
};
</script>
<style lang="less" scoped>
......
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