Commit 8720c334 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修复交易规则翻译BUG

parent fa6b1050
......@@ -21,7 +21,7 @@ export default {
'processRuleSetting.caozuo':'Operation',
'processRuleSetting.shanchu':'Delete',
'processRuleSetting.xiaoshi':'Hour',
'processRuleSetting.zhifupici:':'Payment batch:',
'processRuleSetting.zhifupici':'Payment batch:',
'processRuleSetting.xuanzeshangpin':'Select product',
'processRuleSetting.chaxun':'Query',
'processRuleSetting.qingxuanzepinpai':'Please select a brand',
......@@ -86,4 +86,4 @@ export default {
'processRuleSetting.bianjicaigouliu':'Edit procurement process rules',
'processRuleSetting.xinzengcaigouliu':'New procurement process rules',
'processRuleSetting.liuchengguizeID':'Process Rule ID',
}
\ No newline at end of file
}
......@@ -23,7 +23,7 @@ const Unevaluated: React.FC = () => {
const defaultColumns: ColumnType<any>[] = [
{
title: intl.formatMessage({id: 'purchaserEvaluation.dingdanhao'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.dingdanhao' }),
dataIndex: 'orderNo',
align: 'center',
render: (text, record) => (
......@@ -35,49 +35,49 @@ const Unevaluated: React.FC = () => {
),
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.dingdanzhaiyao'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.dingdanzhaiyao' }),
dataIndex: 'digest',
align: 'center',
ellipsis: true,
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.gongyinghuiyuan'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.gongyinghuiyuan' }),
dataIndex: 'memberName',
align: 'center',
render: (text, record) => <>{text}</>,
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.xiadanshijian'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.xiadanshijian' }),
dataIndex: 'createTime',
align: 'center',
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.dingdanzonge'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.dingdanzonge' }),
dataIndex: 'totalAmount',
align: 'center',
render: (text) => `¥${text}`,
render: (text) => `${intl.formatMessage({ id: 'common.money' })}${text}`,
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.dingdanleixing'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.dingdanleixing' }),
dataIndex: 'orderTypeName',
align: 'center',
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.waibuzhuangtai'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.waibuzhuangtai' }),
dataIndex: 'outerStatusName',
align: 'center',
render: (text, record) => (
<StatusTag type="success" title={intl.formatMessage({id: 'purchaserEvaluation.yiwancheng'})} />
<StatusTag type="success" title={intl.formatMessage({ id: 'purchaserEvaluation.yiwancheng' })} />
),
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.neibuzhuangtai'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.neibuzhuangtai' }),
dataIndex: 'innerStatusName',
align: 'center',
render: (text, record) => <Badge color="#41CC9E" text={intl.formatMessage({id: 'purchaserEvaluation.yiwancheng'})} />,
render: (text, record) => <Badge color="#41CC9E" text={intl.formatMessage({ id: 'purchaserEvaluation.yiwancheng' })} />,
},
{
title: intl.formatMessage({id: 'purchaserEvaluation.caozuo'}),
title: intl.formatMessage({ id: 'purchaserEvaluation.caozuo' }),
dataIndex: 'option',
align: 'center',
render: (text, record) => (
......@@ -87,7 +87,7 @@ const Unevaluated: React.FC = () => {
<Button
type="link"
>
{intl.formatMessage({id: 'purchaserEvaluation.pingjia'})}
{intl.formatMessage({ id: 'purchaserEvaluation.pingjia' })}
</Button>
)}
</Link>
......@@ -99,7 +99,7 @@ const Unevaluated: React.FC = () => {
const [columns, setColumns] = useState<any[]>(defaultColumns);
const fetchListData = (params: any) => {
let { createTimeStart, createTimeEnd , ...rest } = params;
let { createTimeStart, createTimeEnd, ...rest } = params;
createTimeStart = createTimeStart ? moment(+createTimeStart).format('YYYY-MM-DD HH:mm:ss') : undefined;
createTimeEnd = createTimeEnd ? moment(+createTimeEnd).format('YYYY-MM-DD HH:mm:ss') : undefined;
......
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