* [bug#50362,doing,0.1h,2.7h] add select product picker.

This commit is contained in:
tianshujie
2024-05-30 16:54:08 +08:00
committed by caoyanyi
parent ec56cd0a20
commit 36c421b91c
+19
View File
@@ -32,6 +32,25 @@ $maxOrder = 0;
/* Generate module rows. */
$moduleRows = array();
if($viewType == 'story' && $allProduct)
{
$moduleRows[] = formGroup
(
setClass('copy hidden'),
inputGroup
(
setClass('row-module'),
picker
(
set::name('allProduct'),
set::items($allProduct),
set::required(true),
set::onchange("syncProductOrProject(this, 'product')")
)
)
);
}
foreach($sons as $son)
{
if($son->order > $maxOrder) $maxOrder = $son->order;