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
5edf3857
Commit
5edf3857
authored
May 23, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面列表显示
parent
7f1c4bf9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
edit.vue
src/views/ccgl/jcsj/gwwh/edit.vue
+0
-6
index.vue
src/views/ccgl/jcsj/lkrck/index.vue
+28
-15
No files found.
src/views/ccgl/jcsj/gwwh/edit.vue
View file @
5edf3857
...
...
@@ -35,12 +35,6 @@
type
:
'input'
,
required
:
true
,
},
{
label
:
'工位别名'
,
prop
:
'alias'
,
span
:
12
,
type
:
'input'
,
},
{
label
:
'工位类型'
,
prop
:
'type'
,
...
...
src/views/ccgl/jcsj/lkrck/index.vue
View file @
5edf3857
...
...
@@ -16,29 +16,27 @@
export
default
{
data
()
{
return
{
typeMap
:{},
config
:
{
/* 基本配置*/
url
:
'lxyl/jcsj/ulkcrksz'
,
tableTitle
:
[{
title
:
"工位"
,
field
:
"gwName"
,
width
:
140
},
tableTitle
:
[
{
title
:
"工位编码
"
,
field
:
"gwCod
e"
,
title
:
"设备
"
,
field
:
"hjNam
e"
,
width
:
140
},
{
title
:
"
货架
"
,
field
:
"
hj
Name"
,
title
:
"
工位
"
,
field
:
"
gw
Name"
,
width
:
140
},
{
title
:
"货架
编码"
,
field
:
"hj
Code"
,
title
:
"工位
编码"
,
field
:
"gw
Code"
,
width
:
140
},
{
title
:
"垛机取货工位"
,
field
:
"rkgwid"
,
...
...
@@ -53,10 +51,16 @@
title
:
"类型"
,
field
:
"gwType"
,
width
:
140
,
"transform"
:
{
"url"
:
"lxyl/jcsj/ugw/init/gwlx"
,
"label"
:
"name"
,
"value"
:
"id"
formatter
:(
a
,
b
,
v
)
=>
{
let
showZd
=
''
if
(
v
){
let
vArr
=
v
.
split
(
','
)
vArr
.
forEach
(
item
=>
{
console
.
log
(
item
,
this
.
typeMap
)
showZd
=
showZd
+
this
.
typeMap
[
item
]
+
';'
})
}
return
showZd
||
'未设置'
}
},
{
...
...
@@ -98,6 +102,15 @@
}
}
},
mounted
()
{
this
.
$post
(
'lxyl/jcsj/ugw/init/gwlx'
,{}).
then
(
res
=>
{
res
.
data
.
records
.
forEach
(
item
=>
{
this
.
typeMap
[
item
.
id
]
=
item
.
name
})
})
},
methods
:
{
/* 示例*/
...
...
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