浏览代码

order base detail export edit

abiao 4 年之前
父节点
当前提交
ab2add59e3
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 3 3
      app/models/order_base_detail.rb
  2. 1 1
      config/locales/models/order_base_detail.yml

+ 3 - 3
app/models/order_base_detail.rb

@@ -50,7 +50,7 @@ class OrderBaseDetail < ActiveRecord::Base
       field :id
       field :order_no
       field :product_id
-      field :title
+      field :product_name
       field :nums
       field :order_dt_id
       field :paid_time do
@@ -86,7 +86,7 @@ class OrderBaseDetail < ActiveRecord::Base
       field :id
       field :order_no
       field :product_id
-      field :title
+      field :product_name
       field :nums
       field :order_dt_id
       field :send
@@ -96,7 +96,7 @@ class OrderBaseDetail < ActiveRecord::Base
       include_all_fields
       field :order_no
       field :product_id
-      field :title
+      field :product_name
       field :nums
       field :order_dt_id
       field :send

+ 1 - 1
config/locales/models/order_base_detail.yml

@@ -6,7 +6,7 @@ zh-CN:
       order_base_detail:
         product_id: 商品id
         product: 商品
-        title: 商品名称
+        product_name: 商品名称
         order_id: 订单ID
         order_no: 订单编号
         order_dt_id: 订单明细ID