|
@@ -361,9 +361,9 @@ class OrderOutChild extends Base
|
|
|
->where(['a.is_del' => 0, 'a.outChildCode' => $outChildCode])
|
|
|
->findOrEmpty();
|
|
|
//校验是否开通了供应商账号
|
|
|
- $supp_account = checkHasAccountBySupplierNos($info['supplierNo']);
|
|
|
+ $supp_account = checkHasAccountBySupplierNos([$info['supplierNo']]);
|
|
|
|
|
|
- $info['has_account']=(int)isset($supp_account[$value['supplierNo']]);
|
|
|
+ $info['has_account']=(int)isset($supp_account[$info['supplierNo']]);
|
|
|
return json_show(0, '获取详情成功', $info);
|
|
|
|
|
|
}
|