perf: 删除不需要的多语言

perf/export-docx
Jimmy Liow 11 months ago
parent 12ab80403f
commit d1977c180e

@ -70,21 +70,13 @@
"adultPrice": "Adult price",
"childrenPrice": "Child price",
"currency": "Currency",
"Types": "Type",
"number": "Number",
"validityPeriod":"Validity period",
"operation": "Operation",
"price": "Price",
"weekends":"Weekends",
"Quotation": "Quotation",
"Offer": "Offer",
"Unit": "Unit",
"GroupSize": "Group Size",
"UseDates": "Use Dates",
"Weekdays": "Weekdays",
"unit_name": "类型",
"group_size": "人等",
"use_dates": "有效期",
"operation": "操作",
"price": "价格",
"Offer": "报价",
"Weekdays": "周末",
"OnWeekdays": "On Weekdays: ",
"Unlimited": "Unlimited",

@ -67,17 +67,16 @@
"adultPrice": "成人价",
"childrenPrice": "儿童价",
"currency": "币种",
"Types": "类型",
"number": "人等",
"validityPeriod": "有效期",
"unit_name": "类型",
"group_size": "人等",
"use_dates": "有效期",
"operation": "操作",
"price": "价格",
"Quotation": "报价",
"Offer": "报价",
"Unit": "单位",
"GroupSize": "人等",
"UseDates": "使用日期",
"Weekdays": "周末",
"OnWeekdays": "周: ",
"Unlimited": "不限",
"UseYear": "年份",

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

Loading…
Cancel
Save