|
|
@@ -363,6 +363,17 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
|
|
|
|
|
//出价 |
|
|
|
biddingSubmitMethod = function (data) { |
|
|
|
if (module.data.outProjectInformationDetail.biddingDirect == '递减竞价'){ |
|
|
|
if(module.data.outProjectInformationDetail.price<$('#money').val()){ |
|
|
|
tools.initError('出价不能高于挂牌价'); |
|
|
|
return; |
|
|
|
} |
|
|
|
}else{ |
|
|
|
if(module.data.outProjectInformationDetail.price>$('#money').val()){ |
|
|
|
tools.initError('出价不能低于挂牌价'); |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
var data = {}; |
|
|
|
var projectId = getQueryVariable('id'); |
|
|
|
var memberId = tools.getCookie('memberId'); |
|
|
@@ -548,7 +559,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function |
|
|
|
} |
|
|
|
|
|
|
|
moneyChange = function(){ |
|
|
|
if (module.data.outProjectInformationDetail.biddingDirect == '反向竞价'){ |
|
|
|
if (module.data.outProjectInformationDetail.biddingDirect == '递减竞价'){ |
|
|
|
if(module.data.outProjectInformationDetail.price<$('#money').val()){ |
|
|
|
$('#money').val(module.data.outProjectInformationDetail.price-1); |
|
|
|
} |
|
|
|