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
121041ff
Commit
121041ff
authored
Aug 05, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库存调整单新增 调整查询条件
parent
c7cdb0db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
22 deletions
+29
-22
wlxx.vue
src/views/ccgl/zlgl/kccjd/top/wlxx.vue
+29
-22
No files found.
src/views/ccgl/zlgl/kccjd/top/wlxx.vue
View file @
121041ff
<
template
>
<BasePage
:
handleSourceData=
'handleSourceData'
fePage
:toolButtonConfig=
"
{
<BasePage
:
changeQueryParams=
'changeQueryParams'
:handleSourceData=
'handleSourceData'
fePage
:toolButtonConfig=
"
{
showExcel:false,
showPrint:false,
showField:true
...
...
@@ -95,11 +95,11 @@
],
queryParams
:
[
[{
label
:
"检验日期"
,
prop
:
"start"
,
label
:
'剩余天数'
,
prop
:
'jyts'
,
span
:
6
,
type
:
"date"
,
value
:
""
,
type
:
'inputNumber'
,
value
:
1
},
{
label
:
'物料批号'
,
...
...
@@ -110,8 +110,8 @@
},
{
label
:
'物料编码'
,
prop
:
'wlxxInfo'
,
span
:
6
,
prop
:
'wlxxInfo
s
'
,
span
:
12
,
type
:
'input'
,
value
:
''
}
...
...
@@ -130,12 +130,19 @@
},
methods
:
{
handleSourceData
(
list
){
list
.
forEach
((
item
,
index
)
=>
{
item
.
id
=
index
changeQueryParams
(
queryParams
)
{
let
str
=
queryParams
.
wlxxInfos
let
trimmedStr
=
str
.
replace
(
/
\s
/g
,
''
);
// 使用正则表达式去除空格
trimmedStr
=
trimmedStr
.
replace
(
/,/
s
,
','
)
let
arr
=
trimmedStr
.
split
(
","
);
queryParams
.
wlxxInfos
=
arr
},
handleSourceData
(
list
)
{
list
.
forEach
((
item
,
index
)
=>
{
item
.
id
=
index
})
},
ckxq
(
row
){
ckxq
(
row
)
{
this
.
$emit
(
'getRow'
,
row
)
},
getRow
(
val
)
{
...
...
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