Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
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
0e4db0e8
Commit
0e4db0e8
authored
Jul 11, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调拨出库按库存开 前端分页 外加参数调整
parent
3dc9bc9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
27 deletions
+37
-27
kc.vue
src/views/ccgl/ckgl/dbckd/top/kc.vue
+37
-27
No files found.
src/views/ccgl/ckgl/dbckd/top/kc.vue
View file @
0e4db0e8
<
template
>
<
template
>
<DefaultDialog
:app=
'app'
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<BasePage
:changeQueryParams=
'changeQueryParams'
:toolButtonConfig=
"
{
<BasePage
fePage
:changeQueryParams=
'changeQueryParams'
:toolButtonConfig=
"
{
showExcel:false,
showExcel:false,
showPrint:false,
showPrint:false,
showField:true
showField:true
...
@@ -139,17 +139,27 @@
...
@@ -139,17 +139,27 @@
],
],
queryParams
:
[
queryParams
:
[
[{
[
{
label
:
'物料信息'
,
label
:
'物料信息'
,
prop
:
'
condition
'
,
prop
:
'
wlxxInfos
'
,
span
:
6
,
span
:
12
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
},
},
{
label
:
"容器"
,
prop
:
'rqInfos'
,
span
:
12
,
type
:
'input'
,
value
:
''
}
],
[
{
{
"label"
:
"仓库"
,
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"prop"
:
"ckid"
,
"span"
:
6
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"value"
:
""
,
"typeConfig"
:
{
"typeConfig"
:
{
...
@@ -159,13 +169,6 @@
...
@@ -159,13 +169,6 @@
"label"
:
"name"
"label"
:
"name"
}
}
}
}
},
{
label
:
"容器"
,
prop
:
'rqInfos'
,
span
:
12
,
type
:
'input'
,
value
:
''
}
}
]
]
],
],
...
@@ -178,13 +181,20 @@
...
@@ -178,13 +181,20 @@
}
}
},
},
methods
:
{
methods
:
{
changeQueryParams
(
queryParams
){
changeQueryParams
(
queryParams
){
let
str
=
queryParams
.
rqInfos
let
str
=
queryParams
.
rqInfos
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
let
arr
=
trimmedStr
.
split
(
","
);
let
arr
=
trimmedStr
.
split
(
","
);
queryParams
.
rqInfos
=
arr
queryParams
.
rqInfos
=
arr
console
.
log
(
queryParams
.
rqInfos
)
/* */
let
str2
=
queryParams
.
wlxxInfos
let
trimmedStr2
=
str2
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr2
=
trimmedStr2
.
replace
(
/,/
s
,
','
)
let
arr2
=
trimmedStr2
.
split
(
","
);
queryParams
.
wlxxInfos
=
arr2
},
},
save
(){
save
(){
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
let
list
=
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
selectedList
||
[]
...
...
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