wugg 7 ヶ月 前
コミット
3c95f51df5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/admin/controller/Consult.php

+ 1 - 1
app/admin/controller/Consult.php

@@ -2087,7 +2087,7 @@ class Consult extends Base
             $value['unit'] = isset($unit['unit'])?$unit['unit']:'';
             $value['supplierName'] = isset($supplier[$value['supplierNo']])?$supplier[$value['supplierNo']]['name']:"";
             $value['supplier_legaler_type'] = isset($supplier[$value['supplierNo']])?$supplier[$value['supplierNo']]['legaler_type']:"";
-            $value['company_legaler_type'] = isset($company[$value['companyNo']])?$company[$value['supplierNo']]:'';
+            $value['company_legaler_type'] = isset($company[$value['companyNo']])?$company[$value['companyNo']]:'';
             if($value['brand_id']!=0){
                 $brand=Db::name("brand")->where(["id"=>$value['brand_id']])->find();
                 $value["brand_name"]=isset($brand['brand_name'])?$brand['brand_name']:"";