|
@@ -69,7 +69,16 @@ export default {
|
|
|
|
|
|
},
|
|
|
set(){}
|
|
|
- }
|
|
|
+ },
|
|
|
+ tabHeight:{
|
|
|
+ get(){
|
|
|
+ return `${this.params['puOrderItemList'].length ?
|
|
|
+ (this.params['puOrderItemList'].length > 8 ? 500 :
|
|
|
+ (this.params['puOrderItemList'].length *60) +100)
|
|
|
+ : 120}px`
|
|
|
+ },
|
|
|
+ set(){}
|
|
|
+ },
|
|
|
},
|
|
|
watch: {
|
|
|
"params.puOrderItemList": {
|
|
@@ -909,7 +918,7 @@ export default {
|
|
|
:row-key="column.key === 'puOrderItemList' ? 'rowNo' :'rowno'"
|
|
|
:data="tableData"
|
|
|
style="width: 100%"
|
|
|
- height="calc(100vh - 440px)"
|
|
|
+ :height="tabHeight"
|
|
|
border
|
|
|
>
|
|
|
<template slot="empty">
|