Commit 9ca3fc58 authored by 周毅's avatar 周毅

库位详情进入功能缺省不查询,去除仓库必填的控制

parent 342d3da3
<template> <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"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -17,6 +17,23 @@ ...@@ -17,6 +17,23 @@
import wlphsx from 'common/src/mixin/wlphsx.js' import wlphsx from 'common/src/mixin/wlphsx.js'
export default { export default {
mixins: [wlsx, wlphsx], mixins: [wlsx, wlphsx],
mounted() {
this.$nextTick(()=>{
/* 先获取默认的仓库*/
this.$refs.basePage.$refs.TablePager.beforePageQuery=()=>{
// if(!this.$refs.basePage.queryParams.ckid){
// this.$warning('请选择仓库后查询')
// throw Error('请选择仓库后查询')
// }
}
})
},
data() { data() {
return { return {
power: { 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