|
@@ -46,7 +46,7 @@
|
|
<el-date-picker style="margin: 0 10px 0 0" class="dataClass" value-format='yyyy-MM-dd' v-model="value2" @change='datechange' type="daterange" align="right" unlink-panels range-separator="至"
|
|
<el-date-picker style="margin: 0 10px 0 0" class="dataClass" value-format='yyyy-MM-dd' v-model="value2" @change='datechange' type="daterange" align="right" unlink-panels range-separator="至"
|
|
start-placeholder="出入库日期起" end-placeholder="出入库日期止" >
|
|
start-placeholder="出入库日期起" end-placeholder="出入库日期止" >
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
- <el-table show-summary :summary-method="getSummaries" :data="warehouseList.records" height="560" v-show="this.warehouseType== '1'">
|
|
|
|
|
|
+ <el-table show-summary :summary-method="getSummaries" ref="tableData" :data="warehouseList.records" height="560" v-show="this.warehouseType== '1'">
|
|
<el-table-column type="expand">
|
|
<el-table-column type="expand">
|
|
<template #default="props">
|
|
<template #default="props">
|
|
<ws-form ref="deptBudgetList" :model="deptBudgetList">
|
|
<ws-form ref="deptBudgetList" :model="deptBudgetList">
|
|
@@ -367,6 +367,11 @@
|
|
this.getPassYearFormatDate()
|
|
this.getPassYearFormatDate()
|
|
this.showType = this.isShow
|
|
this.showType = this.isShow
|
|
},
|
|
},
|
|
|
|
+ updated() {
|
|
|
|
+ this.$nextTick(() => {
|
|
|
|
+ this.$refs['tableData'].doLayout();
|
|
|
|
+ })
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
//合计
|
|
//合计
|
|
getSummaries(param) {
|
|
getSummaries(param) {
|