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
19438693
Commit
19438693
authored
Aug 17, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工艺设置料单优化
parent
aefed1f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
index.vue
pages/technology/setProcess/index.vue
+4
-1
materialDetails.vue
pages/technology/setProcess/materialDetails.vue
+3
-1
No files found.
pages/technology/setProcess/index.vue
View file @
19438693
...
@@ -62,6 +62,7 @@ export default {
...
@@ -62,6 +62,7 @@ export default {
orderIds
:
0
,
orderIds
:
0
,
ids
:
[],
ids
:
[],
count
:
0
,
count
:
0
,
mesCode
:
""
,
},
},
detail
:
null
,
detail
:
null
,
modal
:
false
,
modal
:
false
,
...
@@ -161,11 +162,13 @@ export default {
...
@@ -161,11 +162,13 @@ export default {
material
(
row
)
{
material
(
row
)
{
if
(
row
.
materialbillStatus
==
0
)
{
if
(
row
.
materialbillStatus
==
0
)
{
this
.
saveBill
(
row
.
id
,
row
.
quantity
);
this
.
saveBill
(
row
.
id
,
row
.
quantity
);
}
else
if
(
row
.
materialbillStatus
==
1
)
{
}
else
if
(
row
.
materialbillStatus
==
-
1
)
{
this
.
title
=
"查看料单"
;
this
.
title
=
"查看料单"
;
this
.
detail
=
()
=>
import
(
"./materialDetails"
);
this
.
detail
=
()
=>
import
(
"./materialDetails"
);
this
.
modal
=
true
;
this
.
modal
=
true
;
this
.
child
.
orderIds
=
row
.
id
;
this
.
child
.
orderIds
=
row
.
id
;
this
.
child
.
mesCode
=
row
.
mesCode
;
alert
(
row
.
mesCode
)
}
}
},
},
saveBill
(
orderId
,
orderCount
)
{
saveBill
(
orderId
,
orderCount
)
{
...
...
pages/technology/setProcess/materialDetails.vue
View file @
19438693
<
template
>
<
template
>
<div
class=
"datails"
>
<div
class=
"datails"
>
<Table
border
ref=
"selection"
:columns=
"columns"
:data=
"data1"
></Table>
<span
class=
"mr10"
>
订单编号:
{{
eid
.
mesCode
}}
</span>
<Table
border
ref=
"selection"
:columns=
"columns"
:data=
"data1"
class=
"tableCommon mt5"
></Table>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -9,6 +10,7 @@ export default {
...
@@ -9,6 +10,7 @@ export default {
props
:
{
props
:
{
eid
:
{
eid
:
{
orderIds
:
Number
,
orderIds
:
Number
,
mesCode
:
String
,
},
},
},
},
data
()
{
data
()
{
...
...
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