Browse Source

修改大件重量优化

曹鹤洋 1 year ago
parent
commit
9fe96fb429
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/admin/controller/QcodeBach.php

+ 1 - 1
application/admin/controller/QcodeBach.php

@@ -558,7 +558,7 @@ class QcodeBach extends Backend
             $qcodeLarge = new QcodeLarge();
 
             if($req['row']['type']==1){//修改大件重量
-                $data['l_weight'] = floatval($req['row']['numn']*100);
+                $data['l_weight'] = intval($req['row']['numn']*100);
 
                 foreach($ids as $val){
                     //查询code