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
57e5f673
Commit
57e5f673
authored
Aug 18, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工艺设置
parent
6fa01eab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
index.vue
pages/technology/setProcess/index.vue
+5
-6
set.vue
pages/technology/setProcess/set.vue
+4
-3
No files found.
pages/technology/setProcess/index.vue
View file @
57e5f673
...
...
@@ -127,7 +127,7 @@ export default {
},
{
title
:
"料单"
,
key
:
"material
bill
Status"
,
//0生成料单,1查看
key
:
"material
BillSet
Status"
,
//0生成料单,1查看
render
:
(
h
,
params
)
=>
{
return
h
(
"a"
,
[
h
(
"state"
,
{
...
...
@@ -136,10 +136,10 @@ export default {
type
:
"text"
,
value
:
params
.
row
.
mainRoutingStatus
==
1
&&
params
.
row
.
material
bill
Status
==
0
params
.
row
.
material
BillSet
Status
==
0
?
"生成料单"
:
params
.
row
.
mainRoutingStatus
==
1
&&
params
.
row
.
material
bill
Status
==
1
params
.
row
.
material
BillSet
Status
==
1
?
"查看"
:
""
,
},
...
...
@@ -160,15 +160,14 @@ export default {
},
methods
:
{
material
(
row
)
{
if
(
row
.
material
bill
Status
==
0
)
{
if
(
row
.
material
BillSet
Status
==
0
)
{
this
.
saveBill
(
row
.
id
,
row
.
quantity
);
}
else
if
(
row
.
material
bill
Status
==
1
)
{
}
else
if
(
row
.
material
BillSet
Status
==
1
)
{
this
.
title
=
"查看料单"
;
this
.
detail
=
()
=>
import
(
"./materialDetails"
);
this
.
modal
=
true
;
this
.
child
.
orderIds
=
row
.
id
;
this
.
child
.
mesCode
=
row
.
mesCode
;
alert
(
row
.
mesCode
)
}
},
saveBill
(
orderId
,
orderCount
)
{
...
...
pages/technology/setProcess/set.vue
View file @
57e5f673
...
...
@@ -275,11 +275,12 @@ export default {
orderIds
:
this
.
eid
.
orderIds
,
routingList
:
this
.
routingList
,
};
Api
.
routingset
(
data
).
then
((
r
)
=>
{
if
(
r
.
success
)
{
//this.$Message.success("工艺设置成功");
// this.saveBill();
this
.
$Message
.
success
(
"工艺设置成功"
);
this
.
footerBar
=
false
;
this
.
handleSelectAll
(
false
);
this
.
$emit
(
"on-ok"
);
}
else
{
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