调整备货单功能

This commit is contained in:
mzl
2025-11-03 18:07:56 +08:00
parent 821f455e47
commit 2f8f7dccf9
7 changed files with 98 additions and 30 deletions
+5
View File
@@ -118,6 +118,11 @@ class UserController extends BaseController
$data['system_ids'][] = $system['id'];
}
}
if ($data['reportToInfo']) {
$data['report_to_name'] = $data['reportToInfo']['id'] == $data['id'] ? '/' : $data['reportToInfo']['name'];
} else {
$data['report_to_name'] = '-';
}
return $data;
}