Browse Source

一些功能

Kirin 3 years ago
parent
commit
bb4aeee42c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/admin/controller/order/StoreOrder.php

+ 1 - 0
app/admin/controller/order/StoreOrder.php

@@ -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 () {