Commit 52261f53 by liaoxing

smtsel修改

parent 6448778c
...@@ -37,7 +37,7 @@ const BusRouter = [ ...@@ -37,7 +37,7 @@ const BusRouter = [
{ path: 'smdsel', component: ()=>import("./Smdsel/views"), name: 'Smdsel', meta: { title: 'Smdsel' } ,module:'frontend'}, { 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: '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: '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: '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'}, { path: 'usrmsg', component: ()=>import("./Usrmsg/views"), name: 'Usrmsg', meta: { title: 'Usrmsg' } ,module:'frontend'},
// 报文管理w // 报文管理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> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="24"> <c-list-search @form-reset="handleReset" @form-search="formSubmit">
<div class="e-table-wrapper"> <template v-slot="searchSlot">
<el-table :data="model.smtgrp.smtsub.lst" style="width: 100%"> <el-form
<el-table-column prop="chk" label="" sortable width="30"> :model="model"
</el-table-column> :rules="rules"
<el-table-column prop="recdat" label="收报日期" sortable width="90"> ref="lim0Form"
</el-table-column> label-width="120px"
<el-table-column prop="valdat" label="起息日期" sortable width="90"> label-position="right"
</el-table-column> size="small"
<el-table-column :validate-on-rule-change="false"
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-row>
<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-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<el-form-item label="对账单类型" prop="smtp.smtsup.typ"> <el-form-item label="对账单类型" prop="smtp.smtsup.typ">
<c-select <c-select
v-model="model.smtp.smtsup.typ" v-model="model.smtp.smtsup.typ"
style="width: 100%" style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000199')" placeholder="请输入对账单类型"
> >
<el-option <el-option
v-for="item in codes.smttyp" v-for="item in codes.smttyp"
...@@ -67,19 +30,18 @@ ...@@ -67,19 +30,18 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- LT000148 : 对账单类型 -->
<!-- LT000199 : : -->
<c-col :span="8"> <c-col :span="8">
<c-col :span="16"> <c-col :span="22">
<c-form-item label="BIC" prop="smtp.smtsup.ptpmod.pty.extkey"> <c-form-item label="BIC" prop="smtp.smtsup.ptpmod.pty.extkey">
<c-input <c-input
v-model="model.smtp.smtsup.ptpmod.pty.extkey" v-model="model.smtp.smtsup.ptpmod.pty.extkey"
maxlength="24" maxlength="24"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000200')" placeholder="请输入BIC"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="2">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
...@@ -89,59 +51,54 @@ ...@@ -89,59 +51,54 @@
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
<!-- LT000054 : BIC -->
<!-- LT000200 : : -->
<c-col :span="8"> <c-col :span="8">
<c-form-item label="账户行名称" prop="smtp.smtsup.ptpmod.pty.chnnam"> <c-form-item
label="账户行名称"
prop="smtp.smtsup.ptpmod.pty.chnnam"
>
<c-input <c-input
v-model="model.smtp.smtsup.ptpmod.pty.chnnam" v-model="model.smtp.smtsup.ptpmod.pty.chnnam"
maxlength="100" maxlength="100"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000201')" placeholder="请输入账户行名称"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- LT000016 : 账户行名称 -->
<!-- LT000201 : : -->
<!-- LT000227 : : -->
</c-col> </c-col>
</el-row>
<el-row v-show="searchSlot.searchToggle">
<c-col :span="24"> <c-col :span="24">
<c-col :span="8"> <c-col :span="8">
<c-form-item label="帐号" prop="smtp.smtsup.act"> <c-form-item label="帐号" prop="smtp.smtsup.act">
<c-input <c-input
v-model="model.smtp.smtsup.act" v-model="model.smtp.smtsup.act"
maxlength="40" maxlength="40"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000227')" placeholder="请输入帐号"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- LT000226 : 帐号 -->
<c-col :span="8"> <c-col :span="8">
<el-form-item label="币种" prop="smtp.smtsup.cur"> <el-form-item label="币种" prop="smtp.smtsup.cur">
<c-select <c-select
v-model="model.smtp.smtsup.cur" v-model="model.smtp.smtsup.cur"
style="width: 100%" style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000202')" placeholder="请输入币种"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- LT000018 : 币种 -->
<!-- LT000202 : : -->
<c-col :span="8"> <c-col :span="8">
<c-form-item label="对账单参考号" prop="smtp.smtsup.ref"> <c-form-item label="对账单参考号" prop="smtp.smtsup.ref">
<c-input <c-input
v-model="model.smtp.smtsup.ref" v-model="model.smtp.smtsup.ref"
maxlength="16" maxlength="16"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000203')" placeholder="请输入对账单参考号"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- LT000078 : 对账单参考号 -->
<!-- LT000203 : : -->
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -150,125 +107,236 @@ ...@@ -150,125 +107,236 @@
<c-input <c-input
v-model="model.smtp.smtsup.smtno" v-model="model.smtp.smtsup.smtno"
maxlength="16" maxlength="16"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000204')" placeholder="请输入对账单编号"
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- LT000011 : 对账单编号 -->
<!-- LT000204 : : -->
<c-col :span="8"> <c-col :span="8">
<c-col :span="16"> <el-form-item label="收报日期" style="width: 100%">
<el-form-item label="收报日期" prop="smtp.smtsup.begdat"> <c-col :span="11">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.smtp.smtsup.begdat" v-model="model.smtp.smtsup.begdat"
style="width: 100%" style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000205')" placeholder="请选择收报日期"
value-format="yyyy-MM-dd"
></c-date-picker> ></c-date-picker>
</el-form-item>
</c-col> </c-col>
<!-- LT000012 : 收报日期 --> <c-col :span="2" style="text-align: center">
<!-- LT000205 : : --> <label style="display: inline-block; width: 100%"></label>
<c-col :span="8"> </c-col>
<el-form-item label="至" prop="smtp.smtsup.enddat"> <c-col :span="11">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.smtp.smtsup.enddat" v-model="model.smtp.smtsup.enddat"
style="width: 100%" style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000013')" placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker> ></c-date-picker>
</el-form-item>
</c-col> </c-col>
<!-- LT000013 : 至 --> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> <c-col :span="8">
<c-col :span="16"> <el-form-item label="起息日期" style="width: 100%">
<el-form-item label="起息日期" prop="smtp.smtsup.valdatbeg"> <c-col :span="11">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.smtp.smtsup.valdatbeg" v-model="model.smtp.smtsup.valdatbeg"
style="width: 100%" style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000206')" placeholder="请选择起息日期"
></c-date-picker> ></c-date-picker>
</el-form-item>
</c-col> </c-col>
<!-- LT000139 : 起息日期 --> <c-col :span="2" style="text-align: center">
<!-- LT000206 : : --> <label style="display: inline-block; width: 100%"></label>
<c-col :span="8"> </c-col>
<el-form-item label="至" prop="smtp.smtsup.valdatend"> <c-col :span="11">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.smtp.smtsup.valdatend" v-model="model.smtp.smtsup.valdatend"
style="width: 100%" style="width: 100%"
:placeholder="$t('other.please_enter') + $t('smtsup.LT000140')" placeholder=""
value-format="yyyy-MM-dd"
></c-date-picker> ></c-date-picker>
</el-form-item>
</c-col> </c-col>
<!-- LT000140 : 至 --> </el-form-item>
</c-col> </c-col>
</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 <c-button
size="small" class="medium_bcs"
style="margin-left: 20"
:disabled="isupdate"
size="medium"
type="primary" type="primary"
icon="el-icon-search" @click="batchupdateAck"
@click="onSmtsupSel" >导出</c-button
> >
{{ $t("smtsup.BT000014") }} </el-col>
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmtsupClr">
{{ $t("smtsup.BT000015") }}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onSmtsupAllchk">
{{ $t("smtsup.BT000173") }}
</c-button>
</c-col>
<c-col :span="12"> <el-col :span="24" style="margin-top: 10px">
<c-button size="small" type="primary" @click="onSmtsupOpp"> <div style="height: 90%">
{{ $t("smtsup.BT000174") }} <c-col :span="24">
</c-button> <el-table
</c-col> :span="24"
id="infgidSptableRef"
<c-col :span="12"> :data="tableData"
<c-button size="small" type="primary" @click="onSmtsupLook"> :highlight-current-row="true"
{{ $t("smtsup.BT000058") }} :border="true"
</c-button> style="width: 100%"
</c-col> 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"> <el-pagination
<c-button size="small" type="primary" @click="onSmtsupDtllok"> layout="prev, pager, next, pager, next, jumper"
{{ $t("smtsup.BT000057") }} :total="pagenation.total"
</c-button> :page-size="pagenation.page - size"
:current-page="pagenation.pageNum"
@size-change="handleSizeChange"
@current-change="currentChange"
>
</el-pagination>
</c-col> </c-col>
<!--预览弹框-->
<message-view ref="msgView" :model="model"></message-view>
</div>
</el-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import Event from "../model/Event"; import Event from "../event";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: {},
data() { data() {
return { return {
tableData: [],
statusKey: [],
pagenation: { 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 () {}, created: function () {},
}; };
</script> </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