diff --git a/static/js/project/bidding/biddingBigDataDetail.js b/static/js/project/bidding/biddingBigDataDetail.js index f07c96b..97bd353 100644 --- a/static/js/project/bidding/biddingBigDataDetail.js +++ b/static/js/project/bidding/biddingBigDataDetail.js @@ -138,8 +138,15 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi"], function ($, t }else{ $('#countDown').html('竞价结束') module.data.outProjectInformationDetail.projectShowStatus = '竞价结束'; - var biddingInformationData = template('biddingInformationData', module.data); - $("#biddingInformationContent").html(biddingInformationData); + setTimeout(()=>{ + tools.doGet(biddinglist, {projectId: getQueryVariable('id')}, (data1)=>{ + let content1 = data1.rows; + module.data.biddinglistInformationDetail = content1; + module.data.biddinglistInformationDetailLength = content1.length; + var biddingInformationData = template('biddingInformationData', module.data); + $("#biddingInformationContent").html(biddingInformationData); + }, true); + },2000); return; } } diff --git a/static/js/project/listingItems/items2.js b/static/js/project/listingItems/items2.js index dd3eac3..bca9760 100644 --- a/static/js/project/listingItems/items2.js +++ b/static/js/project/listingItems/items2.js @@ -473,6 +473,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function // } // document.getElementById('swiperType').style.display = 'block'; module.data.biddingTimeType = 1; + module.data.outProjectInformationDetail.projectShowStatus = '正在竞价'; $('#countType').html('竞价中') $('#countDown').html('距竞价结束还有:00'+m+''+s+'秒') if(module.data.outProjectInformationDetail.biddingType != '自由竞价' && module.data.biddingTimeType != 2){ @@ -582,10 +583,6 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function var biddinglistInformationData = template('biddinglistInformationData', module.data); $("#tabDetail4").html(biddinglistInformationData); }, true); - - - var biddinglistInformationData = template('biddinglistInformationData', module.data); - $("#tabDetail4").html(biddinglistInformationData); return; } } @@ -703,7 +700,7 @@ define(['jquery', "template", "Tools", 'swiper', 'itemsApi', 'swiper'], function $('#unit').html('出价价格【'+module.data.outProjectInformationDetail.unit+'】') if (content.length>0){ //console.log('abccba') - $("#nowMoneyBlock").html(''+content[0].money+' 元');} + $("#nowMoneyBlock").html(''+content[0].money+''+module.data.outProjectInformationDetail.unit);} } }