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
6286ed72
Commit
6286ed72
authored
Nov 16, 2024
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 修改问题
parent
a30ebab4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
jzjx_project/models/inherit_roke_work_order.py
+2
-2
No files found.
jzjx_project/models/inherit_roke_work_order.py
View file @
6286ed72
...
@@ -73,9 +73,9 @@ class InheritWorkOrder(models.Model):
...
@@ -73,9 +73,9 @@ class InheritWorkOrder(models.Model):
if
"切割"
in
previous
.
process_id
.
name
and
self
.
task_id
and
previous
.
task_id
:
if
"切割"
in
previous
.
process_id
.
name
and
self
.
task_id
and
previous
.
task_id
:
previous_multiple
=
previous
.
task_id
.
spare_parts_qty
/
self
.
task_id
.
plan_qty
previous_multiple
=
previous
.
task_id
.
spare_parts_qty
/
self
.
task_id
.
plan_qty
elif
"压铆"
in
previous
.
process_id
.
name
and
self
.
task_id
:
elif
"压铆"
in
previous
.
process_id
.
name
and
self
.
task_id
and
previous
.
task_id
:
previous_multiple
=
previous
.
task_id
.
press_riveting_qty
/
self
.
task_id
.
plan_qty
previous_multiple
=
previous
.
task_id
.
press_riveting_qty
/
self
.
task_id
.
plan_qty
elif
"折弯"
in
previous
.
process_id
.
name
and
self
.
task_id
:
elif
"折弯"
in
previous
.
process_id
.
name
and
self
.
task_id
and
previous
.
task_id
:
previous_multiple
=
previous
.
task_id
.
bending_qty
/
self
.
task_id
.
plan_qty
previous_multiple
=
previous
.
task_id
.
bending_qty
/
self
.
task_id
.
plan_qty
else
:
else
:
previous_multiple
=
previous
.
routing_line_id
.
multiple
previous_multiple
=
previous
.
routing_line_id
.
multiple
...
...
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