abiao 2 år sedan
förälder
incheckning
a1578bd31d
2 ändrade filer med 3 tillägg och 2 borttagningar
  1. 2 2
      app/models/static_food.rb
  2. 1 0
      config/locales/models/employ_static_food.yml

+ 2 - 2
app/models/static_food.rb

@@ -21,7 +21,7 @@ class StaticFood < ActiveRecord::Base
         end
       end
       field :pre_nums
-      field :sinlge_nums
+      field :single_nums
       field :nums
       field :total
       field :created_at
@@ -37,7 +37,7 @@ class StaticFood < ActiveRecord::Base
         end
       end
       field :pre_nums
-      field :sinlge_nums
+      field :single_nums
       field :nums
       field :total
       field :created_at

+ 1 - 0
config/locales/models/employ_static_food.yml

@@ -6,6 +6,7 @@ zh-CN:
       employ_static_food:
         food_date: 日期
         source:  类型
+        status:  状态
         nums:  数量
         employ_id:  职工ID
         employ_name:  职工姓名