Accept Merge Request #1334: (feature/产品优化 -> develop)
Merge Request: 产品字段值优化 Created By: @禹翔辉 Reviewed By: @马广威 Approved By: @马广威 Accepted By: @禹翔辉 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1334?initial=true
This commit is contained in:
@@ -21,7 +21,7 @@ class ToolMaterialsBasicParameters(models.Model):
|
|||||||
neck_length = fields.Float('颈部长度(mm)')
|
neck_length = fields.Float('颈部长度(mm)')
|
||||||
handle_diameter = fields.Float('柄部直径(mm)')
|
handle_diameter = fields.Float('柄部直径(mm)')
|
||||||
handle_length = fields.Float('柄部长度(mm)')
|
handle_length = fields.Float('柄部长度(mm)')
|
||||||
blade_tip_diameter = fields.Integer('刀尖直径(mm)')
|
blade_tip_diameter = fields.Float('刀尖直径(mm)')
|
||||||
blade_tip_working_size = fields.Char('刀尖倒角度(°)', size=20)
|
blade_tip_working_size = fields.Char('刀尖倒角度(°)', size=20)
|
||||||
tip_r_size = fields.Float('刀尖R角(mm)')
|
tip_r_size = fields.Float('刀尖R角(mm)')
|
||||||
blade_tip_taper = fields.Integer('刀尖锥度(°)')
|
blade_tip_taper = fields.Integer('刀尖锥度(°)')
|
||||||
|
|||||||
@@ -237,8 +237,8 @@ class ResProductMo(models.Model):
|
|||||||
self.cutting_tool_blade_tip_diameter = self.specification_id.blade_tip_diameter
|
self.cutting_tool_blade_tip_diameter = self.specification_id.blade_tip_diameter
|
||||||
self.cutting_tool_blade_tip_taper = self.specification_id.blade_tip_taper
|
self.cutting_tool_blade_tip_taper = self.specification_id.blade_tip_taper
|
||||||
self.cutting_tool_blade_helix_angle = self.specification_id.blade_helix_angle
|
self.cutting_tool_blade_helix_angle = self.specification_id.blade_helix_angle
|
||||||
self.cutting_tool_blade_tip_working_size = self.specification_id.tip_r_size
|
self.cutting_tool_blade_tip_working_size = self.specification_id.blade_tip_working_size
|
||||||
self.cutting_tool_blade_tip_r_size = self.specification_id.blade_tip_working_size
|
self.cutting_tool_blade_tip_r_size = self.specification_id.tip_r_size
|
||||||
self.cutting_tool_pitch = self.specification_id.pitch
|
self.cutting_tool_pitch = self.specification_id.pitch
|
||||||
self.cutting_tool_blade_width = self.specification_id.blade_width
|
self.cutting_tool_blade_width = self.specification_id.blade_width
|
||||||
self.cutting_tool_blade_depth = self.specification_id.blade_depth
|
self.cutting_tool_blade_depth = self.specification_id.blade_depth
|
||||||
|
|||||||
Reference in New Issue
Block a user