|
|
@ -204,20 +204,20 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
|
|
|
|
{ title: t('products:childrenPrice'), dataIndex: 'child_cost', width: '4rem' },
|
|
|
|
{ title: t('products:childrenPrice'), dataIndex: 'child_cost', width: '4rem' },
|
|
|
|
{ title: t('products:currency'), dataIndex: 'currency', width: '4rem' },
|
|
|
|
{ title: t('products:currency'), dataIndex: 'currency', width: '4rem' },
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: t('products:Types'),
|
|
|
|
title: t('products:unit_name'),
|
|
|
|
dataIndex: 'unit_id',
|
|
|
|
dataIndex: 'unit_id',
|
|
|
|
width: '4rem',
|
|
|
|
width: '4rem',
|
|
|
|
render: (text) => (text === '0' ? '每人' : text === '1' ? '每团' : text),
|
|
|
|
render: (text) => (text === '0' ? '每人' : text === '1' ? '每团' : text),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: t('products:number'),
|
|
|
|
title: t('products:group_size'),
|
|
|
|
dataIndex: 'group_size',
|
|
|
|
dataIndex: 'group_size',
|
|
|
|
width: '4rem',
|
|
|
|
width: '4rem',
|
|
|
|
render: (_, record) => `${record.group_size_min}-${record.group_size_max}`,
|
|
|
|
render: (_, record) => `${record.group_size_min}-${record.group_size_max}`,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: t('products:validityPeriod'),
|
|
|
|
title: t('products:use_dates'),
|
|
|
|
dataIndex: 'use_dates',
|
|
|
|
dataIndex: 'use_dates',
|
|
|
|
width: '6rem',
|
|
|
|
width: '6rem',
|
|
|
|
render: (_, record) => `${record.use_dates_start}-${record.use_dates_end}`,
|
|
|
|
render: (_, record) => `${record.use_dates_start}-${record.use_dates_end}`,
|
|
|
@ -411,7 +411,7 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
|
|
|
|
</Radio.Group>
|
|
|
|
</Radio.Group>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item
|
|
|
|
<Form.Item
|
|
|
|
label={t('products:Types')}
|
|
|
|
label={t('products:unit_name')}
|
|
|
|
name='unit_id'
|
|
|
|
name='unit_id'
|
|
|
|
rules={[
|
|
|
|
rules={[
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -426,7 +426,7 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
|
|
|
|
</Radio.Group>
|
|
|
|
</Radio.Group>
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item
|
|
|
|
<Form.Item
|
|
|
|
label={t('products:number')}
|
|
|
|
label={t('products:group_size')}
|
|
|
|
name='group_size_min'
|
|
|
|
name='group_size_min'
|
|
|
|
rules={[
|
|
|
|
rules={[
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -438,7 +438,7 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
|
|
|
|
<InputNumber style={{ width: '100%' }} />
|
|
|
|
<InputNumber style={{ width: '100%' }} />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item
|
|
|
|
<Form.Item
|
|
|
|
label={t('products:number')}
|
|
|
|
label={t('products:group_size')}
|
|
|
|
name='group_size_max'
|
|
|
|
name='group_size_max'
|
|
|
|
rules={[
|
|
|
|
rules={[
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -450,7 +450,7 @@ const ProductInfoQuotation = ({ editable, ...props }) => {
|
|
|
|
<InputNumber style={{ width: '100%' }} />
|
|
|
|
<InputNumber style={{ width: '100%' }} />
|
|
|
|
</Form.Item>
|
|
|
|
</Form.Item>
|
|
|
|
<Form.Item
|
|
|
|
<Form.Item
|
|
|
|
label={t('products:validityPeriod')}
|
|
|
|
label={t('products:use_dates')}
|
|
|
|
name='use_dates'
|
|
|
|
name='use_dates'
|
|
|
|
rules={[
|
|
|
|
rules={[
|
|
|
|
{
|
|
|
|
{
|
|
|
|