huangsanjia 2 жил өмнө
parent
commit
c60547d8c6

+ 2 - 2
Application/Admin/Controller/ExportController.class.php

@@ -962,6 +962,7 @@ $data['s_weight'] = $data['s_weight']/1000;
 
 //        $fileName = 'Runtime/Data/'.date('Ymd', time()).rand(100,999).'_'.$info['nickname'].'_'.$data['matter_name'].'_'.$data['small_num'].'.xls';
         $fileName = 'Runtime/Data/'.date('Ymd', time()).rand(100,999).'_'.$info['nickname'].'_'.str_replace('/','_',$data['matter_name']).'_'.$data['small_num'].'.xls';
+
         /*修改大件的发货状态*/
         M()->startTrans();
         $update_ret = M('qcode_large')->where('id in ('.$data['id_str'].')')->setField('l_status',1);
@@ -975,7 +976,7 @@ $data['s_weight'] = $data['s_weight']/1000;
                 $add['num'] = $data['s_weight']*1000;
                 $add['mater_type'] = 2;
             }
-            //2023年4月6日 优化送货单单位,增加mater_type=3  => 万支 后续建议优化  直接从unit单位表中读取
+             //2023年4月6日 优化送货单单位,增加mater_type=3  => 万支 后续建议优化  直接从unit单位表中读取
             if (substr($data['matter_no'],2,2) == '04'){
                 $add['mater_type'] = 3;
             }
@@ -1087,7 +1088,6 @@ $data['s_weight'] = $data['s_weight']/1000;
         $model = new \Think\Model();
         $data = M('goods')->find($id);
         $export_ids = explode(',',$data['export_ids']);
-
         $arr = [];
         foreach($export_ids as $v){
             $arr[] = M('qcode_export')->find($v);