Browse Source

20250429

master
qiezi 9 months ago
parent
commit
3889d788af
  1. 9
      src/views/modules/board/partInventory.vue

9
src/views/modules/board/partInventory.vue

@ -323,6 +323,8 @@ export default {
columnWidth: 140 columnWidth: 140
}, },
], ],
calcHeight:100,
} }
}, },
methods:{ methods:{
@ -377,6 +379,11 @@ export default {
}, },
}, },
created() { created() {
if (this.$route.name === 'inventory') {
this.calcHeight = 30
}
},
mounted() {
}, },
computed:{ computed:{
@ -406,7 +413,7 @@ export default {
</script> </script>
<template> <template>
<div class="box-container" style="height: calc(100vh - 30px)">
<div class="box-container" :style="`height: calc(100vh - ${calcHeight}px)`">
<el-form :model="queryParams" label-position="top" style="max-width: 1200px;min-width: 800px"> <el-form :model="queryParams" label-position="top" style="max-width: 1200px;min-width: 800px">
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="3"> <el-col :span="3">

Loading…
Cancel
Save