Commit 1a8a2acc by Joey

fix(@rbc/bill-runner-query): 添加页签和账套时计算表格高度

parent f83b8c35
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
:templateName="config.name" :templateName="config.name"
v-if="config.name" v-if="config.name"
:extrCondition="extrCondition" :extrCondition="extrCondition"
:tableHeight="tableHeight"
></gms-query> ></gms-query>
<p v-else>没有查询模板定义!</p> <p v-else>没有查询模板定义!</p>
</template> </template>
...@@ -18,8 +19,16 @@ export default { ...@@ -18,8 +19,16 @@ export default {
}, },
}, },
data() { data() {
let height = window.innerHeight - 245
if (window.osConfig.appOpenMode == 'apploader') {
height -= 32
}
if (window.osConfig.showAcctbookBar) {
height -= 32
}
return { return {
extrCondition: [], extrCondition: [],
tableHeight: height,
}; };
}, },
mounted() { mounted() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment