|
@@ -708,6 +708,41 @@ export default {
|
|
checked: 0,
|
|
checked: 0,
|
|
width: 100,
|
|
width: 100,
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ surface: "21",
|
|
|
|
+ label: "",
|
|
|
|
+ name: "应收合计",
|
|
|
|
+ checked: 0,
|
|
|
|
+ width: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ surface: "22",
|
|
|
|
+ label: "",
|
|
|
|
+ name: "应付合计",
|
|
|
|
+ checked: 0,
|
|
|
|
+ width: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ surface: "23",
|
|
|
|
+ label: "",
|
|
|
|
+ name: "利润",
|
|
|
|
+ checked: 0,
|
|
|
|
+ width: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ surface: "24",
|
|
|
|
+ label: "",
|
|
|
|
+ name: "实收合计",
|
|
|
|
+ checked: 0,
|
|
|
|
+ width: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ surface: "25",
|
|
|
|
+ label: "",
|
|
|
|
+ name: "实付合计",
|
|
|
|
+ checked: 0,
|
|
|
|
+ width: 100,
|
|
|
|
+ },
|
|
],
|
|
],
|
|
setRowList: [],
|
|
setRowList: [],
|
|
getRowList: [],
|
|
getRowList: [],
|
|
@@ -771,8 +806,7 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
- // 根据浏览器高度设置初始高度
|
|
|
|
- this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 160
|
|
|
|
|
|
+
|
|
// 监听浏览器高度变化,改变表格高度
|
|
// 监听浏览器高度变化,改变表格高度
|
|
window.onresize = () => {
|
|
window.onresize = () => {
|
|
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 70
|
|
this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 70
|
|
@@ -877,6 +911,10 @@ export default {
|
|
this.warehousebillsList = response.rows;
|
|
this.warehousebillsList = response.rows;
|
|
this.total = response.total;
|
|
this.total = response.total;
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
|
+ // 根据浏览器高度设置初始高度
|
|
|
|
+ setInterval(() => {
|
|
|
|
+ this.tableHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 70
|
|
|
|
+ }, 300)
|
|
});
|
|
});
|
|
},
|
|
},
|
|
//合计
|
|
//合计
|