报价类型增加提示文字

perf/export-docx
Jimmy Liow 10 months ago
parent 418d16c138
commit 3e5528eeb6

@ -105,6 +105,7 @@
"KM": "", "KM": "",
"Description": "", "Description": "",
"Remarks": "", "Remarks": "",
"PriceUnit": "报价单位:每人/每团",
"UseDates": "数值越短价格越优先。举例英文导游1.1-12.31价300元 8.1-8.31价400元如走团时间为8月自动取400元。", "UseDates": "数值越短价格越优先。举例英文导游1.1-12.31价300元 8.1-8.31价400元如走团时间为8月自动取400元。",
"NewTitle": { "NewTitle": {
"6": "", "6": "",

@ -105,6 +105,7 @@
"KM": "", "KM": "",
"Description": "", "Description": "",
"Remarks": "", "Remarks": "",
"PriceUnit": "报价单位:每人/每团",
"UseDates": "数值越短价格越优先。举例英文导游1.1-12.31价300元 8.1-8.31价400元如走团时间为8月自动取400元。", "UseDates": "数值越短价格越优先。举例英文导游1.1-12.31价300元 8.1-8.31价400元如走团时间为8月自动取400元。",
"NewTitle": { "NewTitle": {
"6": "", "6": "",

@ -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),
}, },
{ {

Loading…
Cancel
Save