wugg hace 2 años
padre
commit
a1dc59b255
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/admin/controller/OrderOutChild.php

+ 2 - 2
app/admin/controller/OrderOutChild.php

@@ -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);
 
     }