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
44ef361e
Commit
44ef361e
authored
Jan 13, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cxfx
parent
44fd9137
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
49 deletions
+64
-49
index.vue
src/views/ccgl/cxfx/sfhzcx/index.vue
+64
-49
No files found.
src/views/ccgl/cxfx/sfhzcx/index.vue
View file @
44ef361e
<
template
>
<BasePage
:autoQuery=
'false'
ref=
"basePage"
:power=
'power'
class=
"min_full"
:config=
"config"
>
<BasePage
:autoQuery=
'false'
ref=
"basePage"
:power=
'power'
class=
"min_full"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
...
...
@@ -53,11 +53,6 @@
field
:
"wlxxGg"
,
width
:
140
},
{
title
:
"库位"
,
field
:
"kwName"
,
width
:
140
},
{
title
:
"货主"
,
field
:
"hzName"
,
...
...
@@ -78,11 +73,31 @@
field
:
"jldwname"
,
width
:
80
},
{
title
:
"期初结存数量(辅)"
,
field
:
"fqcjcsl"
,
width
:
140
,
fieldType
:
'float'
},
{
title
:
"期初结存数量(辅)"
,
field
:
"qmjcsl"
,
width
:
140
,
fieldType
:
'float'
},
{
title
:
"本期入库数量(辅)"
,
field
:
"fbqrksl"
,
width
:
140
,
fieldType
:
'float'
},
{
title
:
"本期出库数量(辅)"
,
field
:
"fbqcksl"
,
width
:
140
,
fieldType
:
'float'
},
{
title
:
"期初结存数量"
,
field
:
"fqcjcsl"
,
width
:
140
,
fieldType
:
'float'
},
{
title
:
"期初结存数量"
,
field
:
"qmjcsl"
,
width
:
140
,
fieldType
:
'float'
},
{
title
:
"本期入库数量"
,
field
:
"fbqrksl"
,
width
:
140
,
fieldType
:
'float'
},
{
title
:
"本期出库数量"
,
field
:
"fbqcksl"
,
width
:
140
,
fieldType
:
'float'
},
],
queryParams
:
[
...
...
@@ -133,46 +148,46 @@
// },
// },
{
"label"
:
"查询方式"
,
"prop"
:
"cxdx"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
'hasValue'
:
true
,
'clearable'
:
false
,
"src"
:
"wms/cxfx/sfhzcx/cxfs/init"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
},
onChange
:(
v
)
=>
{
if
(
v
){
let
list
=
[]
if
(
v
.
id
==
"ck,wl"
){
list
=
[
'wlph'
,
'zlh'
]
}
else
if
(
v
.
id
==
"wl,ph"
)
{
list
=
[
'ckName'
,
'zlh'
]
}
else
if
(
v
.
id
==
"ck"
)
{
list
=
[
'wlxxCode'
,
'wlxxName'
,
'wlph'
,
'jldwname'
,
'wlxxGg'
,
'zlh'
]
}
else
if
(
v
.
id
==
"wl"
)
{
list
=
[
'ckName'
,
'wlph'
,
'zlh'
]
}
/* */
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
newGridList
.
forEach
(
item
=>
{
if
(
list
.
includes
(
item
.
prop
)
){
item
.
show
=
false
}
else
{
item
.
show
=
true
}
})
console
.
log
(
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
newGridList
)
// let tabList=
"label"
:
"查询方式"
,
"prop"
:
"cxdx"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
'hasValue'
:
true
,
'clearable'
:
false
,
"src"
:
"wms/cxfx/sfhzcx/cxfs/init"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
},
onChange
:
(
v
)
=>
{
if
(
v
)
{
let
list
=
[]
if
(
v
.
id
==
"ck,wl"
)
{
list
=
[
'wlph'
,
'zlh'
]
}
else
if
(
v
.
id
==
"wl,ph"
)
{
list
=
[
'ckName'
,
'zlh'
]
}
else
if
(
v
.
id
==
"ck"
)
{
list
=
[
'wlxxCode'
,
'wlxxName'
,
'wlph'
,
'jldwname'
,
'wlxxGg'
,
'zlh'
]
}
else
if
(
v
.
id
==
"wl"
)
{
list
=
[
'ckName'
,
'wlph'
,
'zlh'
]
}
/* */
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
newGridList
.
forEach
(
item
=>
{
if
(
list
.
includes
(
item
.
prop
))
{
item
.
show
=
false
}
else
{
item
.
show
=
true
}
this
.
$refs
.
basePage
.
refresh
()
})
console
.
log
(
this
.
$refs
.
basePage
.
$refs
.
TablePager
.
newGridList
)
// let tabList=
}
},
this
.
$refs
.
basePage
.
refresh
()
}
},
},
{
...
...
@@ -213,4 +228,4 @@
</
script
>
<
style
>
</
style
>
</
style
>
\ No newline at end of file
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