Soleilw 3 тижднів тому
джерело
коміт
de9a9158ab

+ 1
- 1
dist/index.html Переглянути файл

@@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.d79b5ae3.js"></script>
<script src="/umi.4c55395f.js"></script>
</body>
</html>

dist/p__Company__List__index.9a927181.async.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


dist/umi.4c55395f.js
Різницю між файлами не показано, бо вона завелика
Переглянути файл


+ 3
- 2
src/components/Render/Main/Company/List/create/index.tsx Переглянути файл

@@ -34,13 +34,13 @@ const PagesMainCompanyListCreate: React.FC<PagesMainCompanyListCreateProps> = ({
};

const [uploadedFilelicenseName, setUploadedFilelicenseName] = useState<string>('');
const handleFileUploadedlicense = (filename: string) => {
const handleFileUploadedlicense = (filename: string) => {
setUploadedFilelicenseName(filename);
};

const [uploadedFilephotosName, setUploadedFilephotosName] = useState<object[]>([]);

const handleFileUploadedphotos = (filename: string) => {
const handleFileUploadedphotos = (filename: string) => {
setUploadedFilephotosName([...uploadedFilephotosName, { photo: filename }]);
};

@@ -83,6 +83,7 @@ const PagesMainCompanyListCreate: React.FC<PagesMainCompanyListCreateProps> = ({
if (open && id) {
GetCompanyInfo({ id: id }).then(res => {
formMapRef?.current?.forEach((formInstanceRef) => {
res.data.establishment_date = res.data.establishment_date ? res.data.establishment_date : null
res.data.industry_arr = [res.data.industry];
res.data.nature_arr = findAncestors(dictModel.natureList, res.data.nature).concat([res.data.nature])
res.data.scale_arr = findAncestors(dictModel.scaleList, res.data.scale).concat([res.data.scale])

Завантаження…
Відмінити
Зберегти