优化了功能刀具自动申请装刀功能的数据显示问题
This commit is contained in:
@@ -157,9 +157,9 @@ class MachineTableToolChangingApply(models.Model):
|
|||||||
'replacement_tool_type': self.functional_tool_type,
|
'replacement_tool_type': self.functional_tool_type,
|
||||||
'replacement_tool_coarse_middle_thin': self.coarse_middle_thin,
|
'replacement_tool_coarse_middle_thin': self.coarse_middle_thin,
|
||||||
'new_former': '0',
|
'new_former': '0',
|
||||||
'applicant': None,
|
'applicant': '自动申请',
|
||||||
'used_tool_time': fields.Datetime.now(),
|
'used_tool_time': fields.Datetime.now(),
|
||||||
'reason_for_applying': None,
|
'reason_for_applying': '功能刀具状态异常',
|
||||||
'remark': None,
|
'remark': None,
|
||||||
'status': '1'
|
'status': '1'
|
||||||
})
|
})
|
||||||
@@ -171,12 +171,12 @@ class MachineTableToolChangingApply(models.Model):
|
|||||||
'functional_tool_type': self.functional_tool_type,
|
'functional_tool_type': self.functional_tool_type,
|
||||||
'functional_tool_diameter': self.diameter,
|
'functional_tool_diameter': self.diameter,
|
||||||
'loading_task_source': '1',
|
'loading_task_source': '1',
|
||||||
'applicant': self.applicant,
|
'applicant': '自动申请',
|
||||||
'reason_for_applying': self.reason_for_applying,
|
'reason_for_applying': '功能刀具状态异常',
|
||||||
'use_tool_time': self.used_tool_time,
|
'use_tool_time': self.used_tool_time,
|
||||||
'machine_tool_name': self.CNC_machine_table,
|
'machine_tool_name': self.CNC_machine_table,
|
||||||
'machine_tool_code': self.machine_tool_code,
|
'machine_tool_code': self.machine_tool_code,
|
||||||
'cutter_spacing_code': self.cutter_spacing_code
|
'cutter_spacing_code': self.cutter_spacing_code,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user