|
@@ -1167,6 +1167,7 @@ class StoreOrder extends AuthController
|
|
|
$attrs[] = ['value' => $v['id'] . '|' . $v['product_id'] . '|' . $vv['unique'], 'label' => $v['title'] . '[' . $vv['suk'] . ']' . ':¥' . $vv['price']];
|
|
|
}
|
|
|
}
|
|
|
+ var_dump($attrs);
|
|
|
$f[] = Form::select('product', '赠送商品')->setOptions($attrs)->filterable(true);
|
|
|
$f[] = Form::number('num', '赠送个数')->required()->step(1)->min(1);
|
|
|
$f[] = Form::select('uid', '赠送会员')->setOptions(function () {
|