Merge branch release/21.7.8 of zentao/zentaopms (#12971)

This commit is contained in:
刘刚
2025-12-24 14:24:07 +08:00
committed by Gitfox
+1
View File
@@ -427,6 +427,7 @@ class executionModel extends model
{
if(isset($this->lang->execution->$field)) $this->lang->project->$field = $this->lang->execution->$field;
if($oldExecution->type == 'stage' and $field == 'name') $this->lang->project->name = str_replace($this->lang->executionCommon, $this->lang->project->stage, $this->lang->project->name);
if($field == 'QD' && in_array($execution->attribute, array('request', 'design', 'review')) && empty($execution->QD)) $this->config->execution->edit->requiredFields = str_replace(',QD', '', $this->config->execution->edit->requiredFields);
}
/* Update data. */