Commit 012cc2ff by 杨树贤

修复分配开发员

parent a620dcef
Showing with 5 additions and 1 deletions
......@@ -41,7 +41,11 @@ class SupplierTransformer
$supplier['region_name'] = array_get(config('fixed.Region'), $supplier['region'], '暂无');
$supplier['contact_num'] = $this->getContactNum($supplier['supplier_id']);
$supplier['has_sku'] = $supplier['sku_num'] ? '是' : '否';
$supplier['has_quality_assurance_agreement'] = $this->checkHasQualityAssuranceAgreement($supplier['attachment']) ? '有' : '无';
if (isset($supplier['attachment'])) {
$supplier['has_quality_assurance_agreement'] = $this->checkHasQualityAssuranceAgreement($supplier['attachment']) ? '有' : '无';
} else {
$supplier['has_quality_assurance_agreement'] = '无';
}
$supplier['is_own'] = $supplier['create_uid'] == request()->user->userId ? "创建" : "指派";
if (empty($supplier['create_name'])) {
$userInfo = $adminUserService->getAdminUserInfo($supplier['create_uid']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment