# 多语种

# Conflicts:
#	public/locales/en/products.json
dev/2025b
Lei OT 2 months ago
parent 9e09a5a1f6
commit a95992cb8e

@ -1,5 +1,9 @@
{ {
"ProductType": "Product Type", "ProductType": "Product Type",
"ProductName": "Product Name",
"ContractRemarks": "合同备注",
"versionHistory": "Version History",
"versionPublished": "Published",
"type": { "type": {
"Experience": "Experience", "Experience": "Experience",
"Car": "Transport Services", "Car": "Transport Services",
@ -81,7 +85,8 @@
"withQuote": "Whether to copy the quotation", "withQuote": "Whether to copy the quotation",
"requiredVendor": "Please pick a target vendor", "requiredVendor": "Please pick a target vendor",
"requiredTypes": "Please select product types", "requiredTypes": "Please select product types",
"requiredDept": "Please pick a owner department" "requiredDept": "Please pick a owner department",
"copyTo": "Copy to"
}, },
"Validation": { "Validation": {
"adultPrice": "请输入成人价", "adultPrice": "请输入成人价",

@ -1,6 +1,8 @@
{ {
"ProductType": "项目类型", "ProductType": "项目类型",
"ContractRemarks": "合同备注", "ContractRemarks": "合同备注",
"versionHistory": "查看历史",
"versionPublished": "已发布的",
"type": { "type": {
"Experience": "综费", "Experience": "综费",
"Car": "车费", "Car": "车费",

@ -255,7 +255,7 @@ const PriceTable = ({ productType, dataSource, refresh }) => {
<Space> <Space>
<Button onClick={() => handleAuditPriceItem('2', r, ri)}></Button> <Button onClick={() => handleAuditPriceItem('2', r, ri)}></Button>
<Button onClick={() => handleAuditPriceItem('3', r, ri)}></Button> <Button onClick={() => handleAuditPriceItem('3', r, ri)}></Button>
<PriceLogPopover title='查看历史' fetchData={() => getLog({ travel_agency_id, product_id: r.info.id, price_id: r.id })} {...{ travel_agency_id, product_id: r.info.id, price_id: r.id }} /> <PriceLogPopover title={t('versionHistory')} fetchData={() => getLog({ travel_agency_id, product_id: r.info.id, price_id: r.id })} {...{ travel_agency_id, product_id: r.info.id, price_id: r.id }} />
</Space> </Space>
</RequireAuth> </RequireAuth>
) : null, ) : null,
@ -270,7 +270,7 @@ const PriceTable = ({ productType, dataSource, refresh }) => {
<PriceLogPopover <PriceLogPopover
placement='bottom' placement='bottom'
className='max-w-[1000px]' className='max-w-[1000px]'
title='已发布的' title={t('versionPublished')}
triggerProps={{ type: 'primary', ghost:true, size: 'small' }} triggerProps={{ type: 'primary', ghost:true, size: 'small' }}
fetchData={() => getRunning({ travel_agency_id, product_id: r.info.id, price_id: r.id })} fetchData={() => getRunning({ travel_agency_id, product_id: r.info.id, price_id: r.id })}
{...{ travel_agency_id, product_id: r.info.id, price_id: r.id }} {...{ travel_agency_id, product_id: r.info.id, price_id: r.id }}

Loading…
Cancel
Save