|
@@ -308,7 +308,7 @@ class Index extends Base
|
|
|
if($param['relaComNo'] !== '') $where[]=['a.companyNo|a.supplierNo','=', $param['relaComNo']];
|
|
|
$list = (new PlatformYouzan()) ->alias('b')
|
|
|
->leftJoin('good_basic a', 'a.spuCode=b.spuCode')
|
|
|
- ->field("b.id,b.paltform_id,b.plat_code,b.spuCode,b.skuCode,good_img,good_name,b.exam_status,a.cat_id,a.good_unit,
|
|
|
+ ->field("b.id,b.platform_id,b.plat_code,b.spuCode,b.skuCode,good_img,good_name,b.exam_status,a.cat_id,a.good_unit,
|
|
|
a.is_exclusive,a.brand_id,a.companyNo,a.companyName,b.creater,b.addtime,a.createrid purchase_id,a.creater purchase")
|
|
|
->where($where)->order("id desc")->paginate(["page"=>$param['page'],"list_rows"=>$param['size']]);
|
|
|
$cat =new \app\admin\model\Cat();
|
|
@@ -319,7 +319,7 @@ class Index extends Base
|
|
|
$item['cat_info'] =$cat->where(["id"=>$item['cat_id']])->value("search",'');
|
|
|
$item['brand_name'] =$Brand->where(["id"=>$item['brand_id']])->value("brand_name",'');
|
|
|
$item['unit'] =$unit->where(["id"=>$item['good_unit']])->value("unit",'');
|
|
|
- $item['platform_name'] =$platfrom->where(["id"=>$item['paltform_id']])->value("platform_name",'');
|
|
|
+ $item['platform_name'] =$platfrom->where(["id"=>$item['platform_id']])->value("platform_name",'');
|
|
|
$item['exclusive'] = makeExcluse($item['is_exclusive']);
|
|
|
$item['is_allow_update'] = 0;
|
|
|
$value['company_name'] =$account->name("account_item")->alias("a")->leftJoin("company_item b","a.itemid=b.id")
|