Commit 3e0d0f4e authored by 卢均锐's avatar 卢均锐

fix: [12447]

parent 8e180a7e
......@@ -28,6 +28,9 @@
width: 104px;
color: #909399;
margin: 0;
p{
margin: 0;
}
}
.content{
flex: 1;
......
......@@ -39,14 +39,40 @@ const BidCommonLayout: React.FC<BidCommonLayoutProps> = (props: any) => {
return data.extra ? (<FilesItem files={data.extra} />) : '-'
}
}
const _returnLabel = (child: any) => {
const _icon = <QuestionCircleOutlined style={ICON_STYLE} />;
if (child.tips) {
return (
<Tooltip placement="top" title={child.tips}>
{child.isMix ? (
<p>
{child.isMix[0]}{_icon}
<p>{child.isMix[1]}: </p>
</p>
) : <p>{child.label}: {_icon}</p>}
</Tooltip>
)
} else {
if (child.isMix) {
return (
<>
<p>{child.isMix[0]}</p>
<p>{child.isMix[1]}: </p>
</>
)
} else {
return `${child.label}: `;
}
}
}
const _returnChild = (child, key) => {
if (child.type === 'text' || child.type === 'area' || child.type === 'files') {
return (
<div className={selfStyles.baseItem} key={key}>
<h5 className={selfStyles.label}>
{child.tips ? <Tooltip placement="top" title={child.tips}>
{child.label}: <QuestionCircleOutlined style={ICON_STYLE} />
</Tooltip> : `${child.label}: `}
{_returnLabel(child)}
</h5>
<h5 className={selfStyles.content}>{_returnItem(child)}</h5>
</div>
......@@ -56,7 +82,7 @@ const BidCommonLayout: React.FC<BidCommonLayoutProps> = (props: any) => {
<div className={selfStyles.pieItem} key={key}>
<PieItem />
<div className={selfStyles.box}>
<div className={selfStyles.title}>{child.label}</div>
<div className={selfStyles.title}>{child.label}: </div>
<div className={selfStyles.price}>¥114,000.00</div>
</div>
</div>
......
......@@ -139,7 +139,7 @@ const SearchDetail = () => {
},
{
col: [
{ label: '公开当前最低报价', extra: transforType[data.isOpenPurchase], type: 'text', tips: '选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。' },
{ label: '公开当前最低报价', extra: transforType[data.isOpenPurchase], type: 'text', tips: '选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。', isMix: ['公开当前最低', '报价'] },
{ label: '公开报价排名', extra: transforType[data.isOpenRanking], type: 'text', tips: '选择公开报价排名,竞价过程中将供应商当前报价排名在竞价页面即时公开。' },
]
},
......
......@@ -173,7 +173,7 @@ const SearchDetail = () => {
},
{
col: [
{ label: '公开当前最低报价', extra: transforType[data.isOpenPurchase], type: 'text', tips: '选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。' },
{ label: '公开当前最低报价', extra: transforType[data.isOpenPurchase], type: 'text', tips: '选择公开当前最低报价,竞价过程中将供应商所报当前最低价在竞价页面即时公开。', isMix: ['公开当前最低', '报价'] },
{ label: '公开报价排名', extra: transforType[data.isOpenRanking], type: 'text', tips: '选择公开报价排名,竞价过程中将供应商当前报价排名在竞价页面即时公开。' },
]
},
......@@ -567,7 +567,7 @@ const SearchDetail = () => {
}, [pathPci, awardResult])
const _handleBiddingReturn = (signUpIdea: string, urls: any) => {
if(confirmLoading){
if (confirmLoading) {
return;
}
const _params = {
......
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