From b0b162ad6891a50aa9dfb835d4e83ba442c2c07f Mon Sep 17 00:00:00 2001 From: daitingting Date: Thu, 22 Aug 2024 01:11:44 +0000 Subject: [PATCH] * [bug#126066,done,1h] Display plan. --- lib/zin/wg/productsbox/v1.php | 1 + module/execution/ui/create.field.php | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/zin/wg/productsbox/v1.php b/lib/zin/wg/productsbox/v1.php index 75547cd9e5..b130a2abc2 100644 --- a/lib/zin/wg/productsbox/v1.php +++ b/lib/zin/wg/productsbox/v1.php @@ -190,6 +190,7 @@ class productsBox extends wg set::className('planBox'), picker ( + set::className('pr-2.5'), set::name("plans[{$planProductID}][]"), set::items(!empty($productPlans) ? $productPlans : array()), set::value($currentPlan), diff --git a/module/execution/ui/create.field.php b/module/execution/ui/create.field.php index 505b13abc4..ade0d5b024 100644 --- a/module/execution/ui/create.field.php +++ b/module/execution/ui/create.field.php @@ -5,7 +5,6 @@ global $lang, $config; $fields = defineFieldList('execution.create'); $project = data('project'); $from = data('from'); -$hidden = empty($project->hasProduct) ? 'hidden' : ''; $isStage = isset($project->model) && in_array($project->model, array('waterfall', 'waterfallplus')); $isKanban = data('isKanban'); $showExecutionExec = ($from == 'execution' || $from == 'doc'); @@ -78,7 +77,6 @@ $fields->field('percent') $fields->field('productsBox') ->width('full') - ->className($hidden) ->control(array ( 'control' => 'productsBox',