|
|
@@ -0,0 +1,641 @@
|
|
|
+<template>
|
|
|
+ <!--布局容器-->
|
|
|
+ <div class="InvoicedAndSettled" style="width: 99%; margin-top: 0px">
|
|
|
+ <templateTable
|
|
|
+ :formList="formList"
|
|
|
+ :tableConfig="tableConfig"
|
|
|
+ :data="tableData"
|
|
|
+ @findPage="findPage"
|
|
|
+ @handleSearchList="handleSearchList"
|
|
|
+ :pagination="pageData"
|
|
|
+ @handleResetForm="handleResetForm"
|
|
|
+ >
|
|
|
+ <template slot="data">
|
|
|
+ <el-date-picker
|
|
|
+ v-model="dateTime"
|
|
|
+ type="daterange"
|
|
|
+ range-separator="至"
|
|
|
+ start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ >
|
|
|
+ </el-date-picker>
|
|
|
+ </template>
|
|
|
+ <template slot="dockingPerson">
|
|
|
+ <el-select
|
|
|
+ v-model="formData.dockingPerson"
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ placeholder="请选择"
|
|
|
+ size="small"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in dockingPersonOption"
|
|
|
+ :key="item.docking_person"
|
|
|
+ :label="item.docking_person"
|
|
|
+ :value="item.docking_person"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
+ </templateTable>
|
|
|
+ <el-dialog
|
|
|
+ title="记录"
|
|
|
+ :visible.sync="dialogVisiblerecord"
|
|
|
+ width="40%"
|
|
|
+ :before-close="handleCloserecord"
|
|
|
+ >
|
|
|
+ <templateTable
|
|
|
+ ref="templateTable1"
|
|
|
+ :pagination="pageDatarecord"
|
|
|
+ @getList="getListrecord"
|
|
|
+ :tableConfig="tableConfigDetailrecord"
|
|
|
+ :data="formTableDatarecord"
|
|
|
+ @findPage="findPageDetailrecord"
|
|
|
+ >
|
|
|
+ <template slot="imageUrl" slot-scope="scope" v-if="scope.row.imageUrl">
|
|
|
+ <div style="border: 2px solid #f2f2f2; box-sizing: border-box">
|
|
|
+ <el-image
|
|
|
+ style="width: 100px; height: 30px"
|
|
|
+ :src="`${process + scope.row.imageUrl}`"
|
|
|
+ :preview-src-list="[`${process + scope.row.imageUrl}`]"
|
|
|
+ ></el-image>
|
|
|
+ </div>
|
|
|
+ <!-- <img
|
|
|
+
|
|
|
+ :src="`${process + scope.row.imageUrl}`"
|
|
|
+ :preview-src-list="[tixianDetails.bankReceipt]"
|
|
|
+ class="imageclass"
|
|
|
+ /> -->
|
|
|
+ </template>
|
|
|
+ </templateTable>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="small" @click="dialogVisiblerecord = false"
|
|
|
+ >取消</el-button
|
|
|
+ >
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="明细"
|
|
|
+ :visible.sync="dialogVisibleDetail"
|
|
|
+ width="60%"
|
|
|
+ :before-close="handleCloseDetail"
|
|
|
+ >
|
|
|
+ <div class="table-overflow">
|
|
|
+ <templateTable
|
|
|
+ ref="templateTable2"
|
|
|
+ :pagination="pageDataDetail"
|
|
|
+ @getList="getListDetail"
|
|
|
+ :tableConfig="tableConfigDetailDetail"
|
|
|
+ :data="formTableDatarecord"
|
|
|
+ @findPage="findPageDetailDetail"
|
|
|
+ >
|
|
|
+ </templateTable>
|
|
|
+ </div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="small" @click="dialogVisibleDetail = false"
|
|
|
+ >取消</el-button
|
|
|
+ >
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="明细"
|
|
|
+ :visible.sync="dialogVisibleRecordDetail"
|
|
|
+ width="50%"
|
|
|
+ :before-close="handleCloseRecordDetail"
|
|
|
+ >
|
|
|
+ <templateTable
|
|
|
+ ref="templateTable2"
|
|
|
+ :pagination="pageDataRecordDetail"
|
|
|
+ @getList="getListRecordDetail"
|
|
|
+ :tableConfig="tableConfigDetailDetail"
|
|
|
+ :data="formTableDatarecordDetail"
|
|
|
+ @findPage="findPageRecordDetail"
|
|
|
+ >
|
|
|
+ </templateTable>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="small" @click="dialogVisibleRecordDetail = false"
|
|
|
+ >取消</el-button
|
|
|
+ >
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+ <el-dialog
|
|
|
+ title="详情"
|
|
|
+ :visible.sync="messageVisible"
|
|
|
+ width="60%"
|
|
|
+ :before-close="handleCloseMessage"
|
|
|
+ >
|
|
|
+ <div class="table-overflow">
|
|
|
+ <templateTable
|
|
|
+ ref="templateTable2"
|
|
|
+ :pagination="pageDataDetail"
|
|
|
+ @getList="getListDetail"
|
|
|
+ :tableConfig="messageTableConfig"
|
|
|
+ :data="messageList"
|
|
|
+ @findPage="findPageDetailDetail"
|
|
|
+ >
|
|
|
+ </templateTable>
|
|
|
+ </div>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button size="small" @click="messageVisible = false">取消</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import KtCommonTable from "@/views/Core/KtCommonTable.vue"; //表格组件
|
|
|
+import templateTable from "@/components/TemplateTable/index.vue";
|
|
|
+import { mapState } from "vuex";
|
|
|
+import yearMonthYay from "./yearMonthYay.vue";
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: "baosi",
|
|
|
+ components: { KtCommonTable, templateTable, yearMonthYay },
|
|
|
+ created() {},
|
|
|
+ computed: {
|
|
|
+ ...mapState({
|
|
|
+ perms: (state) => state.user.perms,
|
|
|
+ }),
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ dateTime: [],
|
|
|
+ process: process.env.BASE_URL,
|
|
|
+ tableConfigDetailDetail: {
|
|
|
+ columns: [
|
|
|
+ {
|
|
|
+ prop: "licenseno",
|
|
|
+ label: "车牌",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "policyno",
|
|
|
+ label: "交强保单号",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "syPolicyno",
|
|
|
+ label: "商业保单号",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "noPolicyno",
|
|
|
+ label: "非车保单号",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "insuredName",
|
|
|
+ label: "被保人",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "jqPremium",
|
|
|
+ label: "交强保费",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "syPremium",
|
|
|
+ label: "商业保费",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "noPremium",
|
|
|
+ label: "非车保费",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "jqReceivableProportion",
|
|
|
+ label: "交强应收比例",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "syReceivableProportion",
|
|
|
+ label: "商业应收比例",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "noReceivableProportion",
|
|
|
+ label: "非车应收比例",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "allFeeValue",
|
|
|
+ label: "应收金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ loading: true,
|
|
|
+ isPaginationShow: true,
|
|
|
+ },
|
|
|
+ pageDataDetail: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 20,
|
|
|
+ totalSize: 0,
|
|
|
+ },
|
|
|
+ dialogVisibleDetail: false,
|
|
|
+ dialogVisiblerecord: false,
|
|
|
+ formTableDatarecord: [],
|
|
|
+ tableConfigDetailrecord: {
|
|
|
+ columns: [
|
|
|
+ {
|
|
|
+ prop: "settlementTime",
|
|
|
+ label: "进账日期",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "settlementAmount",
|
|
|
+ label: "进帐金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "imageUrl",
|
|
|
+ label: "凭证",
|
|
|
+ type: "slot",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ loading: true,
|
|
|
+ isPaginationShow: true,
|
|
|
+ optBtns: [
|
|
|
+ {
|
|
|
+ type: "primary",
|
|
|
+ label: "明细",
|
|
|
+ click: (row, index) => {
|
|
|
+ return this.haldRecordDetail(row);
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ pageDatarecord: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 20,
|
|
|
+ totalSize: 0,
|
|
|
+ },
|
|
|
+ searchData: {},
|
|
|
+ formList: [
|
|
|
+ {
|
|
|
+ label: "对接人",
|
|
|
+ name: "dockingPerson",
|
|
|
+ type: "slot",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "时间筛选",
|
|
|
+ name: "data",
|
|
|
+ type: "slot",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ tableConfig: {
|
|
|
+ columns: [
|
|
|
+ // {
|
|
|
+ // prop: "companyName",
|
|
|
+ // label: "保险公司名称",
|
|
|
+ // type: "text",
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // prop: "partnerCompaniesName",
|
|
|
+ // label: "合作公司名称",
|
|
|
+ // type: "text",
|
|
|
+ // },
|
|
|
+ {
|
|
|
+ prop: "dockingPerson",
|
|
|
+ label: "对接人",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "sumAmount",
|
|
|
+ label: "应收金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "ysAmount",
|
|
|
+ label: "已收金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "wsAmount",
|
|
|
+ label: "未收金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ loading: true,
|
|
|
+ isPaginationShow: true,
|
|
|
+ showSummary: true,
|
|
|
+ isShowIndex: true,
|
|
|
+ tableHeight: "auto",
|
|
|
+ optBtns: [
|
|
|
+ {
|
|
|
+ type: "primary",
|
|
|
+ label: "记录",
|
|
|
+ click: (row, index) => {
|
|
|
+ return this.haldRecord(row);
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "primary",
|
|
|
+ label: "明细",
|
|
|
+ click: (row, index) => {
|
|
|
+ return this.haldDetail(row);
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ type: "primary",
|
|
|
+ label: "详情",
|
|
|
+ click: (row, index) => {
|
|
|
+ return this.haldMessage(row);
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ },
|
|
|
+ tableData: [],
|
|
|
+ formData: {},
|
|
|
+ dialogVisible: false,
|
|
|
+ pageData: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 20,
|
|
|
+ agreementType: 1,
|
|
|
+ handlingFeesStatus: 1,
|
|
|
+ },
|
|
|
+ dockingPersonOption: [],
|
|
|
+ // 记录里的明细
|
|
|
+ dialogVisibleRecordDetail: false,
|
|
|
+ formTableDatarecordDetail: [],
|
|
|
+ pageDataRecordDetail: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 20,
|
|
|
+ totalSize: 0,
|
|
|
+ },
|
|
|
+ recordDetail: "",
|
|
|
+ messageObj: {},
|
|
|
+ messageVisible: false,
|
|
|
+ messageList: [],
|
|
|
+ messageTableConfig: {
|
|
|
+ columns: [
|
|
|
+ {
|
|
|
+ prop: "companyName",
|
|
|
+ label: "保险公司名称",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "partnerCompaniesName",
|
|
|
+ label: "合作公司名称",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "sumAmount",
|
|
|
+ label: "应收金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "ysAmount",
|
|
|
+ label: "已收金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: "wsAmount",
|
|
|
+ label: "未收金额",
|
|
|
+ type: "text",
|
|
|
+ },
|
|
|
+ ],
|
|
|
+ loading: true,
|
|
|
+ isPaginationShow: true,
|
|
|
+ showSummary: true,
|
|
|
+ isShowIndex: true,
|
|
|
+ tableHeight: "auto",
|
|
|
+ },
|
|
|
+ messagePage: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ total: 0,
|
|
|
+ },
|
|
|
+ Recordtime: "",
|
|
|
+ };
|
|
|
+ },
|
|
|
+ created() {
|
|
|
+ this.findPage();
|
|
|
+ this.$api.task.getDockingPersonList().then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.dockingPersonOption = res.data;
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ //重置表单查询信息
|
|
|
+ handleResetForm() {
|
|
|
+ this.formData = {};
|
|
|
+ this.pageData.dockingPerson = [];
|
|
|
+ this.$refs.yearMonthYay.clear();
|
|
|
+ },
|
|
|
+ // 记录里的明细
|
|
|
+ haldRecordDetail(row) {
|
|
|
+ // console.log(row);
|
|
|
+ this.findPageRecordDetail(row);
|
|
|
+ this.Recordtime = row.settlementTime;
|
|
|
+ this.dialogVisibleRecordDetail = true;
|
|
|
+ },
|
|
|
+ handleCloseRecordDetail() {
|
|
|
+ this.dialogVisibleRecordDetail = false;
|
|
|
+ },
|
|
|
+ getListRecordDetail(data) {
|
|
|
+ this.findPageRecordDetail(data);
|
|
|
+ },
|
|
|
+ findPageRecordDetail(row) {
|
|
|
+ this.tableConfigDetailDetail.loading = true;
|
|
|
+ this.$api.task
|
|
|
+ .plyFeeQuery({
|
|
|
+ partnerCompaniesId: this.recordDetail,
|
|
|
+ // agreementType: '1',
|
|
|
+ // handlingFeesStatus: '1',
|
|
|
+ settlementDate: row.settlementTime || this.Recordtime,
|
|
|
+ ...this.pageDataRecordDetail,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.formTableDatarecordDetail = res.data.content;
|
|
|
+ this.pageDataRecordDetail = {
|
|
|
+ pageNum: res.data.pageNum,
|
|
|
+ pageSize: res.data.pageSize,
|
|
|
+ totalSize: res.data.totalSize,
|
|
|
+ };
|
|
|
+ this.tableConfigDetailDetail.loading = false;
|
|
|
+ } else {
|
|
|
+ this.tableConfigDetailDetail.loading = false;
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 明细
|
|
|
+ findPageDetailDetail(data) {
|
|
|
+ // console.log(data)
|
|
|
+ this.tableConfigDetailDetail.loading = true;
|
|
|
+ this.$api.task
|
|
|
+ .plyFeeQuery({
|
|
|
+ // partnerCompaniesId: data
|
|
|
+ // ? data.partnerCompaniesId
|
|
|
+ // : this.messageObj.partnerCompaniesId,
|
|
|
+ agreementType: "1",
|
|
|
+ handlingFeesStatus: "1",
|
|
|
+ ...this.pageDataDetail,
|
|
|
+ dockingPerson: data
|
|
|
+ ? data.dockingPerson
|
|
|
+ : this.messageObj.dockingPerson,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.formTableDatarecord = res.data.content;
|
|
|
+ this.pageDataDetail = {
|
|
|
+ pageNum: res.data.pageNum,
|
|
|
+ pageSize: res.data.pageSize,
|
|
|
+ totalSize: res.data.totalSize,
|
|
|
+ };
|
|
|
+ this.tableConfigDetailDetail.loading = false;
|
|
|
+ } else {
|
|
|
+ this.tableConfigDetail.loading = false;
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 明细
|
|
|
+ getListDetail(data) {
|
|
|
+ this.findPageDetailDetail();
|
|
|
+ },
|
|
|
+ // 明细
|
|
|
+ haldDetail(row) {
|
|
|
+ this.messageObj = { ...row };
|
|
|
+ this.findPageDetailDetail(row);
|
|
|
+ this.dialogVisibleDetail = true;
|
|
|
+ },
|
|
|
+ //详情
|
|
|
+ haldMessage(row) {
|
|
|
+ this.messageVisible = true;
|
|
|
+ this.findPageMessage(row);
|
|
|
+ },
|
|
|
+ findPageMessage(data) {
|
|
|
+ this.messageTableConfig.loading = true;
|
|
|
+ this.$api.task
|
|
|
+ .findListByDockingPerson({
|
|
|
+ dockingPerson: data.dockingPerson,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.messageTableConfig.loading = false;
|
|
|
+ this.messageList = res.data;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleCloseMessage() {
|
|
|
+ this.messageVisible = false;
|
|
|
+ },
|
|
|
+
|
|
|
+ handleCloseDetail() {
|
|
|
+ this.dialogVisibleDetail = false;
|
|
|
+ },
|
|
|
+
|
|
|
+ // 记录
|
|
|
+ haldRecord(row) {
|
|
|
+ this.recordDetail = row.partnerCompaniesId;
|
|
|
+ this.findPageDetailrecord(row);
|
|
|
+ this.dialogVisiblerecord = true;
|
|
|
+ },
|
|
|
+ // 记录
|
|
|
+ findPageDetailrecord(data) {
|
|
|
+ this.tableConfigDetailrecord.loading = true;
|
|
|
+ this.$api.task
|
|
|
+ // .settlementFeesQuery({
|
|
|
+ // partnerCompaniesId: data.partnerCompaniesId,
|
|
|
+ // agreementType: '1',
|
|
|
+ // handlingFeesStatus: '0',
|
|
|
+ // ...this.pageDatarecord
|
|
|
+ // })
|
|
|
+ .plyFeeRecord({
|
|
|
+ // partnerCompaniesId: data.partnerCompaniesId,
|
|
|
+ handlingFeesStatus: "1",
|
|
|
+ dockingPerson: data.dockingPerson,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ // this.formTableDatarecord = res.data.content;
|
|
|
+ // this.pageDatarecord = {
|
|
|
+ // pageNum: res.data.pageNum,
|
|
|
+ // pageSize: res.data.pageSize,
|
|
|
+ // totalSize: res.data.totalSize,
|
|
|
+ // }
|
|
|
+ this.formTableDatarecord = res.data;
|
|
|
+ this.tableConfigDetailrecord.loading = false;
|
|
|
+ } else {
|
|
|
+ this.tableConfigDetail.loading = false;
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ // 记录
|
|
|
+ getListrecord(data) {
|
|
|
+ this.findPageDetailrecord();
|
|
|
+ },
|
|
|
+ handleCloserecord() {
|
|
|
+ this.dialogVisiblerecord = false;
|
|
|
+ },
|
|
|
+ getYearData(val) {
|
|
|
+ this.formData.year = val;
|
|
|
+ },
|
|
|
+ getMonthData(val) {
|
|
|
+ this.formData.month = val;
|
|
|
+ },
|
|
|
+ getDayData(val) {
|
|
|
+ this.formData.day = val;
|
|
|
+ },
|
|
|
+ // 查询
|
|
|
+ handleSearchList(val) {
|
|
|
+ this.findPage(val);
|
|
|
+ },
|
|
|
+ //列表数据
|
|
|
+ findPage(data) {
|
|
|
+ this.tableConfig.loading = true;
|
|
|
+ this.$api.task
|
|
|
+ .PTAmountList({
|
|
|
+ ...this.pageData,
|
|
|
+ ...data,
|
|
|
+ ...this.formData,
|
|
|
+ beginDate: this.dateTime ? this.dateTime[0] : undefined,
|
|
|
+ endDate: this.dateTime ? this.dateTime[1] : undefined,
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.tableData = res.data;
|
|
|
+ // this.pageData.pageNum = res.data.pageNum;
|
|
|
+ // this.pageData.pageSize = res.data.pageSize;
|
|
|
+ // this.pageData.totalSize = res.data.totalSize;
|
|
|
+ this.tableConfig.loading = false;
|
|
|
+ } else {
|
|
|
+ this.tableConfig.loading = false;
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+
|
|
|
+ tablePageChange(val) {
|
|
|
+ this.pageData.pageSize = val;
|
|
|
+ this.findPage();
|
|
|
+ },
|
|
|
+ tableCurrentChange(val) {
|
|
|
+ this.pageData.pageNum = val;
|
|
|
+ this.findPage();
|
|
|
+ },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+.table-overflow /deep/ .el-table {
|
|
|
+ overflow: auto;
|
|
|
+}
|
|
|
+.InvoicedAndSettled >>> .el-table__body-wrapper {
|
|
|
+ overflow-y: auto !important;
|
|
|
+ height: auto !important;
|
|
|
+}
|
|
|
+>>> .dataTable .el-table__header-wrapper .el-table__header .el-checkbox {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+</style>
|