diff --git a/src/pages/Auction/AuctionParticipateDetail/components/AuctionViewAuctions.tsx b/src/pages/Auction/AuctionParticipateDetail/components/AuctionViewAuctions.tsx index 9ee9b57..b46855b 100644 --- a/src/pages/Auction/AuctionParticipateDetail/components/AuctionViewAuctions.tsx +++ b/src/pages/Auction/AuctionParticipateDetail/components/AuctionViewAuctions.tsx @@ -324,11 +324,11 @@ const AuctionViewAuctions: React.FC = () => { return; } // let differ = (Number(value) - Number(currentPrice)) % range - let differ = (value * 1000 - currentPrice * 1000) % (range * 1000) - if (differ !== 0) { - message.info('请增加加价幅度整数倍的金额!'); - return; - } + // let differ = (value * 1000 - currentPrice * 1000) % (range * 1000) + // if (differ !== 0) { + // message.info('请增加加价幅度整数倍的金额!'); + // return; + // } //出价 confirmBidOrNot(tpId, value); } @@ -654,7 +654,7 @@ const AuctionViewAuctions: React.FC = () => { name="biddersFj" extra="最多上传一个文件,每个最大30MB" > - + diff --git a/src/pages/Auction/AuctionViewAuctions/components/AuctionViewAuctions.tsx b/src/pages/Auction/AuctionViewAuctions/components/AuctionViewAuctions.tsx index 0cdb182..68ff3e2 100644 --- a/src/pages/Auction/AuctionViewAuctions/components/AuctionViewAuctions.tsx +++ b/src/pages/Auction/AuctionViewAuctions/components/AuctionViewAuctions.tsx @@ -303,11 +303,11 @@ const AuctionViewAuctions: React.FC = () => { return; } // let differ = (Number(value) - Number(currentPrice)) % range - let differ = (value * 1000 - currentPrice * 1000) % (range * 1000) - if (differ !== 0) { - message.info('请增加加价幅度整数倍的金额!'); - return; - } + // let differ = (value * 1000 - currentPrice * 1000) % (range * 1000) + // if (differ !== 0) { + // message.info('请增加加价幅度整数倍的金额!'); + // return; + // } //出价 confirmBidOrNot(tpId, value); }