dever 3 jaren geleden
bovenliggende
commit
f5fae3c614
2 gewijzigde bestanden met toevoegingen van 8 en 2 verwijderingen
  1. 5 1
      app/shop/database/buy_order.php
  2. 3 1
      app/shop/database/sell_order.php

+ 5 - 1
app/shop/database/buy_order.php

@@ -312,7 +312,7 @@ $struct = array
         'desc'      => '申请退款状态',
         'match'     => 'is_numeric',
         'option'    => $refund_status,
-        'search'    => 'select',
+        //'search'    => 'select',
         'list_name'   => '退款状态',
         'list_order' => 10,
     ),
@@ -521,6 +521,8 @@ if ($search_option_type) {
 
         $struct['refund_status']['list'] = 'Dever::load("shop/lib/manage.buyInfoRefundStatus", "{id}")';
 
+        $struct['refund_status']['search'] = 'select';
+
     } elseif ($search_option_type == 2) {
         $excel = array
         (
@@ -581,6 +583,8 @@ if ($search_option_source_type) {
                 array('导出订单', '仓库发货订单', ''),
                 array('导出订单明细', '仓库发货订单明细', 'shop/excel.store_buy_order_fa'),
             );
+
+            $struct['refund_status']['search'] = 'select';
         }
 
     } elseif ($search_option_source_type == 3) {

+ 3 - 1
app/shop/database/sell_order.php

@@ -106,12 +106,14 @@ if ($search_option_shop_type == 1) {
         array('导出订单', '门店零售订单', ''),
         array('导出订单明细', '门店零售订单明细', 'shop/excel.sell_order'),
     );
+    $refund_search = false;
 } elseif ($search_option_shop_type == 2) {
     $excel = array
     (
         array('导出订单', '平台商城订单', ''),
         array('导出订单明细', '平台商城订单明细', 'shop/excel.p_sell_order'),
     );
+    $refund_search = 'select';
 }
 
 return array
@@ -368,7 +370,7 @@ return array
             'desc'      => '申请退款状态',
             'match'     => 'is_numeric',
             'option'    => $refund_status,
-            'search'    => 'select',
+            'search'    => $refund_search,
             'list'      => $search_option_shop_type == 2 ? 'Dever::load("shop/lib/manage.buyInfoRefundStatus", "{id}", "sell_order")' : false,
             'list_name'   => '退款状态',
             'list_order' => 18,