From 1e21cbe5123e6f9f51f323c10d4ba36eb83878e8 Mon Sep 17 00:00:00 2001 From: jl-zhoujl2 Date: Thu, 7 Jul 2022 09:51:25 +0800 Subject: [PATCH] =?UTF-8?q?7.7=20=E5=8F=96=E6=B6=88=E5=86=85=E6=8B=8D?= =?UTF-8?q?=E5=87=BA=E4=BB=B7=E4=BB=B7=E6=A0=BC=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AuctionViewAuctions.tsx | 12 ++++++------ .../components/AuctionViewAuctions.tsx | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) 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); }