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

fix: 修复合同翻译问题BUG

parent ab84f9ec
......@@ -258,9 +258,9 @@ export default {
'contract.hetongfukuanxiangqing':'Contract payment details',
'contract.shoukuanzhanghu':'Receiving account',
'contract.fapiaobianhaokaipiaori':'Invoice number (invoicing date)',
'contract.zhangqi':'Account period',
'contract.yuejie':'Monthly End',
'contract.xianjie':'Currently closed',
'contract.zhangqi':'account',
'contract.yuejie':'monthly',
'contract.xianjie':'now',
'contract.wuliaobianhaomingcheng':'material number/name',
'contract.danwei':'Unit',
'contract.caigoushuliang':'Purchase Quantity',
......
......@@ -60,7 +60,7 @@ const PaymentCard: React.FC<Iprops> = ({
<div className={style.title}>{intl.formatMessage({id: 'contract.fukuanbili'})}</div>
<div className={style.proportion}>{item.payRatio ? item.payRatio : item.paidRatio}%</div>
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
<div className={style.Price}>¥{item.payAmount}</div>
<div className={style.Price}>{intl.formatMessage({id: 'common.money'})}{item.payAmount}</div>
{
children ?
<div onClick={() => key(item)}> {children} </div>
......
......@@ -120,7 +120,7 @@ const Details = (props: any) => {
],
col3: [
{ label: intl.formatMessage({id: 'contract.hetongjine'}), extra: basics.totalAmount ? `${intl.formatMessage({ id: 'common.money' })}${basics.totalAmount}` : '' },
{ label: intl.formatMessage({id: 'contract.hetongyouxiaoqi'}), extra: `${basics.startTime}${basics.endTime}` },
{ label: intl.formatMessage({id: 'contract.hetongyouxiaoqi'}), extra: `${basics.startTime}${intl.formatMessage({id: 'common.text.to'})}${basics.endTime}` },
],
}
if (basics.sourceId) {
......
......@@ -164,7 +164,7 @@ const PopupDrawer: React.FC<Iprops> = ({
<div className={style.memuItem}>
<div className={style.menuCard}>
<div className={style.menulabel}>{intl.formatMessage({ id: 'contract.fukuanjine' })}</div>
<div className={style.card}>¥ {basicData.payAmount}</div>
<div className={style.card}>{intl.formatMessage({id: 'common.money'})} {basicData.payAmount}</div>
</div>
<div className={style.menuCard}>
<div className={style.menulabel}>{intl.formatMessage({ id: 'contract.fukuanshijian' })}</div>
......
......@@ -83,7 +83,7 @@ const Details = (props: any) => {
],
col3: [
{ label: intl.formatMessage({ id: 'contract.hetongyouxiaoqi' }), extra: `${basics.startTime}${basics.endTime}` },
{ label: intl.formatMessage({ id: 'contract.hetongyouxiaoqi' }), extra: `${basics.startTime}${intl.formatMessage({id: 'common.text.to'})}${basics.endTime}` },
],
}
if (type) {
......
......@@ -126,7 +126,7 @@ const table = (props: any) => {
render: (_, item, index) =>
<Input
addonBefore="¥"
addonBefore={intl.formatMessage({id: 'common.money'})}
style={{
width: 130,
}}
......
......@@ -255,7 +255,7 @@ const FormList = (props: any) => {
width: 120,
}}
onChange={(e) => setInput(e, 'price', index)}
addonBefore="¥"
addonBefore={intl.formatMessage({ id: 'common.money' })}
defaultValue={text != '' ? Number(text).toFixed(2) : ''}
disabled={Object.keys(Row).length != 0 ? true : false}
/>
......
......@@ -113,8 +113,8 @@ const FormList = (props: any) => {
defaultValue={item.payWay}
>
<Option value="3" key={3}>{intl.formatMessage({ id: 'contract.xianjie' })}</Option>
<Option value="1" key={1}>{intl.formatMessage({ id: 'contract.zhangqi' })}</Option>
<Option value="2" key={2}>{intl.formatMessage({ id: 'contract.yuejie' })}</Option>
<Option value="1" key={1}>{intl.formatMessage({ id: 'contract.zhangqi' })}</Option>
<Option value="2" key={2}>{intl.formatMessage({ id: 'contract.yuejie' })}</Option>
</Select>
{
item.payWay != 3 &&
......
This diff is collapsed.
......@@ -106,7 +106,7 @@ const FormList = (props: any) => {
width: 120,
}}
onChange={(e) => setInput(e, 'price', index)}
addonBefore="¥"
addonBefore={intl.formatMessage({id: 'common.money'})}
defaultValue={text}
disabled
/>
......
......@@ -123,7 +123,7 @@ const Levelexamine = () => {
render: (text, record) => {
return (
<div>
<span style={{ color: '#00B37A', cursor: 'pointer', marginRight: 10 }} onClick={() => history.push(`/memberCenter/contract/manage/levelexamine/details?contractId=${record.id}&type=ManageExamineStepOne`)}>审核</span>
<span style={{ color: '#00B37A', cursor: 'pointer', marginRight: 10 }} onClick={() => history.push(`/memberCenter/contract/manage/levelexamine/details?contractId=${record.id}&type=ManageExamineStepOne`)}>{intl.formatMessage({id: 'contract.shenhe'})}</span>
</div>
)
}
......
......@@ -139,7 +139,7 @@ const Secondaryexamine = () => {
render: (text, record) => {
return (
<div>
<span style={{ color: '#00B37A', cursor: 'pointer', marginRight: 10 }} onClick={() => history.push(`/memberCenter/contract/manage/secondaryexamine/details?contractId=${record.id}&type=PageToBeExamineStepTwo`)}>审核</span>
<span style={{ color: '#00B37A', cursor: 'pointer', marginRight: 10 }} onClick={() => history.push(`/memberCenter/contract/manage/secondaryexamine/details?contractId=${record.id}&type=PageToBeExamineStepTwo`)}>{intl.formatMessage({id: 'contract.shenhe'})}</span>
</div>
)
}
......
......@@ -138,7 +138,7 @@ const Signacontract = () => {
render: (text, record) => {
return (
<div>
<span style={{ color: '#00B37A', cursor: 'pointer', marginRight: 10 }} onClick={() => history.push(`/memberCenter/contract/manage/signacontract/details?contractId=${record.id}&type=Signacontract`)}>签订合同</span>
<span style={{ color: '#00B37A', cursor: 'pointer', marginRight: 10 }} onClick={() => history.push(`/memberCenter/contract/manage/signacontract/details?contractId=${record.id}&type=Signacontract`)}>{intl.formatMessage({id: 'contract.qiandinghetong'})}</span>
</div>
)
}
......
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