diff --git a/frontend/src/components/procurement/ProcurementRequestDetailContent.tsx b/frontend/src/components/procurement/ProcurementRequestDetailContent.tsx index 75de21ba..30838298 100644 --- a/frontend/src/components/procurement/ProcurementRequestDetailContent.tsx +++ b/frontend/src/components/procurement/ProcurementRequestDetailContent.tsx @@ -199,63 +199,99 @@ function ProcurementItemCard({ return (
-
-
-

{item.name}

- {item.description ? ( -

{item.description}

- ) : null} - {item.supplier_info ? ( -

- Поставщик: {item.supplier_info} -

- ) : null} +
+
+

+ От заказчика +

+
+
+

{item.name}

+ {item.description ? ( +

{item.description}

+ ) : null} + {item.supplier_info ? ( +

+ Поставщик: {item.supplier_info} +

+ ) : null} +
+
+

+ {item.quantity} {item.unit} +

+

+ Ориентир: {formatMoney(item.estimated_unit_price)} +

+
+
{links.length > 0 ? ( -
- {links.map((link, linkIndex) => ( - - - {link} - - ))} +
+

Ссылки / варианты

+
+ {links.map((link, linkIndex) => ( + + + {link} + + ))} +
) : null} -
-
-

{formatMoney(item.total_price)}

-

- {item.quantity} {item.unit} -

-
-
-
- {statusLabel} - {item.expected_delivery_date ? ( - - Ожидается: {formatDate(item.expected_delivery_date)} - - ) : null} - {item.actual_unit_price ? ( - - Факт: {formatMoney(item.actual_unit_price)} - - ) : null} - - Заказано {orderedQuantity}/{requestedQuantity} - - - Получено {receivedQuantity}/{requestedQuantity} - -
-
- Цена/ед.: {formatMoney(item.estimated_unit_price)} + + +
+
+

+ От закупщика +

+ {statusLabel} +
+
+
+

Дата поступления

+

+ {formatDate(item.expected_delivery_date) || "—"} +

+
+
+

Цена факт

+

+ {item.actual_unit_price ? formatMoney(item.actual_unit_price) : "—"} +

+
+
+

Заказано

+

+ {orderedQuantity}/{requestedQuantity} +

+
+
+

Получено

+

+ {receivedQuantity}/{requestedQuantity} +

+
+
+
+ + Расчёт: {formatMoney(item.total_price)} + + {item.actual_unit_price ? ( + + Факт: {formatMoney(item.actual_unit_price)} + + ) : null} +
+
+