Commit 5debd556 authored by 李苏's avatar 李苏 💬

调整

parent 4760fc3a
<template>
<BasePage :changeQueryParams='changeQueryParams' ref="basePage" :power='power' class="min_full" :config="config">
<BasePage :changeQueryParams='changeQueryParams' ref="basePage" :power='power' class="min_full" :autoQuery='false' :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
......@@ -17,6 +17,23 @@
import wlphsx from 'common/src/mixin/wlphsx.js'
export default {
mixins: [wlsx, wlphsx],
mounted() {
this.$nextTick(()=>{
/* 先获取默认的仓库*/
this.$refs.basePage.$refs.TablePager.beforePageQuery=()=>{
if(!this.$refs.basePage.queryParams.ckid){
this.$warning('请选择仓库后查询')
throw Error('请选择仓库后查询')
}
}
})
},
data() {
return {
power: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment