Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lxyl-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李苏
lxyl-vue
Commits
096d9c89
Commit
096d9c89
authored
Aug 26, 2025
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kc存在明细库存带入ckid
parent
9ca3fc58
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
kc.vue
src/views/ccgl/ckgl/ckd/top/kc.vue
+7
-1
kc.vue
src/views/ccgl/ckgl/dbckd/top/kc.vue
+7
-1
No files found.
src/views/ccgl/ckgl/ckd/top/kc.vue
View file @
096d9c89
<
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
,
''
);
// 使用正则表达式去除空格
...
...
src/views/ccgl/ckgl/dbckd/top/kc.vue
View file @
096d9c89
<
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment