浏览代码

一些功能

Kirin 3 年之前
父节点
当前提交
bb4aeee42c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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']];
                 $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::select('product', '赠送商品')->setOptions($attrs)->filterable(true);
         $f[] = Form::number('num', '赠送个数')->required()->step(1)->min(1);
         $f[] = Form::number('num', '赠送个数')->required()->step(1)->min(1);
         $f[] = Form::select('uid', '赠送会员')->setOptions(function () {
         $f[] = Form::select('uid', '赠送会员')->setOptions(function () {