Commit 74718d2c authored by 前端-黄佳鑫's avatar 前端-黄佳鑫
parents e873285e d65fb4ee
...@@ -51,7 +51,7 @@ export default { ...@@ -51,7 +51,7 @@ export default {
'merchantCoupon.useCondition':'Conditions of use', 'merchantCoupon.useCondition':'Conditions of use',
'merchantCoupon.use':'Use', 'merchantCoupon.use':'Use',
'merchantCoupon.ReceivingConditions':'Receiving Conditions', 'merchantCoupon.ReceivingConditions':'Receiving Conditions',
'merchantCoupon.zhang':'', 'merchantCoupon.zhang':'Piece',
'merchantCoupon.daily':'Daily', 'merchantCoupon.daily':'Daily',
'merchantCoupon.Vipname':'Member Name', 'merchantCoupon.Vipname':'Member Name',
'merchantCoupon.lfy':'Member Type', 'merchantCoupon.lfy':'Member Type',
......
...@@ -88,12 +88,11 @@ export enum CommodityImagesType { ...@@ -88,12 +88,11 @@ export enum CommodityImagesType {
/** 商品的操作文本 */ /** 商品的操作文本 */
export const opeartionLabel = [ 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>[] = [ export const columns: ColumnType<any>[] = [
{ {
......
...@@ -204,7 +204,7 @@ const createComponent = ( ...@@ -204,7 +204,7 @@ const createComponent = (
props: isDept props: isDept
? omit(current, ['childrenData']) ? omit(current, ['childrenData'])
: specialKey && specialKey === otherProps[floor - 1].type : specialKey && specialKey === otherProps[floor - 1].type
? { label: labels[`${childProps}-${rest.join("-")}`] || [] , ...childProps } ? { label: labels[`${rest.join("-")}-${childProps.id}`] || [] , ...childProps }
: childProps, : childProps,
otherProps: otherProps[floor - 1], otherProps: otherProps[floor - 1],
childNodes: parentChildKeys, childNodes: parentChildKeys,
......
...@@ -109,7 +109,7 @@ const CombinationItem: React.FC<any> = (props: any) => { ...@@ -109,7 +109,7 @@ const CombinationItem: React.FC<any> = (props: any) => {
<div className={styles['simple-product-label']}> <div className={styles['simple-product-label']}>
{activityList.map((_item) => { {activityList.map((_item) => {
return ( return (
<CustomizeTag>{_item.label}</CustomizeTag> <CustomizeTag key={_item.label}>{_item.label}</CustomizeTag>
) )
})} })}
</div> </div>
......
...@@ -101,7 +101,7 @@ const ApplicableGoods: React.FC<IProps> = (props) => { ...@@ -101,7 +101,7 @@ const ApplicableGoods: React.FC<IProps> = (props) => {
const unitPrice = normalizeUnitPrice(text); const unitPrice = normalizeUnitPrice(text);
const start = unitPrice[0]?.price; const start = unitPrice[0]?.price;
const end = unitPrice[unitPrice.length - 1]?.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) => { ...@@ -98,7 +98,7 @@ const CouponBacisInfo: React.FC<PropsType> = (props: PropsType) => {
}, },
{ {
title: intl.formatMessage({ id: 'merchantCoupon.moneySize' }), title: intl.formatMessage({ id: 'merchantCoupon.moneySize' }),
value: `¥ ${dataSource.denomination || ''}`, value: `${intl.formatMessage({ id: 'common.money' }, { default: '¥' })} ${dataSource.denomination || ''}`,
}, },
{ {
title: intl.formatMessage({ id: 'merchantCoupon.couponEndTime' }), title: intl.formatMessage({ id: 'merchantCoupon.couponEndTime' }),
......
...@@ -75,7 +75,7 @@ const ApplicableGoodsFormItem = (props) => { ...@@ -75,7 +75,7 @@ const ApplicableGoodsFormItem = (props) => {
const unitPrice = normalizeUnitPrice(text); const unitPrice = normalizeUnitPrice(text);
const start = unitPrice[0]?.price; const start = unitPrice[0]?.price;
const end = unitPrice[unitPrice.length - 1]?.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) => { ...@@ -184,7 +184,7 @@ const GoodsDrawer: React.FC<IProps> = (props) => {
const unitPrice = normalizeUnitPrice(text); const unitPrice = normalizeUnitPrice(text);
const start = unitPrice[0]?.price; const start = unitPrice[0]?.price;
const end = unitPrice[unitPrice.length - 1]?.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