* [bug#32410,done,0.5h] Do not limit project type.

This commit is contained in:
daitingting
2024-08-22 15:08:52 +08:00
committed by 綦新志
parent 379d6cf442
commit c0f2617416
+3 -3
View File
@@ -153,7 +153,7 @@ $fields->field('productsBox')
'from' => 'execution'
));
if($execution->type != 'stage' || $execution->attribute != 'review')
if($execution->attribute != 'review')
{
$fields->field('PO')
->label($lang->execution->PO)
@@ -162,7 +162,7 @@ if($execution->type != 'stage' || $execution->attribute != 'review')
->value(data('execution.PO'));
}
if($execution->type != 'stage' || !in_array($execution->attribute, array('request', 'design', 'review')))
if(!in_array($execution->attribute, array('request', 'design', 'review')))
{
$fields->field('QD')
->label($lang->execution->QD)
@@ -177,7 +177,7 @@ $fields->field('PM')
->items(data('pmUsers'))
->value(data('execution.PM'));
if($execution->type != 'stage' || !in_array($execution->attribute, array('request', 'design', 'review')))
if(!in_array($execution->attribute, array('request', 'design', 'review')))
{
$fields->field('RD')
->label($lang->execution->RD)