liuhairui 3 жил өмнө
parent
commit
2f5f5db594

+ 3 - 0
application/admin/controller/Feeding.php

@@ -137,6 +137,9 @@ class Feeding extends Backend
             if($v['gy_name'] == null){
                 $v['gy_name'] = '';
             }
+            if($v['material'] == null){
+                $v['material'] = '';
+            }
             if($v['percentage']){
                 $v['nweight']=round($v['number']*decode($v['percentage'])/100,2);
             }else{