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
255c7be4
Commit
255c7be4
authored
Aug 11, 2020
by
kangzhenfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
能力值bug修改
parent
087f6e52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
set.vue
pages/resourceManagement/productionResources/set.vue
+9
-3
No files found.
pages/resourceManagement/productionResources/set.vue
View file @
255c7be4
...
@@ -39,7 +39,8 @@
...
@@ -39,7 +39,8 @@
</Col>
</Col>
<Col
:span=
"12"
>
<Col
:span=
"12"
>
<FormItem
label=
"能力值"
prop=
"capabilityValue"
>
<FormItem
label=
"能力值"
prop=
"capabilityValue"
>
<Input
v-model=
"formItem.capabilityValue"
placeholder=
"请输入能力值"
></Input>
<!--
<Input
v-model=
"formItem.capabilityValue"
placeholder=
"请输入能力值"
></Input>
-->
<InputNumber
v-model=
"formItem.capabilityValue"
:max=
"100"
:min=
"1"
></InputNumber>
</FormItem>
</FormItem>
</Col>
</Col>
</Row>
</Row>
...
@@ -61,7 +62,7 @@ export default {
...
@@ -61,7 +62,7 @@ export default {
formItem
:
{
formItem
:
{
equip_name
:
""
,
equip_name
:
""
,
equip_id
:
""
,
equip_id
:
""
,
isimportant
:
1
,
isimportant
:
"1"
,
capabilityValue
:
""
capabilityValue
:
""
},
},
formItem1
:
{
formItem1
:
{
...
@@ -113,11 +114,16 @@ export default {
...
@@ -113,11 +114,16 @@ export default {
this
.
formItem
.
equip_name
=
r
.
result
.
title
;
this
.
formItem
.
equip_name
=
r
.
result
.
title
;
this
.
formItem
.
equip_id
=
r
.
result
.
code
;
this
.
formItem
.
equip_id
=
r
.
result
.
code
;
this
.
formItem
.
capabilityValue
=
r
.
result
.
capabilityValue
;
this
.
formItem
.
capabilityValue
=
r
.
result
.
capabilityValue
;
this
.
formItem
.
isimportant
=
r
.
result
.
isimportant
||
"1"
;
this
.
formItem1
.
calendarwork_pk
=
r
.
result
.
calKey
;
this
.
formItem1
.
calendarwork_pk
=
r
.
result
.
calKey
;
this
.
formItem2
.
calendarovertime_pk
=
r
.
result
.
holidayKey
;
this
.
formItem2
.
calendarovertime_pk
=
r
.
result
.
holidayKey
;
this
.
formItem1
.
equip_pk
=
r
.
result
.
id
;
this
.
formItem1
.
equip_pk
=
r
.
result
.
id
;
this
.
formItem2
.
equip_pk
=
r
.
result
.
id
;
this
.
formItem2
.
equip_pk
=
r
.
result
.
id
;
if
(
r
.
result
.
isimportant
){
this
.
formItem
.
isimportant
=
r
.
result
.
isimportant
+
""
;
}
else
{
this
.
formItem
.
isimportant
=
"1"
;
}
});
});
},
},
handleSubmit
()
{
handleSubmit
()
{
...
...
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