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
8f19fea9
Commit
8f19fea9
authored
Mar 04, 2026
by
sunhaiwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产任务编辑的时候添加权限校验
parent
003b8592
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
xjrsoft-vue3/src/views/scgl/scrw/index.vue
+2
-2
No files found.
xjrsoft-vue3/src/views/scgl/scrw/index.vue
View file @
8f19fea9
...
@@ -234,11 +234,11 @@
...
@@ -234,11 +234,11 @@
async
function
handleEdit
(
record
:
Recordable
)
{
async
function
handleEdit
(
record
:
Recordable
)
{
const
hasNonDraft
=
(
record
.
zt
!==
'草稿'
);
const
hasNonDraft
=
(
record
.
zt
!==
'草稿'
&&
record
.
zt
!==
'未开始'
);
if
(
hasNonDraft
)
{
if
(
hasNonDraft
)
{
Modal
.
warning
({
Modal
.
warning
({
title
:
'提示'
,
title
:
'提示'
,
content
:
'
非草稿状态
无法编辑'
,
content
:
'
开工之后
无法编辑'
,
});
});
return
;
return
;
}
}
...
...
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