|
|
@@ -17,6 +17,8 @@
|
|
|
:page-size="20"
|
|
|
@columns-change="handleColumnChange"
|
|
|
:cache-key="cacheKeyUrl"
|
|
|
+ show-summary
|
|
|
+ :summary-method="getSummaries"
|
|
|
>
|
|
|
<!-- 表头工具栏 -->
|
|
|
<template v-slot:toolbar>
|
|
|
@@ -207,7 +209,7 @@
|
|
|
import printTemplateWl from './components/print-template-wl.vue';
|
|
|
import printTemplateTr from './components/print-template-tr.vue';
|
|
|
import printTemplateHt from './components/print-template-ht.vue';
|
|
|
-
|
|
|
+ import { getSummaries } from '@/utils/util.js';
|
|
|
import popModal from '@/components/pop-modal';
|
|
|
import { reviewStatus } from '@/enum/dict';
|
|
|
import orderDetailDialog from '@/views/purchasingManage/purchaseOrder/components/detailDialog.vue';
|
|
|
@@ -329,6 +331,13 @@
|
|
|
showOverflowTooltip: true,
|
|
|
minWidth: 140
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'receiveTotalPrice',
|
|
|
+ label: '收货金额',
|
|
|
+ align: 'center',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ minWidth: 140
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'supplierName',
|
|
|
label: '供应商名称',
|
|
|
@@ -411,6 +420,13 @@
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
+ getSummaries(param) {
|
|
|
+ return getSummaries(
|
|
|
+ param,
|
|
|
+ ['orderTotalCount', 'receiveTotalCount', 'receiveTotalPrice'],
|
|
|
+ ' '
|
|
|
+ );
|
|
|
+ },
|
|
|
/* 表格数据源 */
|
|
|
datasource({ page, limit, where, order }) {
|
|
|
this.params = {
|