|
|
|
@ -323,6 +323,8 @@ export default { |
|
|
|
columnWidth: 140 |
|
|
|
}, |
|
|
|
], |
|
|
|
|
|
|
|
calcHeight:100, |
|
|
|
} |
|
|
|
}, |
|
|
|
methods:{ |
|
|
|
@ -377,6 +379,11 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
if (this.$route.name === 'inventory') { |
|
|
|
this.calcHeight = 30 |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
|
|
|
|
}, |
|
|
|
computed:{ |
|
|
|
@ -406,7 +413,7 @@ export default { |
|
|
|
</script> |
|
|
|
|
|
|
|
<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-row :gutter="10"> |
|
|
|
<el-col :span="3"> |
|
|
|
|