Commit 1dc1671c authored by leimo's avatar leimo

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

fix: 采购竞价报价台显示问题 See merge request linkseeks-design/pro-platform!242
parents a0e5646b 8942d43a
......@@ -29,7 +29,7 @@ const QuotationDesk: React.FC<QuotationDeskProps> = (props: any) => {
_obj[`${item.type}`] = item.title;
});
return {
value: { min: 0 },
value: { min: 0,type: 'log' },
time: { range: [0, 1] },
type: {
formatter: v => {
......
......@@ -86,12 +86,12 @@ const Detail = () => {
_quotationDesks = socketObj.quotationDesks
}
_quotationDesks.forEach((item) => {
_offerList.push({ type: 'offer', time: formatTimeString(item.offerTime || item.peportTime, 'HH:mm:ss'), value: parseInt(priceFormat(item.price || item.sumPice, 0)) });
_offerList.push({ type: 'offer', time: formatTimeString(item.offerTime || item.peportTime, 'HH:mm:ss'), value: item.price || item.sumPice });
})
_list.push({ title: intl.formatMessage({ id: 'detail.purchase.quotedAmount' }), type: 'offer', list: _offerList });
if (data.isOpenPurchase) {
_quotationDesks.forEach((item) => {
_minList.push({ type: 'min', time: formatTimeString(item.offerTime || item.peportTime, 'HH:mm:ss'), value: parseInt(priceFormat(item.minPrice, 0)) });
_minList.push({ type: 'min', time: formatTimeString(item.offerTime || item.peportTime, 'HH:mm:ss'), value: item.minPrice });
})
_list.push({ title: intl.formatMessage({ id: 'detail.purchase.minPrice1' }), type: 'min', list: _minList });
}
......
......@@ -55,7 +55,7 @@ const Management = () => {
setLowestList({
type: 'min',
title: intl.formatMessage({ id: 'detail.purchase.minPrice1' }),
list: _data.awardProcesss ? _data.awardProcesss.map((item) => { return { type: 'min', time: formatTimeString(item.peportTime, 'HH:mm:ss'), value: parseInt(priceFormat(item.sumPice, 0)) } }).reverse() : []
list: _data.awardProcesss ? _data.awardProcesss.map((item) => { return { type: 'min', time: formatTimeString(item.peportTime, 'HH:mm:ss'), value: item.sumPice } }).reverse() : []
})
}
}, [purchaseBiddingMessage])
......@@ -117,7 +117,7 @@ const Management = () => {
setLowestList({
type: 'min',
title: intl.formatMessage({ id: 'detail.purchase.minPrice1' }),
list: data ? data.map((item) => { return { type: 'min', time: formatTimeString(item.peportTime, 'HH:mm:ss'), value: parseInt(priceFormat(item.sumPice, 0)) } }).reverse() : []
list: data ? data.map((item) => { return { type: 'min', time: formatTimeString(item.peportTime, 'HH:mm:ss'), value: item.sumPice } }).reverse() : []
})
})
}
......
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