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
1c79bd9e
Commit
1c79bd9e
authored
Jul 14, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
itemindexitemindex
parent
875464ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
itemIndex.vue
pages/material/itemIndex.vue
+13
-10
No files found.
pages/material/itemIndex.vue
View file @
1c79bd9e
<
template
>
<
template
>
<div>
<div>
<span
class=
"mr20"
>
物料名称:
{{
materialName
}}
</span><span
class=
"mr20"
>
物料编号:
{{
mcode
}}
</span><span
class=
"mr20"
>
库位:
{{
storeTitle
}}
</span>
<span
class=
"mr20"
>
物料名称:
{{
materialName
}}
</span>
<span
class=
"mr20"
>
物料编号:
{{
mcode
}}
</span>
<span
class=
"mr20"
>
库位:
{{
storeTitle
}}
</span>
<DataGrid
<DataGrid
:columns=
"columns"
:columns=
"columns"
ref=
"grid"
ref=
"grid"
...
@@ -65,27 +67,28 @@ export default {
...
@@ -65,27 +67,28 @@ export default {
align
:
"left"
,
align
:
"left"
,
high
:
true
high
:
true
},
},
{
key
:
"remark"
,
title
:
this
.
l
(
"remark"
),
align
:
"left"
,
high
:
true
},
{
{
key
:
"creationTime"
,
key
:
"creationTime"
,
title
:
this
.
l
(
"creationTime"
),
title
:
this
.
l
(
"creationTime"
),
align
:
"
left
"
,
align
:
"
center
"
,
high
:
true
high
:
true
},
},
{
{
key
:
"creatorUserId"
,
key
:
"creatorUserId"
,
title
:
this
.
l
(
"creatorUserId"
),
title
:
this
.
l
(
"creatorUserId"
),
align
:
"left"
,
align
:
"left"
,
high
:
true
high
:
true
,
}
type
:
"user"
},
{
key
:
"remark"
,
title
:
this
.
l
(
"remark"
),
align
:
"left"
,
high
:
true
,
tooltip
:
true
}
],
],
materialName
:
''
,
materialName
:
""
,
storeTitle
:
''
,
storeTitle
:
""
};
};
},
},
props
:
{
props
:
{
eid
:
Number
,
eid
:
Number
,
storeId
:
Number
,
storeId
:
Number
,
mcode
:
String
mcode
:
String
},
},
created
()
{
created
()
{
...
@@ -107,8 +110,8 @@ export default {
...
@@ -107,8 +110,8 @@ export default {
methods
:
{
methods
:
{
load
()
{
load
()
{
Api
.
get
({
id
:
this
.
eid
}).
then
(
r
=>
{
Api
.
get
({
id
:
this
.
eid
}).
then
(
r
=>
{
this
.
materialName
=
r
.
result
.
name
this
.
materialName
=
r
.
result
.
name
;
this
.
storeTitle
=
r
.
result
.
storeTitle
this
.
storeTitle
=
r
.
result
.
storeTitle
;
});
});
},
},
ok
()
{
ok
()
{
...
...
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