Commit 74718d2c authored by 前端-黄佳鑫's avatar 前端-黄佳鑫
parents e873285e d65fb4ee
......@@ -51,7 +51,7 @@ export default {
'merchantCoupon.useCondition':'Conditions of use',
'merchantCoupon.use':'Use',
'merchantCoupon.ReceivingConditions':'Receiving Conditions',
'merchantCoupon.zhang':'',
'merchantCoupon.zhang':'Piece',
'merchantCoupon.daily':'Daily',
'merchantCoupon.Vipname':'Member Name',
'merchantCoupon.lfy':'Member Type',
......
......@@ -88,12 +88,11 @@ export enum CommodityImagesType {
/** 商品的操作文本 */
export const opeartionLabel = [
'',
'提交审核',
'修改商品',
'审核商品'
getIntl().formatMessage({ id: 'commodity.products.constant.opeartionLabel.1' }),
getIntl().formatMessage({ id: 'commodity.products.constant.opeartionLabel.2' }),
getIntl().formatMessage({ id: 'commodity.products.constant.opeartionLabel.3' })
]
/** 查看商品 审核历史列 */
export const columns: ColumnType<any>[] = [
{
......
......@@ -204,7 +204,7 @@ const createComponent = (
props: isDept
? omit(current, ['childrenData'])
: specialKey && specialKey === otherProps[floor - 1].type
? { label: labels[`${childProps}-${rest.join("-")}`] || [] , ...childProps }
? { label: labels[`${rest.join("-")}-${childProps.id}`] || [] , ...childProps }
: childProps,
otherProps: otherProps[floor - 1],
childNodes: parentChildKeys,
......
......@@ -109,7 +109,7 @@ const CombinationItem: React.FC<any> = (props: any) => {
<div className={styles['simple-product-label']}>
{activityList.map((_item) => {
return (
<CustomizeTag>{_item.label}</CustomizeTag>
<CustomizeTag key={_item.label}>{_item.label}</CustomizeTag>
)
})}
</div>
......
......@@ -101,7 +101,7 @@ const ApplicableGoods: React.FC<IProps> = (props) => {
const unitPrice = normalizeUnitPrice(text);
const start = unitPrice[0]?.price;
const end = unitPrice[unitPrice.length - 1]?.price;
return start !== end ? `¥ ${start}~${end}` : ${start}`;
return start !== end ? `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${start}~${end}` : `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${start}`;
},
},
];
......
......@@ -98,7 +98,7 @@ const CouponBacisInfo: React.FC<PropsType> = (props: PropsType) => {
},
{
title: intl.formatMessage({ id: 'merchantCoupon.moneySize' }),
value: `¥ ${dataSource.denomination || ''}`,
value: `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${dataSource.denomination || ''}`,
},
{
title: intl.formatMessage({ id: 'merchantCoupon.couponEndTime' }),
......
......@@ -75,7 +75,7 @@ const ApplicableGoodsFormItem = (props) => {
const unitPrice = normalizeUnitPrice(text);
const start = unitPrice[0]?.price;
const end = unitPrice[unitPrice.length - 1]?.price;
return start !== end ? `¥ ${start}~${end}` : ${start}`;
return start !== end ? `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${start}~${end}` : `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${start}`;
},
},
(
......
......@@ -184,7 +184,7 @@ const GoodsDrawer: React.FC<IProps> = (props) => {
const unitPrice = normalizeUnitPrice(text);
const start = unitPrice[0]?.price;
const end = unitPrice[unitPrice.length - 1]?.price;
return start !== end ? `¥ ${start}~${end}` : ${start}`;
return start !== end ? `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${start}~${end}` : `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${start}`;
},
},
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment