供应商信息,默认取登录用户ID

This commit is contained in:
孙景学
2025-07-11 15:12:20 +08:00
parent 2457dfb6f3
commit 2f85e2a97e
10 changed files with 20 additions and 10 deletions

View File

@ -48,7 +48,8 @@ interface BaseInfoTabProps {
}
const BaseInfoTab: React.FC<BaseInfoTabProps> = (props) => {
const { viewType = false, record = '' } = props;
const userId = sessionStorage.getItem('userId') || '';
const { viewType = false, record = userId } = props;
const intl = useIntl();
const [registerInfo, setRegisterInfo] = useState<Request>();
//变更说明与附件