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
c1fd6b9b
Commit
c1fd6b9b
authored
Apr 17, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plan--dispath
parent
7afaf244
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
19 deletions
+24
-19
dispatch.vue
pages/aps/plan/dispatch.vue
+6
-0
index.vue
pages/aps/plan/index.vue
+18
-19
No files found.
pages/aps/plan/dispatch.vue
View file @
c1fd6b9b
...
...
@@ -18,6 +18,12 @@
</FormItem>
</Col>
</Row>
<Row
>
</Row>
<Row
>
</Row>
<FormItem>
<Button
type=
"primary"
@
click=
"handleSubmit"
:disabled=
"disabled"
>
保存
</Button>
<Button
@
click=
"handleClose"
class=
"ml20"
>
取消
</Button>
...
...
pages/aps/plan/index.vue
View file @
c1fd6b9b
...
...
@@ -90,7 +90,7 @@
</RadioGroup>
<p
class=
"pl30 pt10"
v-show=
"scheduleType!=''"
>
确定将订单
{{resultsOrderList}}
移入
确定将订单
<span
class=
"fwBold"
>
{{resultsOrderList}}
</span>
移入
<span
class=
"red fwBold"
>
{{scheduleTypeName}}
</span>
?
</p>
<p>
</p>
...
...
@@ -469,7 +469,6 @@ export default {
this
.
canselFooter
()
this
.
resultsOrderList
=
value
.
mesCode
;
this
.
listBatchIds
=
[
value
.
id
];
this
.
scheduleType
=
""
this
.
scheduleTypeName
=
""
if
(
value
.
mainRoutingSetStatus
==
0
)
{
...
...
@@ -632,24 +631,24 @@ export default {
this
.
$store
.
commit
(
"setCountAps"
,
this
.
$store
.
state
.
countAps
+
count
);
}
},
//进入页面加载排产count
//进入页面加载排产count
-----
loadInitCount
()
{
this
.
$store
.
commit
(
"setCountAps"
,
0
);
this
.
$store
.
commit
(
"setCountAi"
,
0
);
this
.
$store
.
commit
(
"setCountAll"
,
0
);
this
.
$store
.
commit
(
"setCountRun"
,
0
);
Api
.
getCount
()
.
then
(
res
=>
{
if
(
res
.
success
&&
res
.
result
==
true
)
{
this
.
$store
.
commit
(
"setCountAps"
,
3
);
this
.
$store
.
commit
(
"setCountAi"
,
1
);
this
.
$store
.
commit
(
"setCountAll"
,
1
);
this
.
$store
.
commit
(
"setCountRun"
,
0
);
}
})
.
catch
(
err
=>
{
this
.
$Message
.
error
(
"获取排产模型数量失败"
);
});
//
this.$store.commit("setCountAps", 0);
//
this.$store.commit("setCountAi", 0);
//
this.$store.commit("setCountAll", 0);
//
this.$store.commit("setCountRun", 0);
//
Api.getCount()
//
.then(res => {
//
if (res.success && res.result == true) {
//
this.$store.commit("setCountAps", 3);
//
this.$store.commit("setCountAi", 1);
//
this.$store.commit("setCountAll", 1);
//
this.$store.commit("setCountRun", 0);
//
}
//
})
//
.catch(err => {
//
this.$Message.error("获取排产模型数量失败");
//
});
}
}
};
...
...
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