Browse Source

一些功能

Kirin 3 năm trước cách đây
mục cha
commit
bb4aeee42c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 () {