shish 5 anni fa
parent
commit
3bb84dffff
1 ha cambiato i file con 1 aggiunte e 8 eliminazioni
  1. 1 8
      biz-ghs/order/classes/OrderClass.php

+ 1 - 8
biz-ghs/order/classes/OrderClass.php

@@ -154,15 +154,8 @@ class OrderClass extends BaseClass
                 $selfGet['disable'] = 1;
             }
             if ($order['status'] == self::ORDER_STATUS_UN_SEND) {
-                //待配送订单,改花材按钮不可点
+                //待配送订单,改花材按钮不可点,自取可点
                 $item['disable'] = 1;
-            }
-            if ($order['sendType'] == self::SEND_TYPE_NO) {
-                //自取订单,发货按钮不可点
-                $send['disable'] = 1;
-            }
-            if ($order['sendType'] == self::SEND_TYPE_UNKNOWN) {
-                //只有未确认配送方式的订单才可点击自取
                 $selfGet['disable'] = 0;
             }
             return [$item, $send, $selfGet];