abiao лет назад: 4
Родитель
Сommit
c852df6386
2 измененных файлов с 2 добавлено и 4 удалено
  1. 0 1
      app/models/order_base_detail.rb
  2. 2 3
      config/locales/models/order_base_detail.yml

+ 0 - 1
app/models/order_base_detail.rb

@@ -94,7 +94,6 @@ class OrderBaseDetail < ActiveRecord::Base
     end
 
     edit do
-      field :id
       field :order_no
       field :product_id
       field :title

+ 2 - 3
config/locales/models/order_base_detail.yml

@@ -4,7 +4,6 @@ zh-CN:
       order_base_detail: 订单基本明细
     attributes:
       order_base_detail:
-        id: ID
         product_id: 商品id
         product: 商品
         title: 商品名称
@@ -15,7 +14,7 @@ zh-CN:
         order_dt_state: 订单状态
         paid_time: 支付时间
         pay_way: 支付方式
+        nums: 数量
+        send: 赠品
         created_at: 创建时间
         updated_at: 修改时间
-        nums: 数量
-        send: 赠品