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
4e70dd41
Commit
4e70dd41
authored
Apr 26, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排产类型使用数据字典
parent
df50b8df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
index.vue
pages/aps/plan/index.vue
+12
-12
No files found.
pages/aps/plan/index.vue
View file @
4e70dd41
...
...
@@ -83,7 +83,7 @@
<p>
</p>
<h4>
请选择排产模型:
</h4>
<Dictionary
code=
"aps.plan.scheduleType"
v-model=
"scheduleType"
class=
"radioList"
border=
"true"
type=
"radio"
@
on-change=
"onchangeScheduleType"
></Dictionary>
<p
class=
"pl30 pt10"
v-show=
"scheduleType!=
''
"
>
<p
class=
"pl30 pt10"
v-show=
"scheduleType!=
null
"
>
确定将订单
<span
class=
"fwBold"
>
{{resultsOrderList}}
</span>
移入
<span
class=
"red fwBold"
>
{{scheduleTypeName}}
</span>
?
...
...
@@ -364,7 +364,7 @@ export default {
dispatchStatus
:
0
,
//派发标识
scheduleStatus
:
0
,
//排产标识
resultsOrderList
:
""
,
scheduleType
:
""
,
scheduleType
:
null
,
scheduleTypeName
:
""
};
},
...
...
@@ -450,7 +450,7 @@ export default {
},
modalSchedule
()
{
//移入排产
this
.
scheduleType
=
""
;
this
.
scheduleType
=
null
;
this
.
scheduleTypeName
=
""
;
this
.
listBatchIds
=
this
.
listBatchIds1
;
if
(
this
.
scheduleStatus
==
1
)
{
...
...
@@ -464,7 +464,7 @@ export default {
this
.
canselFooter
();
this
.
resultsOrderList
=
value
.
mesCode
;
this
.
listBatchIds
=
[
value
.
id
];
this
.
scheduleType
=
""
;
this
.
scheduleType
=
null
;
this
.
scheduleTypeName
=
""
;
if
(
value
.
mainRoutingSetStatus
==
0
)
{
//this.dispatchStatus = 1
...
...
@@ -481,12 +481,12 @@ export default {
this
.
$refs
.
orderSupport
.
loaddata
(
value
.
id
);
},
scheduleOk
()
{
if
(
this
.
scheduleType
==
""
)
{
if
(
this
.
scheduleType
==
null
)
{
this
.
$Message
.
error
(
"请选择排产模型"
);
}
else
{
let
params
=
{
ids
:
this
.
listBatchIds
,
poolType
:
Number
(
this
.
scheduleType
)
poolType
:
this
.
scheduleType
};
Api
.
moveinbatch
(
params
)
.
then
(
r
=>
{
...
...
@@ -608,13 +608,13 @@ export default {
//移入排产前选择排产模型
onchangeScheduleType
(
val
)
{
switch
(
val
)
{
case
"4"
:
case
4
:
this
.
scheduleTypeName
=
"智能排产"
;
break
;
case
"2"
:
case
2
:
this
.
scheduleTypeName
=
"整机排产"
;
break
;
case
"3"
:
case
3
:
this
.
scheduleTypeName
=
"流水排产"
;
break
;
default
:
...
...
@@ -624,13 +624,13 @@ export default {
//移入排产成功后给标题增加数量
changeCountOut
(
type
,
count
)
{
switch
(
type
)
{
case
"4"
:
//智能排产池排产订单数量
case
4
:
//智能排产池排产订单数量
this
.
$store
.
commit
(
"setCountAi"
,
this
.
$store
.
state
.
countAi
+
count
);
break
;
case
"2"
:
//整机排产池排产订单数量
case
2
:
//整机排产池排产订单数量
this
.
$store
.
commit
(
"setCountAll"
,
this
.
$store
.
state
.
countAll
+
count
);
break
;
case
"3"
:
//流水排产池排产订单数量
case
3
:
//流水排产池排产订单数量
this
.
$store
.
commit
(
"setCountRun"
,
this
.
$store
.
state
.
countRun
+
count
);
break
;
default
:
...
...
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