Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
pda-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
pda
pda-ui
Commits
57275431
Commit
57275431
authored
Mar 20, 2024
by
528360026@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编排单号做成和组合单号一致的功能可用进行穿透出编排信息进行调整
parent
ecc0a3e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
9 deletions
+27
-9
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+27
-9
No files found.
src/views/mes/pro/workorder/indexApply.vue
View file @
57275431
...
...
@@ -334,17 +334,28 @@
</el-table-column>
<el-table-column
label=
"编排单号"
align=
"center"
width=
"100px"
align=
"center"
prop=
"arrangeCode"
/>
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"showArrangDetail(scope.row.arrangeCode)"
>
{{
scope
.
row
.
arrangeCode
}}
</el-button
>
</
template
>
</el-table-column>
<el-table-column
label=
"订单编号"
width=
"140"
align=
"center"
prop=
"sourceCode"
/>
<el-table-column
<el-table-column
label=
"产品编号"
width=
"120"
align=
"center"
...
...
@@ -937,7 +948,10 @@ export default {
this
.
combOpen
=
true
;
this
.
combinationCodes
=
[
combinationCode
];
}
,
showArrangDetail
(
arrangeCode
)
{
this
.
arrangeOpen
=
true
;
this
.
arrangeCode
=
arrangeCode
;
}
,
async
handleArrange
()
{
let
params
=
[]
this
.
selectedRows
.
forEach
((
item
,
index
)
=>
{
...
...
@@ -985,9 +999,13 @@ export default {
}
);
batchAddCombination
(
params
).
then
(
response
=>
{
this
.
combOpen
=
true
this
.
combinationCodes
=
response
this
.
$modal
.
msgSuccess
(
"新增组合单成功"
);
if
(
response
&&
response
.
length
>
0
)
{
this
.
combOpen
=
true
this
.
combinationCodes
=
response
this
.
$modal
.
msgSuccess
(
"新增组合单成功"
);
}
else
{
this
.
$modal
.
msgError
(
"新增组合单失败,组合规则不同,不允许组合!"
);
}
this
.
getList
();
}
);
}
...
...
@@ -1192,8 +1210,8 @@ export default {
//
}
);
}
,
handleMake
()
{
if
(
this
.
selectedRows
[
0
].
workorderType
==
'product'
&&
this
.
selectedRows
[
0
].
status
==
"SCHEDULED"
)
{
if
(
this
.
selectedRows
[
0
].
workorderType
==
'product'
&&
this
.
selectedRows
[
0
].
status
==
"SCHEDULED"
)
{
const
workorderId
=
this
.
selectedRows
[
0
].
workorderId
this
.
$router
.
push
(
"/mes/pro/workorder/make?workorderId="
+
workorderId
);
}
else
{
...
...
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