|
@@ -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']:"";
|