Browse Source

2024/06/20

master
zelian_wu 2 years ago
parent
commit
daf6ac0f7c
  1. 15
      src/views/modules/finshProduct/outWarehouse.vue

15
src/views/modules/finshProduct/outWarehouse.vue

@ -13,13 +13,12 @@ export default {
name: "outWarehouse", name: "outWarehouse",
components: {ShipmentBox, OutWarehouseDetail}, components: {ShipmentBox, OutWarehouseDetail},
props:{ props:{
height:{
type: Number,
default:300,
}
}, },
data(){ data(){
return{ return{
height: 300,
height2: 300,
loading: false, loading: false,
open: false, open: false,
queryForm:{ queryForm:{
@ -353,6 +352,12 @@ export default {
} }
} }
}, },
mounted () {
this.$nextTick(() => {
this.height = (window.innerHeight-120)/2;
this.height2 = window.innerHeight-150-height;
})
},
created () { created () {
// this.getDataList(); // this.getDataList();
}, },
@ -446,7 +451,7 @@ export default {
</el-pagination> </el-pagination>
<el-tabs v-model="activeName"> <el-tabs v-model="activeName">
<el-tab-pane label="出库明细" name="detail"> <el-tab-pane label="出库明细" name="detail">
<out-warehouse-detail :height="420"
<out-warehouse-detail :height="height2"
:loading="detailLoading" :loading="detailLoading"
:data-list="detailDataList" :data-list="detailDataList"
:column-list="columnDetailList"></out-warehouse-detail> :column-list="columnDetailList"></out-warehouse-detail>

Loading…
Cancel
Save