dever há 3 anos atrás
pai
commit
bffd3ebb5a
1 ficheiros alterados com 8 adições e 0 exclusões
  1. 8 0
      app/shop/database/buy_order.php

+ 8 - 0
app/shop/database/buy_order.php

@@ -527,6 +527,14 @@ if ($search_option_type) {
         $struct['type_id']['name'] = '仓库名称';
         $struct['type_id']['option'] = $store;
         $struct['shop-buy_order_ps-ydate']['list'] = '"{shop-buy_order_ps-ydate}" ? date("Y-m-d H:i", {shop-buy_order_ps-ydate}) : "-"';
+
+        $struct['type_id']['search'] = array
+        (
+            'api' => 'shop/lib/manage.searchFName',
+            'col' => 'name',
+            'result' => 'id',
+        );
+        
         $noprice = 1;
     } elseif ($search_option_type == 3) {
         $struct['refund_p_cash']['list'] = false;