From daf6ac0f7c1ca3a913c900754a9f6bacf708a1fd Mon Sep 17 00:00:00 2001 From: zelian_wu Date: Wed, 26 Jun 2024 17:53:10 +0800 Subject: [PATCH] 2024/06/20 --- src/views/modules/finshProduct/outWarehouse.vue | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/views/modules/finshProduct/outWarehouse.vue b/src/views/modules/finshProduct/outWarehouse.vue index b2c27b7..87b1d82 100644 --- a/src/views/modules/finshProduct/outWarehouse.vue +++ b/src/views/modules/finshProduct/outWarehouse.vue @@ -13,13 +13,12 @@ export default { name: "outWarehouse", components: {ShipmentBox, OutWarehouseDetail}, props:{ - height:{ - type: Number, - default:300, - } + }, data(){ return{ + height: 300, + height2: 300, loading: false, open: false, queryForm:{ @@ -353,6 +352,12 @@ export default { } } }, + mounted () { + this.$nextTick(() => { + this.height = (window.innerHeight-120)/2; + this.height2 = window.innerHeight-150-height; + }) + }, created () { // this.getDataList(); }, @@ -446,7 +451,7 @@ export default { -