Browse Source

解决打开明细查询后,切换页面返回的时候,遮罩层消失的问题

master
安虹睿 1 year ago
parent
commit
be3c9a4120
  1. 41
      Code/Fe/src/components/filterForDetailPage/index.vue

41
Code/Fe/src/components/filterForDetailPage/index.vue

@ -1,5 +1,5 @@
<template>
<div class="filterForDetailPage">
<div class="filterForDetailPage" v-if="dialogShow">
<el-dialog
title="明细查询"
:visible.sync="dialogShow"
@ -131,18 +131,18 @@ import * as interfaceApi from "@/api/wms-interface"
import {getListDesById,getPageListForDetail} from "@/api/wms-api"
import * as allUrlOption from '@/utils/baseData/urlOption'
export default {
name: 'filterForDetailPage',
mixins: [
name: 'filterForDetailPage',
mixins: [
tableMixins,
TableHeaderMixins,
mixins,
filterSelectMixins,
LoadingMixins
],
components:{
],
components:{
currenDescriptions
},
props: {
},
props: {
// app-main100%
setUTableHeight: {
type: Number,
@ -169,17 +169,11 @@ props: {
type: Boolean,
default: false,
},
// api
DeleteApi: {
type: String,
default: null
},
// -
// listColumns:{
// type: Array,
// default: null
// },
// -
parentColumns:{
type: Array,
@ -207,8 +201,8 @@ props: {
type:String,
default:'calc(90vh - 450px)'
},
},
data () {
},
data () {
return {
dialogShow:true,
URLOption_detailList:allUrlOption[this.$route.name].detailListURL,//-
@ -223,12 +217,19 @@ data () {
showParentLoading:false,//-
listColumns:[],//
}
},
mounted(){
},
activated(){
//
this.dialogShow = false
this.$nextTick(() => {
this.dialogShow = true
});
},
mounted(){
this.paging()
this.initHandleButtons()
},
methods: {
},
methods: {
rowDropForDetail(data,type){
this.listColumns = data
this.$emit("rowDropForDetail", data,type)
@ -315,7 +316,7 @@ methods: {
this.$message.error("删除失败!")
})
},
}
}
}
</script>
<style lang="scss">

Loading…
Cancel
Save