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
1a8a010f
Commit
1a8a010f
authored
Nov 13, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工单管理打印工单按钮去掉
parent
b4e986d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+4
-3
No files found.
src/views/mes/pro/workorder/indexApply.vue
View file @
1a8a010f
...
...
@@ -121,13 +121,14 @@
<!--
<el-col
:span=
"1.5"
>
<el-button
type=
"success"
plain
icon=
"el-icon-edit"
size=
"mini"
:disabled=
"single"
@
click=
"handleMake"
v-hasPermi=
"['mes:pro:workorder:make']"
>
{{
$t
(
'生产补单'
)
}}
</el-button>
</el-col>
-->
</el-col>
<el-col
:span=
"1.2"
>
<el-button
type=
"warning"
plain
size=
"mini"
v-print=
"printContent"
id=
"printbtn"
style=
"display: none"
>
{{
$t
(
'打印工单'
)
}}
</el-button>
<el-button
type=
"warning"
plain
size=
"mini"
style=
"margin-left: 0;"
icon=
"el-icon-printer"
ref=
"printbtn"
@
click=
"handlePrint"
:loading=
"printloading"
v-hasPermi=
"['mes:pro:workorder:print']"
>
{{
$t
(
'打印工单'
)
}}
</el-button>
</el-col>
-->
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-close"
size=
"mini"
@
click=
"handleClose"
v-hasPermi=
"['mes:pro:workorder:close']"
>
{{
$t
(
'关闭'
)
}}
</el-button>
...
...
@@ -184,7 +185,7 @@
<dict-tag
:options=
"dict.type.mes_workorder_status"
:value=
"scope.row.status"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('订单项次')"
width=
"140"
align=
"center"
prop=
"orderSerial"
/>
<el-table-column
:label=
"$t('项目号')"
width=
"140"
align=
"center"
prop=
"customerProjectNo"
/>
<el-table-column
:label=
"$t('订单单别')"
width=
"140"
align=
"center"
prop=
"orderType"
/>
...
...
@@ -1031,7 +1032,7 @@ export default {
const
item
=
this
.
dict
.
type
.
mes_workorder_status
.
find
(
v
=>
v
.
value
===
this
.
selectedRows
[
0
].
status
)
if
(
this
.
selectedRows
[
0
].
status
!==
"PUBLISHED"
)
return
this
.
$modal
.
msgWarning
(
this
.
$t
(
'该工单当前状态为'
)
+
item
.
label
+
this
.
$t
(
', 不允许修改'
))
}
this
.
reset
();
const
workorderId
=
row
.
workorderId
||
this
.
ids
;
...
...
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