Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-ui
Project
Project
Details
Activity
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
pda
pda-ui
Commits
0144e0f6
Commit
0144e0f6
authored
Jan 20, 2024
by
何远江
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.local.topsunit.com/mes/mes-ui
into dev
parents
12dd60d5
fc91775e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
index.vue
src/components/SapPropertyData/index.vue
+10
-1
No files found.
src/components/SapPropertyData/index.vue
View file @
0144e0f6
...
...
@@ -3,7 +3,7 @@
<el-form
:model=
"sapData"
ref=
"form"
label-width=
"120px"
size=
"mini"
>
<el-row
class=
"form-wrap"
:gutter=
"gutter"
>
<template
v-for=
"(sapProperties, key) in sapPropertyMap"
>
<
el-divider
content-position=
"left"
>
{{
getViewTypeName
(
key
)
}}
</el-divider
>
<
div
class=
"separator"
>
{{
getViewTypeName
(
key
)
}}
</div
>
<template
v-for=
"item in sapProperties"
>
<el-col
:span=
"span"
:key=
"item.id"
>
<el-form-item
:label=
"item.name"
:prop=
"item.sapField"
...
...
@@ -69,6 +69,7 @@ export default {
if
(
!
Object
.
keys
(
this
.
sapData
).
length
)
return
console
.
log
(
this
.
sapData
)
if
(
this
.
loading
)
return
if
(
!
this
.
form
.
type
||
!
this
.
form
.
relationId
)
return
this
.
$message
.
error
(
"对象为创建"
)
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
this
.
loading
=
true
...
...
@@ -159,4 +160,12 @@ export default {
.footer
{
text-align
:
right
;
}
.separator
{
line-height
:
30px
;
border-bottom
:
1px
solid
#dddddd
;
padding
:
10px
20px
;
margin
:
0
20px
20px
;
font-weight
:
bold
;
}
</
style
>
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