|
|
@ -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-main高度为100% 需要减掉的高度 |
|
|
|
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"> |
|
|
|