From 2a9c5276abd7d13ffdc431169d525e3c6303aec3 Mon Sep 17 00:00:00 2001 From: "jinling.yang" Date: Mon, 30 Oct 2023 17:32:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=80=E5=85=B7=E4=BA=A7?= =?UTF-8?q?=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_base/models/tool_other_features.py | 3 +- sf_dlm/views/product_template_view.xml | 98 +++--- sf_manufacturing/models/product_template.py | 325 ++++++++++---------- 3 files changed, 204 insertions(+), 222 deletions(-) diff --git a/sf_base/models/tool_other_features.py b/sf_base/models/tool_other_features.py index f365b4f3..4e02a92c 100644 --- a/sf_base/models/tool_other_features.py +++ b/sf_base/models/tool_other_features.py @@ -55,13 +55,14 @@ class ToolMaterialsBasicParameters(models.Model): blade_tip_dip_angle = fields.Integer('刀尖倾角(°)') side_cutting_edge_angle = fields.Integer('侧切削角(°)') thread_model = fields.Selection([('外螺纹', '外螺纹'), ('内螺纹', '内螺纹')], string='螺纹类型') - thread_num = fields.Char('每英寸螺纹数(TPI)', size=20) + thread_num = fields.Char('每英寸螺纹数(tpi)', size=20) blade_tip_height_tolerance = fields.Char('刀尖高度公差(mm)', size=20) inscribed_circle_tolerance = fields.Char('内接圆公差(mm)', size=20) thickness_tolerance = fields.Char('厚度公差(mm)', size=20) # 刀杆参数 height = fields.Char('高度(mm)', size=20) blade_height = fields.Char('刃部高度(mm)', size=20) + cut_depth_max = fields.Char('最大切削深度(mm)', size=20) cutter_arbor_diameter = fields.Char('刀杆直径(mm)', size=20) min_machining_aperture = fields.Char('最小加工孔径(mm)', size=20) install_blade_tip_num = fields.Char('可装刀片数/齿数(个)', size=20) diff --git a/sf_dlm/views/product_template_view.xml b/sf_dlm/views/product_template_view.xml index a19a0e59..eda7f88b 100644 --- a/sf_dlm/views/product_template_view.xml +++ b/sf_dlm/views/product_template_view.xml @@ -129,6 +129,8 @@ +