Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dwsproject
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
0
Merge Requests
0
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
dws
dwsproject
Commits
86413587
Commit
86413587
authored
Mar 04, 2025
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 生产进度查询
parent
19715ad3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
sdddl_project/controllers/main_or_task_data.py
+1
-1
No files found.
sdddl_project/controllers/main_or_task_data.py
View file @
86413587
...
@@ -100,7 +100,7 @@ class RokeWorkstationTaskModel(http.Controller):
...
@@ -100,7 +100,7 @@ class RokeWorkstationTaskModel(http.Controller):
for
v
in
task_ids
:
for
v
in
task_ids
:
data
=
get_work_order
(
v
,
complete_basis
)
data
=
get_work_order
(
v
,
complete_basis
)
sub_task
=
_self
.
env
[
"roke.production.task"
]
.
sudo
()
.
search
([(
"task_type"
,
"="
,
"sub"
),
sub_task
=
_self
.
env
[
"roke.production.task"
]
.
sudo
()
.
search
([(
"task_type"
,
"="
,
"sub"
),
(
"main_task_code"
,
"="
,
v
.
code
)],
(
"main_task_code"
,
"="
,
(
v
.
code
or
""
)
+
"-1"
)],
order
=
"code asc"
)
order
=
"code asc"
)
data
[
"children"
]
=
[
get_work_order
(
child
,
complete_basis
)
for
child
in
sub_task
]
data
[
"children"
]
=
[
get_work_order
(
child
,
complete_basis
)
for
child
in
sub_task
]
task_list
.
append
(
data
)
task_list
.
append
(
data
)
...
...
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