优化获取cnc程序的判断条件

This commit is contained in:
jinling.yang
2024-02-26 16:37:54 +08:00
parent c528c62536
commit 2a39320fc3

View File

@@ -711,7 +711,7 @@ class CNCprocessing(models.Model):
'remark': obj['remark'],
'program_path': program_path
})
cnc_processing.get_cnc_processing_file(program_path_tmp, cnc_processing, program_path)
cnc_processing.get_cnc_processing_file(program_path_tmp, cnc_processing, program_path)
# cnc_workorder.state = 'done'
cnc_workorder.work_state = '已编程'
cnc_workorder.programming_state = '已编程'