|
|
@@ -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
|