dever 3 years ago
parent
commit
53aa4e58e0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/shop/database/buy_order.php

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

@@ -215,6 +215,7 @@ $struct = array
         'desc'      => '原订单类型',
         'match'     => 'is_numeric',
         'option'    => $parent_type,
+        'search'    => 'hidden',
     ),
 
     'parent_order_id'      => array
@@ -224,6 +225,7 @@ $struct = array
         'default'   => '',
         'desc'      => '原订单id',
         'match'     => 'is_numeric',
+        'search'    => 'hidden',
     ),
 
     'order_num'      => array
@@ -528,6 +530,8 @@ if ($search_option_type) {
         $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['source_type']['search'] = 'select';
+        $struct['source_type']['option'] = array(2 => '仓库', 3 => '工厂');
         $struct['source_id']['search'] = array
         (
             'api' => 'shop/lib/manage.searchFName',