fix: product quantity input and modules dependencies title fixed

This commit is contained in:
2025-09-18 20:37:35 +04:00
parent 053c1da5db
commit 79189bea9a
2 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ const useModulesTableColumns = () => {
{
title: (
<Group gap={"sm"}>
<Text>Зависит от модулей</Text>
Зависит от модулей
<Tooltip
label={
"Зависимости автоматически подключатся при сохранении"

View File

@ -4,7 +4,6 @@ import {
Flex,
Image,
NumberInput,
rem,
Stack,
Textarea,
Title,
@ -111,7 +110,7 @@ const ProductView: FC<Props> = ({ dealProduct }) => {
{!dealProduct.product && (
<Image
flex={1}
radius={rem(10)}
radius={"md"}
fit={"cover"}
// src={dealProduct.product.imageUrl}
/>
@ -123,13 +122,14 @@ const ProductView: FC<Props> = ({ dealProduct }) => {
{/*{value.product.barcodes.join(", ")}*/}
{/*</Text>*/}
<NumberInput
mt={rem(10)}
suffix={" шт."}
value={dealProduct.quantity}
onChange={quantity =>
isNumber(quantity) && debouncedOnChange({ quantity })
}
placeholder={"Введите количество товара"}
min={1}
allowNegative={false}
/>
<Textarea
defaultValue={dealProduct.comment}