|
|
@ -1,5 +1,5 @@
|
|
|
|
import { useState } from 'react'
|
|
|
|
import { useState } from 'react'
|
|
|
|
import { Table, Form, Modal, Typography, Button, Radio, Input, Flex, Card, InputNumber, Checkbox, DatePicker, Space, App, Tooltip } from 'antd'
|
|
|
|
import { Table, Form, Modal, Button, Radio, Input, Flex, Card, InputNumber, Checkbox, DatePicker, Space, App, Tooltip } from 'antd'
|
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
import { CloseOutlined, StarTwoTone, PlusOutlined, ExclamationCircleFilled, QuestionCircleOutlined } from '@ant-design/icons'
|
|
|
|
import { CloseOutlined, StarTwoTone, PlusOutlined, ExclamationCircleFilled, QuestionCircleOutlined } from '@ant-design/icons'
|
|
|
|
import { useDatePresets } from '@/hooks/useDatePresets'
|
|
|
|
import { useDatePresets } from '@/hooks/useDatePresets'
|
|
|
@ -207,9 +207,9 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
|
|
|
|
{ title: t('products:childrenPrice'), dataIndex: 'child_cost', width: '5rem' },
|
|
|
|
{ title: t('products:childrenPrice'), dataIndex: 'child_cost', width: '5rem' },
|
|
|
|
{ title: t('products:currency'), dataIndex: 'currency', width: '4rem' },
|
|
|
|
{ title: t('products:currency'), dataIndex: 'currency', width: '4rem' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: t('products:unit_name'),
|
|
|
|
title: (<>{t('products:unit_name')} <Tooltip placement='top' overlayInnerStyle={{width: '24rem'}} title={t('products:FormTooltip.PriceUnit')}><QuestionCircleOutlined className='text-gray-500' /></Tooltip> </>),
|
|
|
|
dataIndex: 'unit_id',
|
|
|
|
dataIndex: 'unit_id',
|
|
|
|
width: '4rem',
|
|
|
|
width: '6rem',
|
|
|
|
render: (text) => t(`products:PriceUnit.${text}`), // (text === '0' ? '每人' : text === '1' ? '每团' : text),
|
|
|
|
render: (text) => t(`products:PriceUnit.${text}`), // (text === '0' ? '每人' : text === '1' ? '每团' : text),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|