diff --git a/hb_server/apps/wpm/services.py b/hb_server/apps/wpm/services.py index 76ab0fd..72fbd10 100644 --- a/hb_server/apps/wpm/services.py +++ b/hb_server/apps/wpm/services.py @@ -161,7 +161,7 @@ class WpmServies(object): subproduction__subplan_subprod=i.subproduction_plan).first().material else: input_q = inputs.filter(subproduction_plan=i.subproduction_plan) # 同计划的消耗 - i.from_material = input_q.first().matrial + i.from_material = input_q.first().material count_cut = 0 from_batch = '' for m in input_q: