rabin há 1 ano atrás
pai
commit
3eb9295d48
1 ficheiros alterados com 10 adições e 1 exclusões
  1. 10 1
      src/dai/seller/table/manage/order_log_list.php

+ 10 - 1
src/dai/seller/table/manage/order_log_list.php

@@ -1,4 +1,5 @@
 <?php
+$status = Dever::input('search')['status'] ?? array('>=', 10);
 return array
 (
     'source' => 'seller/order_log',
@@ -6,6 +7,7 @@ return array
     (
         //'expand' => 'seller/manage.showOrderExpand',
         //'stat' => 'seller/manage.showOrderStat',
+        'where' => array('status' => $status),
         'field'      => array
         (
             'seller_id',
@@ -94,7 +96,14 @@ return array
         ),
         'search' => array
         (
-            'status',
+            'status' => array
+            (
+                'option'     => array
+                (
+                    10 => '成功',
+                    11 => '失败',
+                ),
+            ),
             'seller_id' => array
             (
                 'name' => '选择商户',