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
32c1c865
Commit
32c1c865
authored
Oct 15, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aps edit/excute
parent
609139d7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
edit.vue
pages/aps/aps/components/edit.vue
+5
-2
excute.vue
pages/aps/aps/components/excute.vue
+1
-1
No files found.
pages/aps/aps/components/edit.vue
View file @
32c1c865
...
...
@@ -155,15 +155,18 @@ export default {
})
.
then
(
r
=>
{
this
.
resources
=
this
.
$u
.
clone
(
r
.
result
);
//alert(JSON.stringify(this.resources))
this
.
entity
=
v
;
let
code
=
v
.
code
;
this
.
entity
.
resourceCode
=
v
.
firsT_EQUIP_CODE
;
let
code
=
v
.
firsT_EQUIP_CODE
;
this
.
entity
.
resource
=
[]
//let code = 'PCZYBZBH_20200804_1'
if
(
code
&&
code
!=
''
)
{
this
.
resources
.
forEach
(
e
=>
{
if
(
e
.
code
==
code
)
{
this
.
entity
.
resource
=
[]
this
.
entity
.
resource
.
push
(
parseInt
(
e
.
type
));
this
.
entity
.
resource
.
push
(
code
)
this
.
entity
.
resourceId
=
e
.
id
}
})
}
...
...
pages/aps/aps/components/excute.vue
View file @
32c1c865
...
...
@@ -141,7 +141,7 @@ export default {
hide
:
true
},
{
key
:
"firs
t_equip
"
,
key
:
"firs
T_EQUIP_CODE
"
,
title
:
this
.
l
(
"first_equip"
),
align
:
"left"
,
easy
:
true
,
...
...
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