Pārlūkot izejas kodu

order base detail export edit

abiao 4 gadi atpakaļ
vecāks
revīzija
4e1972557d
2 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 2 0
      app/models/base_detail.rb
  2. 2 0
      app/models/order_detail.rb

+ 2 - 0
app/models/base_detail.rb

@@ -151,6 +151,8 @@ class BaseDetail < ActiveRecord::Base
           bindings[:object].order.wx_user_id
         end
       end
+      field :nums
+      field :product_name
 
     end
   end

+ 2 - 0
app/models/order_detail.rb

@@ -150,6 +150,8 @@ class OrderDetail < ActiveRecord::Base
           bindings[:object].order.wx_user_id
         end
       end
+      field :nums
+      field :product_name
       field :unit_robo_balance_price do
         visible false
       end