* Refactor link product of the create execution.

This commit is contained in:
tianshujie
2023-06-28 16:49:08 +08:00
parent d5a4abf0f3
commit 6effa67db4
5 changed files with 20 additions and 17 deletions
+4 -3
View File
@@ -102,7 +102,7 @@ if(isset($project->hasProduct) and !empty($project->hasProduct) and $products)
$productsBox[] = formRow
(
set::id('productsBox'),
set::class('productsBox'),
formGroup
(
set::width($hasBranch ? '1/4' : '1/2'),
@@ -159,7 +159,8 @@ if(isset($project->hasProduct) and !empty($project->hasProduct) and $products)
(
set::name("plans[$product->id][]"),
set::items($plans),
set::value($planID)
set::value($planID),
set::multiple(true)
)
),
$isStage && $project->stageBy == 'project' ? null : div
@@ -209,7 +210,7 @@ else
{
$productsBox [] = formRow
(
set::id('productsBox'),
set::class('productsBox'),
formGroup
(
set::width('1/2'),