Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiqiao-vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
金民
weiqiao-vue
Commits
003b8592
Commit
003b8592
authored
Mar 04, 2026
by
sunhaiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产工单编辑的时候添加权限校验
parent
ad8aa6ba
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
xjrsoft-vue3/src/views/scgl/gdgl/index.vue
+8
-0
No files found.
xjrsoft-vue3/src/views/scgl/gdgl/index.vue
View file @
003b8592
...
...
@@ -230,6 +230,14 @@
async
function
handleEdit
(
record
:
Recordable
)
{
const
hasNonDraft
=
(
record
.
zt
!==
'草稿'
&&
record
.
zt
!==
'未开始'
);
if
(
hasNonDraft
)
{
Modal
.
warning
({
title
:
'提示'
,
content
:
'进行中或者已完成的工单无法编辑'
,
});
return
;
}
let
field
=
'id'
;
try
{
let
hasIn
=
handleHasEnableLocke
(
buttonConfigs
.
value
,
'edit'
);
...
...
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