<template> <div class="eibs-tab"> <c-list-search @form-reset="handleReset" @form-search="handleSearch"> <!-- 持续展示区 --> <template v-slot="searchSlot"> <el-row> <c-col :span="24"> <c-col :span="8"> <el-form-item label="计费收款行账号" prop="" style="width: 100%"> <c-input v-model="model.jfdgrp.jfd.act" style="width: 100%" placeholder="请输入计费收款行账号"/> </el-form-item> </c-col> <c-col :span="8"> <el-form-item label="日期" prop="rcvdatsta" style="width: 100%"> <c-col :span="11"> <c-date-picker type="date" v-model="model.jfdp.begdat" 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.jfdp.enddat" style="width: 100%"></c-date-picker> </c-col> </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.jfdp.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.jfdp.amtmax" :placeholder="$t('lc.请输入金额上限')" style="width: 100%" ></c-input> </c-col> </el-form-item> </c-col> </c-col> </el-row> <!-- 可控展示区 --> <el-row v-show="searchSlot.searchToggle"> </el-row> </template> </c-list-search> <el-col :span="24" style="margin-top: 2px;margin-bottom: 1px;"> <c-button :disabled="isFoldDisable" class="medium_bcs" size="medium" style="margin-left: 0" type="primary">{{ $t('public.归档') }} </c-button> <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"> {{ $t('public.导出Excel') }} </c-button> </el-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="fb"> <el-table :data="stmData.data" :columns="stmData.columns" v-loading="load" style="width: 100%" @selection-change="handleSelectionChange" size="small" :border="true" height="calc(100vh - 480px)" :highlight-current-row="true"> <el-table-column type="selection" width="55"> </el-table-column> <el-table-column v-for="(item, key) in stmData.columns" :key="key" :label="item.label" :prop="item.prop" :min-width="item.width"> </el-table-column> </el-table> <el-pagination layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" :page-size="pagination.pageSize" :current-page.sync="pagination.pageNum" @size-change="handleSizeChange" @current-change="handleCurrentChange"> </el-pagination> </el-tab-pane> </el-tabs> </c-col> </div> </el-col> </div> </template> <script> import event from "../event"; export default { inject: ["root"], props: ["model", "codes"], mixins: [event], data() { return { activeTab: 'fb', load: false, subtypCodes: [], multipleSelection: [], stmData: { columns: [ { label: "月累计业务量收费比率", prop: "monrto", width: "120px" }, { label: "月累计业务量", prop: "monnum", width: "120px" }, { label: "直接参与者收费比率", prop: "bnkrto", width: "120px" }, { label: "计费收款行账号", prop: "act", width: "120px" }, { label: "收费总金额", prop: "sumamt", width: "120px" }, { label: "累计月份", prop: "mondat", width: "120px" }, { label: "接收时间", prop: "dattim", width: "120px" }, { label: "计费明细", prop: "num", width: "120px" }], data: [], }, pagination: { pageNum: 1, pageSize: 10, total: 0, }, }; }, computed: { isFoldDisable: function () { return this.multipleSelection.length == 0; }, isRoutingDisable: function () { return this.multipleSelection.length == 0; } }, methods: {}, mounted: function () { }, }; </script> <style lang="less" scoped> ::v-deep .c-content-scrollbar { height: 100% !important; } .eibs-tabs /deep/ { .m-table-search { padding: 20px 0px 10px 0px; } } .header-wrap { height: 36px; display: flex; justify-content: space-between; align-items: center; .title { font-size: 16px; color: #000; } .close-btn { padding: 3px; cursor: pointer; } } .m-list-btns { height: 300px; overflow: auto; } .medium_bcs { border-radius: 5px; } .m-table-search { padding: 20px 0px 10px 0px; } .pagination-box { width: 100%; height: 30px; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; background: #fff; margin-top: 5px; } .el-dialog__body { padding: 10px 5px 50px; } .m-table-search { padding: 20px 0px 10px 0px; } .btn-group-wrap { max-height: 200px; width: 100%; overflow-y: auto; display: flex; align-items: flex-start; justify-content: flex-start; flex-wrap: wrap; } .btn-item { margin-bottom: 10px; margin-right: 10px; } </style>