fix:输入物料详情table高度调整

This commit is contained in:
shijing 2025-09-16 15:18:52 +08:00
parent b31a325e1a
commit a49ea52d90
1 changed files with 2 additions and 4 deletions

View File

@ -546,7 +546,7 @@ export default {
selectWprList:[],
qct_defects_origin:[],
selectWpr:[],
tableHeight:500,
tableHeight:null,
apiObjPrint:this.$API.cm.labelmat.fromWm,
printer_name:localStorage.getItem("printer_name")
};
@ -597,9 +597,7 @@ export default {
}
}
that.visible = true;
setTimeout(() => {
that.tableHeight = document.getElementById('mlogbwMain').clientHeight-20;
},500)
that.tableHeight = document.getElementsByClassName('el-drawer__body')[0].clientHeight-40;
},
//testItem
gettestitem(){