|
@@ -17,6 +17,7 @@
|
|
|
:needPage="false"
|
|
:needPage="false"
|
|
|
:cell-class-name="setCellClass"
|
|
:cell-class-name="setCellClass"
|
|
|
:span-method="spanMethod"
|
|
:span-method="spanMethod"
|
|
|
|
|
+ :cache-key="cacheKeyUrl"
|
|
|
>
|
|
>
|
|
|
<!-- <template v-slot:action="{ row }">
|
|
<!-- <template v-slot:action="{ row }">
|
|
|
<el-link
|
|
<el-link
|
|
@@ -78,28 +79,32 @@
|
|
|
type: 'index',
|
|
type: 'index',
|
|
|
label: '序号',
|
|
label: '序号',
|
|
|
width: 50,
|
|
width: 50,
|
|
|
- align: 'center'
|
|
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'clientName',
|
|
prop: 'clientName',
|
|
|
label: '客户',
|
|
label: '客户',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
width: 200,
|
|
width: 200,
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'categoryCode',
|
|
prop: 'categoryCode',
|
|
|
label: '编码',
|
|
label: '编码',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
width: 180,
|
|
width: 180,
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'categoryName',
|
|
prop: 'categoryName',
|
|
|
label: '名称',
|
|
label: '名称',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
width: 180,
|
|
width: 180,
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'startNum',
|
|
prop: 'startNum',
|
|
@@ -107,26 +112,30 @@
|
|
|
slot: 'startTime',
|
|
slot: 'startTime',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
width: 80,
|
|
width: 80,
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'endNum',
|
|
prop: 'endNum',
|
|
|
label: '结存\n合计',
|
|
label: '结存\n合计',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
width: 0,
|
|
width: 0,
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'totalNum',
|
|
prop: 'totalNum',
|
|
|
- label: '小计',
|
|
|
|
|
|
|
+ label: '数量',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'category',
|
|
prop: 'category',
|
|
|
label: '类别',
|
|
label: '类别',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'dateList',
|
|
prop: 'dateList',
|
|
@@ -143,7 +152,8 @@
|
|
|
|
|
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- date: ''
|
|
|
|
|
|
|
+ date: '',
|
|
|
|
|
+ cacheKeyUrl: 'wms-warehouseManagement-statisticalReports-transceiverSummary'
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
@@ -160,7 +170,7 @@
|
|
|
spanMethod({ row, column, rowIndex, columnIndex }) {
|
|
spanMethod({ row, column, rowIndex, columnIndex }) {
|
|
|
if (
|
|
if (
|
|
|
column.property === 'startNum' ||
|
|
column.property === 'startNum' ||
|
|
|
- column.property === 'endNum' ||
|
|
|
|
|
|
|
+ // column.property === 'endNum' ||
|
|
|
column.property === 'totalNum'
|
|
column.property === 'totalNum'
|
|
|
) {
|
|
) {
|
|
|
const groupStartIndex = Math.floor(rowIndex / 5) * 5;
|
|
const groupStartIndex = Math.floor(rowIndex / 5) * 5;
|