Commit 0a43d65c authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 修改招投标翻译问题

parent be0cb086
......@@ -64,7 +64,7 @@ const ReadyCheckedConfirmFirstDetail: React.FC = () => {
anchorList={anchorTitleList}
extraRight={
<Button type='primary' onClick={onSubmit}>
审核定标
{intl.formatMessage({id: 'table.purchase.shenhedingbiao'})}
</Button>
}
/>
......
......@@ -65,7 +65,7 @@ const ReadyCheckedConfirmSecondDetail: React.FC = () => {
anchorList={anchorTitleList}
extraRight={
<Button type='primary' onClick={onSubmit}>
审核定标
{intl.formatMessage({id: 'table.purchase.shenhedingbiao'})}
</Button>
}
/>
......
......@@ -209,7 +209,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
<Row>
<Col span={8}><p className={style['card-list_title']}>{intl.formatMessage({ id: 'detail.purchase.label34' })}:</p></Col>
<Col>
<p>¥{ (tableDataSource.reduce((a, b) => a + b[item.dataIndex]['price'] * b.count, 0)).toFixed(2) }({intl.formatMessage({ id: 'detail.purchase.isTax' })})</p>
<p>{intl.formatMessage({id:'common.money'})}{ (tableDataSource.reduce((a, b) => a + b[item.dataIndex]['price'] * b.count, 0)).toFixed(2) }({intl.formatMessage({ id: 'detail.purchase.isTax' })})</p>
</Col>
</Row>
</div>
......@@ -243,7 +243,7 @@ const BidConfirm: React.FC<BidConfirmProps> = ({cardTitle}) => {
<div className={style['card-list']}>
<Row>
<Col span={8}><p className={style['card-list_title']}>{intl.formatMessage({ id: 'table.purchase.shoubiaozonge' })}:</p></Col>
<Col><p>¥{(tableDataSource.reduce((a, b) => a + (b[item.dataIndex]['isAward'] ? (b[item.dataIndex]['price'] * b.count * b[item.dataIndex]['awardRate'] / 100) : 0), 0)).toFixed(2)}({intl.formatMessage({ id: 'detail.purchase.isTax' })})</p></Col>
<Col><p>{intl.formatMessage({id:'common.money'})}{(tableDataSource.reduce((a, b) => a + (b[item.dataIndex]['isAward'] ? (b[item.dataIndex]['price'] * b.count * b[item.dataIndex]['awardRate'] / 100) : 0), 0)).toFixed(2)}({intl.formatMessage({ id: 'detail.purchase.isTax' })})</p></Col>
</Row>
</div>
</div>
......
......@@ -23,7 +23,7 @@ export const useSelfTable = () => {
align: 'center',
dataIndex: 'ctl',
key: 'ctl',
render: (text, record) => <Button type='link' onClick={() => handleSubmit(record)}>审核</Button>
render: (text, record) => <Button type='link' onClick={() => handleSubmit(record)}>{intl.formatMessage({ id: 'table.purchase.shenhe', defaultMessage: '审核' })}</Button>
}
])
......
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