Commit 9b80878d by 李少勇

修改qrtsel 交易导出功能

parent fb7cfa77
......@@ -99,7 +99,7 @@
</el-table-column>
<el-table-column prop="t53bic" label="账户行BIC(53域)" width="150">
</el-table-column>
<el-table-column prop="actbic" label="账户行BIC(54域)" width="150">
<el-table-column prop="t54bic" label="账户行BIC(54域)" width="150">
</el-table-column>
<el-table-column prop="sndbic" label="发报行BIC" width="150">
</el-table-column>
......
......@@ -134,12 +134,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "250px"
},
{
......
......@@ -238,12 +238,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "250px"
},
{
......
......@@ -243,12 +243,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
......@@ -244,12 +244,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
......@@ -238,12 +238,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table
:data="model.qrtp.qrdlst"
style="width: 100%"
>
<el-table-column
prop="amdtim"
label="更新时间"
sortable
width="160">
<el-table :data="model.qrtp.qrdlst" style="width: 100%">
<el-table-column prop="amdtim" label="更新时间" sortable width="160">
</el-table-column>
<el-table-column
prop="casnum"
label="CASE编号"
sortable
width="130">
<el-table-column prop="casnum" label="CASE编号" sortable width="130">
</el-table-column>
<el-table-column
prop="drfnum"
label="汇票号码"
sortable
width="130">
<el-table-column prop="drfnum" label="汇票号码" sortable width="130">
</el-table-column>
<el-table-column
prop="ownt20"
label="20域编号(发)"
sortable
width="125">
<el-table-column prop="ownt20" label="20域编号(发)" sortable width="125">
</el-table-column>
<el-table-column
prop="otht20"
label="20域编号(收)"
sortable
width="125">
<el-table-column prop="otht20" label="20域编号(收)" sortable width="125">
</el-table-column>
<el-table-column
prop="sedbak"
label="发报行BIC"
sortable
width="100">
<el-table-column prop="sedbak" label="发报行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="revbak"
label="收报行BIC"
sortable
width="100">
<el-table-column prop="revbak" label="收报行BIC" sortable width="100">
</el-table-column>
<el-table-column
prop="t53bic"
label="账户行BIC(53域)"
sortable
width="100">
<el-table-column prop="t53bic" label="账户行BIC(53域)" sortable width="100">
</el-table-column>
<el-table-column
prop="t54bic"
label="账户行BIC(54域)"
sortable
width="100">
<el-table-column prop="t54bic" label="账户行BIC(54域)" sortable width="100">
</el-table-column>
<el-table-column
prop="lstopr"
label="经办"
sortable
width="100">
<el-table-column prop="lstopr" label="经办" sortable width="100">
</el-table-column>
<el-table-column
prop="des"
label="备注"
sortable
width="200">
<el-table-column prop="des" label="备注" sortable width="200">
</el-table-column>
<el-table-column
prop="neadeltim"
label="处理时间"
sortable
width="90">
<el-table-column prop="neadeltim" label="处理时间" sortable width="90">
</el-table-column>
<el-table-column
prop="settim"
label="创建时间"
sortable
width="90">
<el-table-column prop="settim" label="创建时间" sortable width="90">
</el-table-column>
<el-table-column
prop="cassta"
label="状态"
sortable
width="80">
<el-table-column prop="cassta" label="状态" sortable width="80">
<template slot-scope="scope">
<c-select-value-to-label v-model="scope.row.cassta" dbCode="CASSTA"></c-select-value-to-label>
</template>
</el-table-column>
</el-table>
<el-pagination
layout="prev, pager, next"
:total="pager.qrtp_qrdlst.total">
<el-pagination layout="prev, pager, next" :total="pager.qrtp_qrdlst.total">
</el-pagination>
</div>
</c-col>
......@@ -106,7 +44,8 @@
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000326')" prop="qrtp.settimsta">
<c-date-picker type="date" v-model="model.qrtp.settimsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000326')"></c-date-picker>
<c-date-picker type="date" v-model="model.qrtp.settimsta" style="width:100%"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000326')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000024 : 截止时间 -->
......@@ -114,7 +53,8 @@
<c-col :span="12">
<el-form-item :label="$t('qrtp.LT000328')" prop="qrtp.settimend">
<c-date-picker type="date" v-model="model.qrtp.settimend" style="width:100%" :placeholder="$t('other.please_enter')+$t('qrtp.LT000328')"></c-date-picker>
<c-date-picker type="date" v-model="model.qrtp.settimend" style="width:100%"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000328')"></c-date-picker>
</el-form-item>
</c-col>
<!-- LT002442 : 报文标准 -->
......@@ -126,7 +66,8 @@
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000330')" prop="qrtp.casnum">
<c-input v-model="model.qrtp.casnum" maxlength="16" :placeholder="$t('other.please_enter')+$t('qrtp.LT000330')"></c-input>
<c-input v-model="model.qrtp.casnum" maxlength="16"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000330')"></c-input>
</c-form-item>
</c-col>
<!-- LT000021 : 汇票号码 -->
......@@ -134,7 +75,8 @@
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000331')" prop="qrtp.drfnum">
<c-input v-model="model.qrtp.drfnum" maxlength="32" :placeholder="$t('other.please_enter')+$t('qrtp.LT000331')"></c-input>
<c-input v-model="model.qrtp.drfnum" maxlength="32"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000331')"></c-input>
</c-form-item>
</c-col>
<!-- LT000180 : 20域编号(发) -->
......@@ -142,7 +84,8 @@
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000332')" prop="qrtp.ownrel">
<c-input v-model="model.qrtp.ownrel" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000332')"></c-input>
<c-input v-model="model.qrtp.ownrel" maxlength="20"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000332')"></c-input>
</c-form-item>
</c-col>
<!-- LT000181 : 20域编号(收) -->
......@@ -150,13 +93,15 @@
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000333')" prop="qrtp.opsref">
<c-input v-model="model.qrtp.opsref" maxlength="20" :placeholder="$t('other.please_enter')+$t('qrtp.LT000333')"></c-input>
<c-input v-model="model.qrtp.opsref" maxlength="20"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000333')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT004599')" prop="qrtp.uetr">
<c-input v-model="model.qrtp.uetr" maxlength="40" :placeholder="$t('other.please_enter')+$t('qrtp.LT004599')"></c-input>
<c-input v-model="model.qrtp.uetr" maxlength="40"
:placeholder="$t('other.please_enter') + $t('qrtp.LT004599')"></c-input>
</c-form-item>
</c-col>
<!-- LT004599 : UETR -->
......@@ -166,7 +111,8 @@
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000334')" prop="qrtp.sedbak">
<c-input v-model="model.qrtp.sedbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000334')"></c-input>
<c-input v-model="model.qrtp.sedbak" maxlength="11"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000334')"></c-input>
</c-form-item>
</c-col>
<!-- LT000183 : 收报行BIC -->
......@@ -174,7 +120,8 @@
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000335')" prop="qrtp.revbak">
<c-input v-model="model.qrtp.revbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000335')"></c-input>
<c-input v-model="model.qrtp.revbak" maxlength="11"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000335')"></c-input>
</c-form-item>
</c-col>
<!-- LT000184 : 账户行BIC -->
......@@ -182,41 +129,42 @@
<c-col :span="12">
<c-form-item :label="$t('qrtp.LT000336')" prop="qrtp.actbak">
<c-input v-model="model.qrtp.actbak" maxlength="11" :placeholder="$t('other.please_enter')+$t('qrtp.LT000336')"></c-input>
<c-input v-model="model.qrtp.actbak" maxlength="11"
:placeholder="$t('other.please_enter') + $t('qrtp.LT000336')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.qrtp.oldownrefvis" data-path=".qrtp.oldownrefvis" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.qrtp.oldownrefvis" data-path=".qrtp.oldownrefvis"> </span>
</c-col>
<c-col :span="12">
<c-form-item label="原报文标识号" prop="qrtp.oldownref">
<c-input v-model="model.qrtp.oldownref" maxlength="20" :placeholder="$t('other.please_enter')+'原报文标识号'"></c-input>
<c-input v-model="model.qrtp.oldownref" maxlength="20" :placeholder="$t('other.please_enter') + '原报文标识号'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" icon="el-icon-search" @click="onQrtpCassel">
{{$t('qrtp.BT000027')}}
{{ $t('qrtp.BT000027') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpCasclr">
{{$t('qrtp.BT000028')}}
{{ $t('qrtp.BT000028') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpCrecas">
{{$t('qrtp.BT000140')}}
{{ $t('qrtp.BT000140') }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onQrtpStmsge">
{{$t('qrtp.BT004914')}}
{{ $t('qrtp.BT004914') }}
</c-button>
</c-col>
......@@ -230,19 +178,17 @@ import Event from "~/model/Qrtman/Event"
export default {
inject: ['root'],
props:["model","codes"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
data() {
return {
}
},
methods:{...Event},
created:function(){
methods: { ...Event },
created: function () {
}
}
</script>
<style>
</style>
<style></style>
......@@ -314,54 +314,55 @@ export default {
columns: [
{
label: "更新时间",
prop: "num",
prop: "amdtim",
width: "120px"
},
{
label: "G渠道",
prop: "num",
prop: "sweflg",
width: "120px"
},
{
label: "发报行BIC",
prop: "num",
prop: "sedbak",
width: "120px"
},
{
label: "收报行BIC",
prop: "num",
prop: "rcvbak",
width: "120px"
},
{
label: "CASE编号",
prop: "num",
prop: "casnum",
width: "120px"
},
{
label: "汇票号码",
prop: "num",
prop: "drtnum",
width: "120px"
},
{
label: "20域编号(发)",
prop: "num",
prop: "ownt20",
width: "120px"
},
{
label: "20域编号(收)",
prop: "num",
prop: "otht20",
width: "120px"
},
{
label: "账户行BIC(53域)",
prop: "num",
prop: "t53bic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "num",
prop: "t54bic",
width: "120px"
}],
}
],
data: [],
},
pagination1: {
......
import Api from "~/service/Api";
import moment from "moment";
import exportExcel from '~/page/Frontend/Rcvsel/event/exportExcel.js';
export default {
mixins: [exportExcel],
methods: {
async handleSearch() {
},
......@@ -18,8 +19,17 @@ export default {
this.pagination.pageNum = val;
this.handleSearch();
},
handleSelectionChange(val){
handleSelectionChange(val) {
this.multipleSelection = val;
},
exportToExcel() {
let codeKeysMap = {
sta: 'stacd1'
};
let params = {
...this.model.rcvp,
}
this.exportExcel(this.stmData.columns, '/frontend/qrtsel/exportExcel', params, codeKeysMap, 'CASE查询/处理');
}
},
};
......@@ -36,7 +36,7 @@
<c-button :disabled="isRoutingDisable" class="medium_bcs" size="medium" style="margin-left: 20"
type="primary">ReRouting
</c-button>
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary">
<c-button class="medium_bcs" size="medium" style="margin-left: 20" type="primary" @click="exportToExcel">
{{ $t('public.导出Excel') }}
</c-button>
</el-col>
......@@ -84,54 +84,55 @@ export default {
columns: [
{
label: "更新时间",
prop: "num",
prop: "amdtim",
width: "120px"
},
{
label: "G渠道",
prop: "num",
prop: "sweflg",
width: "120px"
},
{
label: "发报行BIC",
prop: "num",
prop: "sedbak",
width: "120px"
},
{
label: "收报行BIC",
prop: "num",
prop: "rcvbak",
width: "120px"
},
{
label: "CASE编号",
prop: "num",
prop: "casnum",
width: "120px"
},
{
label: "汇票号码",
prop: "num",
prop: "drtnum",
width: "120px"
},
{
label: "20域编号(发)",
prop: "num",
prop: "ownt20",
width: "120px"
},
{
label: "20域编号(收)",
prop: "num",
prop: "otht20",
width: "120px"
},
{
label: "账户行BIC(53域)",
prop: "num",
prop: "t53bic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "num",
prop: "t54bic",
width: "120px"
}],
}
],
data: [],
},
pagination: {
......
......@@ -243,12 +243,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
......@@ -253,12 +253,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
......@@ -252,12 +252,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
......@@ -143,12 +143,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "120px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "250px"
},
{
......
......@@ -200,12 +200,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
......@@ -243,12 +243,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
......@@ -242,12 +242,12 @@ export default {
},
{
label: "账户行BIC(53域)",
prop: "actbic",
prop: "t53bic",
width: "150px"
},
{
label: "账户行BIC(54域)",
prop: "actbic",
prop: "t54bic",
width: "150px"
},
{
......
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