diff --git a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
index cbc36b79..746b4c28 100644
--- a/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
+++ b/vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue
@@ -244,7 +244,7 @@
-
+
{
- var offsetHei = document.documentElement.clientHeight;
- //console.log(offsetHei);
- let boxH = this.$refs.box.offsetHeight;
- this.tableHeight = offsetHei - boxH - 67 - 79; //57为footer高度,79为页面上部标签高度
- //this.tableHeight = offsetHei -260
- });
+ this.setTableHeight()
let timer = setInterval(() => {
this.open();
@@ -766,6 +760,15 @@ export default {
...mapGetters(["userInfo"]), //获取当前用户信息
},
methods: {
+ setTableHeight(){
+ this.$nextTick(() => {
+ var offsetHei = document.documentElement.clientHeight;
+ //console.log(offsetHei);
+ let boxH = this.$refs.box.offsetHeight;
+ this.tableHeight = offsetHei - boxH - 67 - 79 - 10; //57为footer高度,79为页面上部标签高度
+ //this.tableHeight = offsetHei -260
+ });
+ },
opens() {
this.getList();
@@ -820,7 +823,7 @@ export default {
if (JKITEM.timeoutMinutes >= JKITEM.configMinutes) {
//写提示信息
console.log(
- "222222222222222222222222222222222222222222222222"
+ "222222222222222222222222222222222222222222222222-1"
);
this.$refs.sp01.style.color = "red";
this.$refs.sp01.style.fontWeight = "bold";
@@ -837,8 +840,9 @@ export default {
if (JKITEM.timeoutMinutes >= JKITEM.configMinutes) {
//写提示信息
console.log(
- "222222222222222222222222222222222222222222222222"
+ "222222222222222222222222222222222222222222222222-2"
);
+ this.setTableHeight()
this.$refs.sp05.style.color = "red";
this.$refs.sp05.style.fontWeight = "bold";
} else {
@@ -1914,6 +1918,7 @@ export default {
return a.productLineCode - b.productLineCode;
});
//console.log(this.PLList)
+ this.setTableHeight()
//变更打印按钮文字
if (this.listQuery.productType === 1) {
this.$refs.btn1.$el.innerText = "打印门板发货排序单";
@@ -1929,6 +1934,7 @@ export default {
this.listQuery.state = [];
this.isShowState = false;
}
+
if (this.listQuery.productType === 2) {
this.listQueryList.ZHBBillStatus = 2;
} else {