@@ -162,9 +162,13 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
module.outProjectInformation2 = function (data) {
module.outProjectInformation2 = function (data) {
if (data.code == 200) {
if (data.code == 200) {
var content = data.data;
var content = data.data;
$("#bmrs").html(content.bidderNum);
$("#bmrs").html(content.bidderNum);
$("#cjcs").html(content.bidPriceNum);
if((module.data.outProjectInformationDetail.biddingType=='自由竞价'||module.data.outProjectInformationDetail.biddingType=='1')&&(module.data.outProjectInformationDetail.projectShowStatus=='正在竞价'||module.data.outProjectInformationDetail.projectShowStatus=='等待竞价')){
$("#cjcs").html('*');
}else{
$("#cjcs").html(content.bidPriceNum);
}
}
}
}
}
@@ -188,7 +192,7 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
var biddingInformationData = template('biddingInformationData', module.data);
var biddingInformationData = template('biddingInformationData', module.data);
$("#biddingInformationContent").html(biddingInformationData);
$("#biddingInformationContent").html(biddingInformationData);
if (content.length > 0){
if (content.length > 0){
if((module.data.outProjectInformationDetail.biddingType=='自由竞价'||module.data.outProjectInformationDetail.biddingType=='1')&&module.data.outProjectInformationDetail.projectShowStatus=='正在竞价'){
if((module.data.outProjectInformationDetail.biddingType=='自由竞价'||module.data.outProjectInformationDetail.biddingType=='1')&&( module.data.outProjectInformationDetail.projectShowStatus=='正在竞价'||module.data.outProjectInformationDetail.projectShowStatus=='等待竞价') ){
$("#biddingMoney").html('*');
$("#biddingMoney").html('*');
$("#biddingPeople").html('*');
$("#biddingPeople").html('*');
}else{
}else{
@@ -196,8 +200,13 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
$("#biddingPeople").html(content[0].memberId);
$("#biddingPeople").html(content[0].memberId);
}
}
}else{
}else{
$("#biddingPeople").html('无');
$("#biddingMoney").html('无');
if((module.data.outProjectInformationDetail.biddingType=='自由竞价'||module.data.outProjectInformationDetail.biddingType=='1')&&(module.data.outProjectInformationDetail.projectShowStatus=='正在竞价'||module.data.outProjectInformationDetail.projectShowStatus=='等待竞价')){
$("#biddingMoney").html('*');
$("#biddingPeople").html('*');
}else{
$("#biddingPeople").html('无');
$("#biddingMoney").html('无');
}
}
}
}
}
}
}
@@ -236,7 +245,7 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
if(Date.parse(biddingStartTime)<nowTime&&nowTime<Date.parse(biddingStopTime)){
if(Date.parse(biddingStartTime)<nowTime&&nowTime<Date.parse(biddingStopTime)){
//正在竞价
//正在竞价
module.data.biddingTimeType = 1;
module.data.biddingTimeType = 1;
module.data.outProjectInformationDetail.projectShowStatus = '正在竞价';
$('#d0').html(
$('#d0').html(
(
(
(Math.floor(leftTime / 1000 / 60 / 60 / 24) + '').length < 2 ?
(Math.floor(leftTime / 1000 / 60 / 60 / 24) + '').length < 2 ?
@@ -278,6 +287,7 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
$('#countType').html('距竞价结束还有')
$('#countType').html('距竞价结束还有')
}else if (nowTime>Date.parse(biddingStopTime)){
}else if (nowTime>Date.parse(biddingStopTime)){
module.data.outProjectInformationDetail.projectShowStatus = '等待成交';
//竞价结束
//竞价结束
$('#d0').html('0')
$('#d0').html('0')
$('#d1').html('0')
$('#d1').html('0')
@@ -294,6 +304,7 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t
$('#countType').html('竞价结束')
$('#countType').html('竞价结束')
module.data.biddingTimeType = 2;
module.data.biddingTimeType = 2;
}else if (nowTime<Date.parse(biddingStartTime)){
}else if (nowTime<Date.parse(biddingStartTime)){
module.data.outProjectInformationDetail.projectShowStatus = '等待竞价';
//竞价暂未开始
//竞价暂未开始
$('#d0').html('0')
$('#d0').html('0')
$('#d1').html('0')
$('#d1').html('0')