Commit 69822709 authored by 前端-彭佳文's avatar 前端-彭佳文

Merge branch 'v2-220418' into 'v2-220418'

V2 220418 See merge request linkseeks-design/pro-platform!228
parents b454438d be7c5d04
......@@ -12,6 +12,7 @@ import {
getProductPriceManagementAddGoodsPrice,
} from '@/services/ProductV2Api';
import AuthButton from '@/components/AuthButton';
import moment from 'moment';
const formActions = createFormActions();
......@@ -125,6 +126,9 @@ const PriceLibrary: React.FC<{}> = () => {
}),
dataIndex: 'effectiveStartTime',
key: 'effectiveStartTime',
render: text => {
return text ? moment(text).format('YYYY-MM-DD') : undefined;
},
},
{
title: getIntl().formatMessage({
......@@ -132,6 +136,9 @@ const PriceLibrary: React.FC<{}> = () => {
}),
dataIndex: 'effectiveEndTime',
key: 'effectiveEndTime',
render: text => {
return text ? moment(text).format('YYYY-MM-DD') : undefined;
},
},
{
title: intl.formatMessage({
......
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