7.7 取消内拍出价价格校验
This commit is contained in:
@ -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"
|
||||
>
|
||||
<ExtendUpload bid="" maxCount={1} maxSize={30} uploadProps={{ disabled: false, accept: ".png,.jpg,.jpeg,.rar,.zip,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.pdf"}}>
|
||||
<ExtendUpload bid="" maxCount={1} maxSize={30} uploadProps={{ disabled: false, accept: ".png,.jpg,.jpeg,.rar,.zip,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.txt,.pdf" }}>
|
||||
</ExtendUpload>
|
||||
</Form.Item>
|
||||
</Form>
|
||||
|
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user