Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
dc28e50d
Commit
dc28e50d
authored
Jun 24, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化物料
parent
d9c76614
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
details.vue
pages/materiel/masterData/details.vue
+20
-4
No files found.
pages/materiel/masterData/details.vue
View file @
dc28e50d
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<State
code=
"material.main.status"
:value=
"parseInt(entity.status)"
/>
<State
code=
"material.main.status"
:value=
"parseInt(entity.status)"
/>
</Filed>
</Filed>
<Filed
:span=
"8"
name=
"版本:"
>
<Filed
:span=
"8"
name=
"版本:"
>
<State
code=
"material.main.version"
:value=
"parseInt(entity.version)"
/>
<State
code=
"material.main.version"
:value=
"parseInt(entity.version)"
/>
</Filed>
</Filed>
<Filed
:span=
"8"
name=
"描述:"
>
{{
entity
.
description
}}
</Filed>
<Filed
:span=
"8"
name=
"描述:"
>
{{
entity
.
description
}}
</Filed>
</Row>
</Row>
...
@@ -45,7 +45,8 @@
...
@@ -45,7 +45,8 @@
</div>
</div>
</div>
</div>
<div
v-show=
"showTable"
>
<div
v-show=
"showTable"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:tool=
"false"
:height=
"750"
></DataGrid>
<Table
border
:columns=
"columns"
:data=
"data1"
:height=
"820"
></Table>
<!--
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
:tool=
"false"
:height=
"750"
:conditions=
"easySearch"
></DataGrid>
-->
</div>
</div>
</Content>
</Content>
</Layout>
</Layout>
...
@@ -83,7 +84,7 @@ export default {
...
@@ -83,7 +84,7 @@ export default {
],
],
columns
:
[
columns
:
[
{
{
key
:
"
nam
e"
,
key
:
"
titl
e"
,
title
:
"名称"
,
title
:
"名称"
,
align
:
"left"
align
:
"left"
},
},
...
@@ -149,7 +150,22 @@ export default {
...
@@ -149,7 +150,22 @@ export default {
}
else
{
}
else
{
this
.
showFrom
=
false
;
this
.
showFrom
=
false
;
this
.
showTable
=
true
;
this
.
showTable
=
true
;
this
.
$refs
.
grid
.
reload
(
this
.
easySearch
);
let
conditions
=
[
{
conditionalType
:
"Equal"
,
fieldName
:
"tableTitle"
,
fieldValue
:
"material"
},
{
conditionalType
:
"Equal"
,
fieldName
:
"tId"
,
fieldValue
:
this
.
eid
}
];
Api
.
categoryList
({
conditions
:
conditions
}).
then
(
r
=>
{
this
.
data1
=
r
.
result
;
});
// this.$refs.grid.reload(this.easySearch);
}
}
},
},
l
(
key
)
{
l
(
key
)
{
...
...
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