Commit 096d9c89 authored by 李苏's avatar 李苏 💬

kc存在明细库存带入ckid

parent 9ca3fc58
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<BasePage :changeQueryParams='changeQueryParams' ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage" :power='power' class="min_full" :config="config">
<BasePage @basePageCreated='basePageCreated' :changeQueryParams='changeQueryParams' ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
......@@ -170,6 +170,12 @@
}
},
methods: {
basePageCreated(ctx){
if(this.app.formDetail.length!=0){
ctx.queryParams.ckid=this.app.formDetail[0].ckid
}
},
changeQueryParams(queryParams){
let str=queryParams.rqInfos
let trimmedStr = str.replace(/\s/g, ''); // 使用正则表达式去除空格
......
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<BasePage fePage :changeQueryParams='changeQueryParams' :toolButtonConfig="{
<BasePage @basePageCreated='basePageCreated' fePage :changeQueryParams='changeQueryParams' :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
......@@ -181,6 +181,12 @@
}
},
methods: {
basePageCreated(ctx){
if(this.app.formDetail.length!=0){
ctx.queryParams.ckid=this.app.formDetail[0].ckid
}
},
changeQueryParams(queryParams){
let str=queryParams.rqInfos
......
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