wugg 2 years ago
parent
commit
1b0daa2393
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/admin/controller/Reorder.php

+ 3 - 2
app/admin/controller/Reorder.php

@@ -216,8 +216,9 @@ class Reorder extends \app\BaseController
             $info['supplier_name'] = isset($customerinfo['company']) ? $customerinfo['company']:"";
         }
         $info['platform_name']='';
-        if($info['platform_id']!=0){
-            $plat=Db::name("platform")->where(['id'=>$info['platform_id']])->find();
+        $info['platform_id']=$orderinfo['platform_id'];
+        if($orderinfo['platform_id']!=0){
+            $plat=Db::name("platform")->where(['id'=>$orderinfo['platform_id']])->find();
             $info['platform_name']=isset($plat['platform_name'])?$plat['platform_name']:"";
         }
         $info['cgd_wsend']="";