修复cnc工单按钮显示问题

This commit is contained in:
jinling.yang
2024-07-24 11:40:16 +08:00
parent efb7334486
commit f0fdeff699
7 changed files with 33 additions and 14 deletions

View File

@@ -127,7 +127,7 @@ class CNCprocessing(models.Model):
else:
production_id.write({
'tool_state_remark': tool_state_remark2,
'tool_state_remark2': f'{production_id.tool_state_remark1}\n{tool_state_remark1}'
'tool_state_remark2': f'{production_id.tool_state_remark}\n{tool_state_remark1}'
})
logging.info('工单cnc程序用刀校验已完成')