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
5467ec07
Commit
5467ec07
authored
Apr 03, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
insert_flag
parent
9e0461c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
12 deletions
+28
-12
excute.vue
pages/aps/aps/components/excute.vue
+27
-11
base.css
src/assets/css/base.css
+1
-1
No files found.
pages/aps/aps/components/excute.vue
View file @
5467ec07
...
@@ -63,15 +63,31 @@ export default {
...
@@ -63,15 +63,31 @@ export default {
high
:
true
,
high
:
true
,
width
:
60
,
width
:
60
,
render
:
(
h
,
params
)
=>
{
render
:
(
h
,
params
)
=>
{
return
h
(
"Icon"
,
{
return
h
(
attrs
:
{
"Tooltip"
,
type
:
{
params
.
row
.
insert_flag
==
1
?
"ios-flag"
:
"ios-flag-outline"
,
props
:
{
size
:
20
,
content
:
params
.
row
.
insert_flag
==
1
?
"取消插单"
:
"进行插单"
,
color
:
params
.
row
.
insert_flag
==
1
?
"#2680EB"
:
"#aaa"
placement
:
"top"
,
},
class
:
'ico'
,
},
},
on
:
{
click
:
()
=>
this
.
changeFlag
(
params
.
row
.
id
,
params
.
index
)
}
[
});
h
(
"Icon"
,
{
attrs
:
{
type
:
params
.
row
.
insert_flag
==
1
?
"ios-flag"
:
"ios-flag-outline"
,
size
:
20
,
color
:
params
.
row
.
insert_flag
==
1
?
"#2680EB"
:
"#aaa"
,
},
on
:
{
click
:
()
=>
this
.
changeFlag
(
params
.
row
.
id
,
params
.
index
)
}
})
]
);
}
}
},
},
{
{
...
@@ -348,7 +364,7 @@ export default {
...
@@ -348,7 +364,7 @@ export default {
Api
.
getbyorderid
(
params
).
then
(
res
=>
{
Api
.
getbyorderid
(
params
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
gridHeight
=
50
;
this
.
gridHeight
=
50
;
this
.
gridHeight
=
(
res
.
result
.
length
+
1
)
*
48
;
this
.
gridHeight
=
(
res
.
result
.
length
+
1
)
*
48
;
this
.
data1
=
res
.
result
;
this
.
data1
=
res
.
result
;
}
}
});
});
...
@@ -409,7 +425,7 @@ export default {
...
@@ -409,7 +425,7 @@ export default {
}
}
});
});
},
},
//删除工序时间end-----
//删除工序时间end-----
cancel
()
{
cancel
()
{
this
.
curId
=
0
;
this
.
curId
=
0
;
...
@@ -422,7 +438,7 @@ export default {
...
@@ -422,7 +438,7 @@ export default {
l
(
key
)
{
l
(
key
)
{
let
vkey
=
"mes_op_task_plan_simulate"
+
"."
+
key
;
let
vkey
=
"mes_op_task_plan_simulate"
+
"."
+
key
;
return
this
.
$t
(
vkey
)
||
key
;
return
this
.
$t
(
vkey
)
||
key
;
}
,
}
}
}
};
};
</
script
>
</
script
>
...
...
src/assets/css/base.css
View file @
5467ec07
...
@@ -646,7 +646,7 @@ html [type=button] {
...
@@ -646,7 +646,7 @@ html [type=button] {
}
}
.waitTask
{
.waitTask
{
/*flex 布局*/
/*flex 布局*/
display
:
flex
;
display
:
flex
!important
;
align-items
:
center
;
align-items
:
center
;
width
:
200px
;
width
:
200px
;
height
:
100px
;
height
:
100px
;
...
...
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