fix: product quantity input and modules dependencies title fixed
This commit is contained in:
@ -21,7 +21,7 @@ const useModulesTableColumns = () => {
|
||||
{
|
||||
title: (
|
||||
<Group gap={"sm"}>
|
||||
<Text>Зависит от модулей</Text>
|
||||
Зависит от модулей
|
||||
<Tooltip
|
||||
label={
|
||||
"Зависимости автоматически подключатся при сохранении"
|
||||
|
||||
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user