Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
ximai
mes-ui
Commits
eec96004
Commit
eec96004
authored
Jun 20, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改生产工单
parent
5f7ec953
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
9 deletions
+23
-9
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+17
-7
proofingInfo.vue
src/views/mes/pro/workorder/proofingInfo.vue
+6
-2
No files found.
src/views/mes/pro/workorder/indexApply.vue
View file @
eec96004
...
@@ -402,6 +402,16 @@
...
@@ -402,6 +402,16 @@
prop=
"productName"
prop=
"productName"
:show-overflow-tooltip=
"true"
:show-overflow-tooltip=
"true"
/>
/>
<el-table-column
label=
"生产版本"
width=
"200"
align=
"center"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
{{
(
scope
.
row
.
groupKey
?
scope
.
row
.
groupKey
:
''
)
+
(
scope
.
row
.
groupCounter
?
scope
.
row
.
groupCounter
:
''
)
}}
</
template
>
</el-table-column>
<el-table-column
<el-table-column
label=
"规格型号"
label=
"规格型号"
align=
"center"
align=
"center"
...
@@ -1103,13 +1113,13 @@ export default {
...
@@ -1103,13 +1113,13 @@ export default {
}
);
}
);
batchAddCombination(params).then(response => {
batchAddCombination(params).then(response => {
if (response && response.length > 0) {
//
if (response && response.length > 0) {
this.combOpen = true
this.combOpen = true
this.combinationCodes = response
this.combinationCodes = response
this.$modal.msgSuccess("新增组合单成功");
this.$modal.msgSuccess("新增组合单成功");
}
else {
//
}
else {
this.$modal.msgError("新增组合单失败,组合规则不同,不允许组合!");
//
this.$modal.msgError("新增组合单失败,组合规则不同,不允许组合!");
}
//
}
this.getList();
this.getList();
}
);
}
);
}
}
...
...
src/views/mes/pro/workorder/proofingInfo.vue
View file @
eec96004
...
@@ -459,6 +459,9 @@ export default {
...
@@ -459,6 +459,9 @@ export default {
},
},
},
},
activated
()
{
activated
()
{
// if(!this.$route.query.workorderId) {
// this.resetForm()
// }
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
workorderId
&&
this
.
workorderId
!==
this
.
$route
.
query
.
workorderId
)
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
workorderId
&&
this
.
workorderId
!==
this
.
$route
.
query
.
workorderId
)
{
this
.
resetForm
()
this
.
resetForm
()
this
.
workorderId
=
this
.
$route
.
query
.
workorderId
this
.
workorderId
=
this
.
$route
.
query
.
workorderId
...
@@ -594,7 +597,7 @@ export default {
...
@@ -594,7 +597,7 @@ export default {
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
Object
.
assign
(
this
.
form
,
data
);
Object
.
assign
(
this
.
form
,
data
);
this
.
form
.
group
=
`
${
this
.
form
.
group
Counter
?
this
.
form
.
groupCounter
:
''
}
-
${
this
.
form
.
groupKey
?
this
.
form
.
groupKey
:
''
}
`
this
.
form
.
group
=
`
${
this
.
form
.
group
Key
?
this
.
form
.
groupKey
:
''
}${
this
.
form
.
groupCounter
?
this
.
form
.
groupCounter
:
''
}
`
this
.
currentData
=
{}
this
.
currentData
=
{}
if
(
this
.
mode
==
'make'
)
{
if
(
this
.
mode
==
'make'
)
{
this
.
currentData
=
data
this
.
currentData
=
data
...
@@ -647,10 +650,11 @@ export default {
...
@@ -647,10 +650,11 @@ export default {
//物料选择弹出框
//物料选择弹出框
onRoutesProcessSelect
(
row
)
{
onRoutesProcessSelect
(
row
)
{
console
.
log
(
'row44'
,
row
)
if
(
row
!=
undefined
&&
row
!=
null
)
{
if
(
row
!=
undefined
&&
row
!=
null
)
{
this
.
form
.
productionSolutionId
=
row
.
productionSolutionId
;
this
.
form
.
productionSolutionId
=
row
.
productionSolutionId
;
this
.
form
.
productionSolutionCode
=
row
.
productionSolutionCode
;
this
.
form
.
productionSolutionCode
=
row
.
productionSolutionCode
;
this
.
form
.
group
=
`
${
row
.
group
Counter
?
row
.
groupCounter
:
''
}
-
${
row
.
groupKey
?
row
.
groupKey
:
''
}
`
this
.
form
.
group
=
`
${
row
.
group
Key
?
row
.
groupKey
:
''
}${
row
.
groupCounter
?
row
.
groupCounter
:
''
}
`
this
.
form
.
productCode
=
row
.
itemCode
;
this
.
form
.
productCode
=
row
.
itemCode
;
this
.
form
.
groupCounter
=
row
.
groupCounter
;
this
.
form
.
groupCounter
=
row
.
groupCounter
;
this
.
form
.
groupKey
=
row
.
groupKey
;
this
.
form
.
groupKey
=
row
.
groupKey
;
...
...
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