浏览代码

刘功能优化

liuhairui 3 年之前
父节点
当前提交
2f5f5db594
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      application/admin/controller/Feeding.php

+ 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{