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
9f034ee5
Commit
9f034ee5
authored
Nov 02, 2024
by
夏超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[add] 添加零部件数量
parent
73478b8f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
jzjx_project/models/inherit_production_task.py
+1
-0
jzjx_project/views/inherit_roke_production_task.xml
+1
-0
No files found.
jzjx_project/models/inherit_production_task.py
View file @
9f034ee5
...
@@ -13,6 +13,7 @@ class InheritProductionTask(models.Model):
...
@@ -13,6 +13,7 @@ class InheritProductionTask(models.Model):
taskName
=
fields
.
Char
(
string
=
"任务名称"
)
taskName
=
fields
.
Char
(
string
=
"任务名称"
)
UploadMsg
=
fields
.
Char
(
string
=
"上传状态"
)
UploadMsg
=
fields
.
Char
(
string
=
"上传状态"
)
TaskUUID
=
fields
.
Char
(
string
=
"任务UUID"
)
TaskUUID
=
fields
.
Char
(
string
=
"任务UUID"
)
spare_parts_qty
=
fields
.
Float
(
string
=
"零部件数量"
,
default
=
0
)
def
upload_task
(
self
):
def
upload_task
(
self
):
"""
"""
...
...
jzjx_project/views/inherit_roke_production_task.xml
View file @
9f034ee5
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
</xpath>
</xpath>
<xpath
expr=
"//field[@name='pass_rate']"
position=
"after"
>
<xpath
expr=
"//field[@name='pass_rate']"
position=
"after"
>
<field
name=
"UploadMsg"
readonly=
"1"
/>
<field
name=
"UploadMsg"
readonly=
"1"
/>
<field
name=
"spare_parts_qty"
/>
</xpath>
</xpath>
<xpath
expr=
"//header"
position=
"inside"
>
<xpath
expr=
"//header"
position=
"inside"
>
<button
name=
"upload_task"
type=
"object"
string=
"上传任务"
class=
"btn btn-primary"
<button
name=
"upload_task"
type=
"object"
string=
"上传任务"
class=
"btn btn-primary"
...
...
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