Explorar el Código

order base detail export edit

abiao hace 4 años
padre
commit
a8a64c11ac
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      app/models/order.rb

+ 3 - 3
app/models/order.rb

@@ -129,7 +129,8 @@ class Order < ActiveRecord::Base
         navigation_label '商品管理'
         weight -240
 
-        list do 
+        list do
+            scopes [nil,:未支付,:已关闭,:处理中,:待收货,:已完成]
             filters [:order_id,:status,:pay_way,:receive_time,:wx_user_id,:paied_time,:depart]
             field :id do
                visible false
@@ -228,8 +229,7 @@ class Order < ActiveRecord::Base
         end
 
         show do
-            scopes [nil,:未支付,:已关闭,:处理中,:待收货,:已完成]
-            field :id 
+            field :id
             field :order_id
             field :wx_user
             field :wx_user_id