zgg 3 月之前
父節點
當前提交
f0aef3409e
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      application/common/model/WasteRecord.php

+ 0 - 1
application/common/model/WasteRecord.php

@@ -95,7 +95,6 @@ class WasteRecord extends Base {
         $map[] = ['del','=',0];
         $info = $this->field('id,serial_number,org_id,waste_device_id,user_id,cateid,weight,status,create_time,reason,is_print,weight2')
            ->where($map)->find();
-        $info['weight'] =  $info['weight']?round( $info['weight']/1000,2):0;
         $info = $info?$info->toArray():[];
         if(!$info){
             $this->error = '记录不存在';