Commit 52261f53 by liaoxing

smtsel修改

parent 6448778c
......@@ -37,7 +37,7 @@ const BusRouter = [
{ path: 'smdsel', component: ()=>import("./Smdsel/views"), name: 'Smdsel', meta: { title: 'Smdsel' } ,module:'frontend'},
{ path: 'smtame', component: ()=>import("./Smtame/views"), name: 'Smtame', meta: { title: 'Smtame' } ,module:'frontend'},
{ path: 'smtexe', component: ()=>import("./Smtexe/views"), name: 'Smtexe', meta: { title: 'Smtexe' } ,module:'frontend'},
{ path: 'smtsel', component: ()=>import("./Smtsel/views"), name: 'Smtsel', meta: { title: 'Smtsel' } ,module:'frontend'},
{ path: 'smtsel', component: ()=>import("./Smtsel/views"), name: 'Smtsel', meta: { title: '对账单查询' } ,module:'frontend'},
// { path: 'sndsel', component: ()=>import("./Sndsel/views"), name: 'Sndsel', meta: { title: 'Sndsel' } ,module:'frontend'},
{ path: 'usrmsg', component: ()=>import("./Usrmsg/views"), name: 'Usrmsg', meta: { title: 'Usrmsg' } ,module:'frontend'},
// 报文管理w
......
export default{
mixins: [],
methods: {
async handleReset(){
this.model.extkey = "";
this.model.sndref = "";
this.model.flg= "";
this.model.sta = "";
this.model.acksrv = "";
this.model.elcmsgtyp=""
this.model.rcvdat = $CurDate();
this.model.gendat = new Date(($CurDate()).getTime()-(7*24*60 *60 * 1800));
this.model.endgendat = $CurDate();
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="24">
<div class="e-table-wrapper">
<el-table :data="model.smtgrp.smtsub.lst" style="width: 100%">
<el-table-column prop="chk" label="" sortable width="30">
</el-table-column>
<el-table-column prop="recdat" label="收报日期" sortable width="90">
</el-table-column>
<el-table-column prop="valdat" label="起息日期" sortable width="90">
</el-table-column>
<el-table-column
prop="chnnam"
label="账户行名称"
sortable
width="150"
>
</el-table-column>
<el-table-column prop="bic" label="BIC" sortable width="90">
</el-table-column>
<el-table-column prop="acc" label="帐号" sortable width="100">
</el-table-column>
<el-table-column prop="cur" label="币种" sortable width="40">
</el-table-column>
<el-table-column prop="ref" label="对账单参考号" sortable width="130">
</el-table-column>
<el-table-column prop="smtno" label="单编号" sortable width="60">
</el-table-column>
<el-table-column prop="begamt" label="期初金额" sortable width="120">
</el-table-column>
<el-table-column prop="endamt" label="期末金额" sortable width="120">
</el-table-column>
<el-table-column
prop="endvalamt"
label="期末可用金额"
sortable
width="120"
>
</el-table-column>
<el-table-column prop="typ" label="对账单类型" sortable width="80">
</el-table-column>
<el-table-column prop="pag" label="页数" sortable width="60">
</el-table-column>
<el-table-column prop="dtl" label="明细条数" sortable width="80">
</el-table-column>
</el-table>
<el-pagination layout="prev, pager, next" :total="pagenation.total">
</el-pagination>
</div>
</c-col>
<c-list-search @form-reset="handleReset" @form-search="formSubmit">
<template v-slot="searchSlot">
<el-form
:model="model"
:rules="rules"
ref="lim0Form"
label-width="120px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<el-row>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="对账单类型" prop="smtp.smtsup.typ">
<c-select
v-model="model.smtp.smtsup.typ"
style="width: 100%"
placeholder="请输入对账单类型"
>
<el-option
v-for="item in codes.smttyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="对账单类型" prop="smtp.smtsup.typ">
<c-select
v-model="model.smtp.smtsup.typ"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000199')"
>
<el-option
v-for="item in codes.smttyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- LT000148 : 对账单类型 -->
<!-- LT000199 : : -->
<c-col :span="8">
<c-col :span="16">
<c-form-item label="BIC" prop="smtp.smtsup.ptpmod.pty.extkey">
<c-input
v-model="model.smtp.smtsup.ptpmod.pty.extkey"
maxlength="24"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000200')"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPtpmodSel"
>
</c-button>
</c-col>
</c-col>
<!-- LT000054 : BIC -->
<!-- LT000200 : : -->
<c-col :span="8">
<c-col :span="22">
<c-form-item label="BIC" prop="smtp.smtsup.ptpmod.pty.extkey">
<c-input
v-model="model.smtp.smtsup.ptpmod.pty.extkey"
maxlength="24"
placeholder="请输入BIC"
></c-input>
</c-form-item>
</c-col>
<c-col :span="2">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPtpmodSel"
>
</c-button>
</c-col>
</c-col>
<c-col :span="8">
<c-form-item label="账户行名称" prop="smtp.smtsup.ptpmod.pty.chnnam">
<c-input
v-model="model.smtp.smtsup.ptpmod.pty.chnnam"
maxlength="100"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000201')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000016 : 账户行名称 -->
<!-- LT000201 : : -->
<!-- LT000227 : : -->
</c-col>
<c-col :span="8">
<c-form-item
label="账户行名称"
prop="smtp.smtsup.ptpmod.pty.chnnam"
>
<c-input
v-model="model.smtp.smtsup.ptpmod.pty.chnnam"
maxlength="100"
placeholder="请输入账户行名称"
></c-input>
</c-form-item>
</c-col>
</c-col>
</el-row>
<c-col :span="24">
<c-col :span="8">
<c-form-item label="帐号" prop="smtp.smtsup.act">
<c-input
v-model="model.smtp.smtsup.act"
maxlength="40"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000227')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000226 : 帐号 -->
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24">
<c-col :span="8">
<c-form-item label="帐号" prop="smtp.smtsup.act">
<c-input
v-model="model.smtp.smtsup.act"
maxlength="40"
placeholder="请输入帐号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<el-form-item label="币种" prop="smtp.smtsup.cur">
<c-select
v-model="model.smtp.smtsup.cur"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000202')"
>
</c-select>
</el-form-item>
</c-col>
<!-- LT000018 : 币种 -->
<!-- LT000202 : : -->
<c-col :span="8">
<el-form-item label="币种" prop="smtp.smtsup.cur">
<c-select
v-model="model.smtp.smtsup.cur"
style="width: 100%"
placeholder="请输入币种"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="8">
<c-form-item label="对账单参考号" prop="smtp.smtsup.ref">
<c-input
v-model="model.smtp.smtsup.ref"
maxlength="16"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000203')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000078 : 对账单参考号 -->
<!-- LT000203 : : -->
</c-col>
<c-col :span="8">
<c-form-item label="对账单参考号" prop="smtp.smtsup.ref">
<c-input
v-model="model.smtp.smtsup.ref"
maxlength="16"
placeholder="请输入对账单参考号"
></c-input>
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<c-form-item label="对账单编号" prop="smtp.smtsup.smtno">
<c-input
v-model="model.smtp.smtsup.smtno"
maxlength="16"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000204')"
></c-input>
</c-form-item>
</c-col>
<!-- LT000011 : 对账单编号 -->
<!-- LT000204 : : -->
<c-col :span="24">
<c-col :span="8">
<c-form-item label="对账单编号" prop="smtp.smtsup.smtno">
<c-input
v-model="model.smtp.smtsup.smtno"
maxlength="16"
placeholder="请输入对账单编号"
></c-input>
</c-form-item>
</c-col>
<c-col :span="8">
<c-col :span="16">
<el-form-item label="收报日期" prop="smtp.smtsup.begdat">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.begdat"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000205')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000012 : 收报日期 -->
<!-- LT000205 : : -->
<c-col :span="8">
<el-form-item label="至" prop="smtp.smtsup.enddat">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.enddat"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000013')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000013 : 至 -->
</c-col>
<c-col :span="8">
<el-form-item label="收报日期" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.begdat"
style="width: 100%"
placeholder="请选择收报日期"
value-format="yyyy-MM-dd"
></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.smtp.smtsup.enddat"
style="width: 100%"
placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
<c-col :span="8">
<c-col :span="16">
<el-form-item label="起息日期" prop="smtp.smtsup.valdatbeg">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.valdatbeg"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000206')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000139 : 起息日期 -->
<!-- LT000206 : : -->
<c-col :span="8">
<el-form-item label="至" prop="smtp.smtsup.valdatend">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.valdatend"
style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000140')"
></c-date-picker>
</el-form-item>
</c-col>
<!-- LT000140 : 至 -->
</c-col>
</c-col>
<c-col :span="8">
<el-form-item label="起息日期" style="width: 100%">
<c-col :span="11">
<c-date-picker
type="date"
v-model="model.smtp.smtsup.valdatbeg"
style="width: 100%"
placeholder="请选择起息日期"
></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.smtp.smtsup.valdatend"
style="width: 100%"
placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker>
</c-col>
</el-form-item>
</c-col>
</c-col>
</el-row>
</el-form>
</template>
</c-list-search>
<c-col :span="12">
<el-col :span="24" style="margin-left: 0px">
<c-button
size="small"
class="medium_bcs"
style="margin-left: 20"
:disabled="isupdate"
size="medium"
type="primary"
icon="el-icon-search"
@click="onSmtsupSel"
@click="batchupdateAck"
>导出</c-button
>
{{ $t("smtsup.BT000014") }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmtsupClr">
{{ $t("smtsup.BT000015") }}
</c-button>
</c-col>
</el-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmtsupAllchk">
{{ $t("smtsup.BT000173") }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmtsupOpp">
{{ $t("smtsup.BT000174") }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmtsupLook">
{{ $t("smtsup.BT000058") }}
</c-button>
</c-col>
<el-col :span="24" style="margin-top: 10px">
<div style="height: 90%">
<c-col :span="24">
<el-table
:span="24"
id="infgidSptableRef"
:data="tableData"
:highlight-current-row="true"
:border="true"
style="width: 100%"
size="medium"
>
<el-table-column prop="chk" label="" sortable width="80">
</el-table-column>
<el-table-column
prop="recdat"
label="收报日期"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="valdat"
label="起息日期"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="chnnam"
label="账户行名称"
sortable
width="150"
>
</el-table-column>
<el-table-column prop="bic" label="BIC" sortable width="150">
</el-table-column>
<el-table-column prop="acc" label="帐号" sortable width="100">
</el-table-column>
<el-table-column prop="cur" label="币种" sortable width="100">
</el-table-column>
<el-table-column
prop="ref"
label="对账单参考号"
sortable
width="180"
>
</el-table-column>
<el-table-column prop="smtno" label="单编号" sortable width="150">
</el-table-column>
<el-table-column
prop="begamt"
label="期初金额"
sortable
width="150"
>
</el-table-column>
<el-table-column
prop="endamt"
label="期末金额"
sortable
width="120"
>
</el-table-column>
<el-table-column
prop="endvalamt"
label="期末可用金额"
sortable
width="180"
>
</el-table-column>
<el-table-column prop="typ" label="对账单类型" sortable width="180">
</el-table-column>
<el-table-column prop="pag" label="页数" sortable width="80">
</el-table-column>
<el-table-column prop="dtl" label="明细条数" sortable width="150">
</el-table-column>
<el-table-column label="操作" fixed="right" min-width="150">
<template slot-scope="scope">
<c-button
style="margin-right: 5px"
size="small"
type="primary"
:disabled="scope.row.objsub == ''"
@click="showMessage(scope.row)"
>预览</c-button
>
<c-button
style="margin-right: 5px"
size="small"
type="primary"
:disabled="scope.row.acksrv.length == 3"
@click="updateAck(scope.row)"
>更新</c-button
>
</template>
</el-table-column>
</el-table>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmtsupDtllok">
{{ $t("smtsup.BT000057") }}
</c-button>
</c-col>
<el-pagination
layout="prev, pager, next, pager, next, jumper"
:total="pagenation.total"
:page-size="pagenation.page - size"
:current-page="pagenation.pageNum"
@size-change="handleSizeChange"
@current-change="currentChange"
>
</el-pagination>
</c-col>
<!--预览弹框-->
<message-view ref="msgView" :model="model"></message-view>
</div>
</el-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Event from "../model/Event";
import Event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
components: {},
data() {
return {
tableData: [],
statusKey: [],
pagenation: {
total: 10,
pageNum: 1,
pageSize: 10,
total: 0,
},
};
},
methods: { ...Event },
computed: {},
methods: {
...Event,
formSubmit() {
this.handleSearch();
},
async showMessage(row) {
row.smhinr = row.objsub;
this.$refs.msgView.fileviewDispaly(-1, row);
},
async currentchange(num) {
this.pagination.pageNum = num;
this.formsubmit();
},
//pageSize改变
handleSizeChange(val) {
this.pagenation.pageNum = 1;
this.pagenation.pageSize = val;
this.formSubmit();
},
},
created: function () {},
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment