|
@@ -383,8 +383,6 @@
|
|
:data="receivableList"
|
|
:data="receivableList"
|
|
show-summary
|
|
show-summary
|
|
:summary-method="getSum"
|
|
:summary-method="getSum"
|
|
- ref="table"
|
|
|
|
- :height="tableHeight"
|
|
|
|
@expand-change="expandChange"
|
|
@expand-change="expandChange"
|
|
>
|
|
>
|
|
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
|
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
|
@@ -589,7 +587,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- tableHeight: "0",
|
|
|
|
//费用名称
|
|
//费用名称
|
|
fWbuOptions: [],
|
|
fWbuOptions: [],
|
|
businessInTypeOption: [],
|
|
businessInTypeOption: [],
|
|
@@ -822,26 +819,19 @@ export default {
|
|
label: "fVslid",
|
|
label: "fVslid",
|
|
name: "船名",
|
|
name: "船名",
|
|
checked: 0,
|
|
checked: 0,
|
|
- width: 120,
|
|
|
|
|
|
+ width: 200,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
surface: "11",
|
|
surface: "11",
|
|
label: "fVoyid",
|
|
label: "fVoyid",
|
|
name: "航次",
|
|
name: "航次",
|
|
checked: 0,
|
|
checked: 0,
|
|
- width: 120,
|
|
|
|
|
|
+ width: 200,
|
|
}
|
|
}
|
|
);
|
|
);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
- this.$nextTick(() => {
|
|
|
|
- // 监听浏览器高度变化,改变表格高度
|
|
|
|
- window.onresize = () => {
|
|
|
|
- this.tableHeight =
|
|
|
|
- window.innerHeight - this.$refs.table.$el.offsetTop - 70;
|
|
|
|
- };
|
|
|
|
- });
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
//列设置全选
|
|
//列设置全选
|
|
@@ -1030,11 +1020,6 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
this.loading = false;
|
|
this.loading = false;
|
|
- // 根据浏览器高度设置初始高度
|
|
|
|
- setInterval(() => {
|
|
|
|
- this.tableHeight =
|
|
|
|
- window.innerHeight - this.$refs.table.$el.offsetTop - 70;
|
|
|
|
- }, 300);
|
|
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
|