From 30347e7c515c44ee8228f9e0eb93144d32e7d572 Mon Sep 17 00:00:00 2001 From: sunfengxiang Date: Tue, 17 Aug 2021 17:37:46 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=AF=8D=E8=AF=AD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/bidding/biddingList.html | 10 +++++----- view/listingItems/itemsList.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/view/bidding/biddingList.html b/view/bidding/biddingList.html index 75d96df..26c5c26 100644 --- a/view/bidding/biddingList.html +++ b/view/bidding/biddingList.html @@ -192,7 +192,7 @@ - 报名时间 + 报名结束时间 data_input @@ -206,7 +206,7 @@ - 竞价时间 + 竞价结束时间 data_input @@ -231,8 +231,8 @@ 项目名称 竞价方式 - 报名截止时间 - 竞价开始时间 + 报名结束时间 + 竞价结束时间 标的底价 当前报价 竞价状态 @@ -246,7 +246,7 @@ {{value.projectName}} {{value.biddingType}} {{value.signupStopTime}} - {{value.biddingStartTime}} + {{value.biddingStopTime}} {{value.price}} {{value.money}} {{value.timeType}} diff --git a/view/listingItems/itemsList.html b/view/listingItems/itemsList.html index 76f270c..9d17434 100644 --- a/view/listingItems/itemsList.html +++ b/view/listingItems/itemsList.html @@ -193,7 +193,7 @@ - 报名时间 + 报名结束时间 data_input @@ -207,7 +207,7 @@ - 竞价时间 + 竞价结束时间 data_input From 36383f7d5c0678bbc49d380c5149576f8aa07c37 Mon Sep 17 00:00:00 2001 From: sunfengxiang Date: Wed, 18 Aug 2021 08:57:39 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=AE=BE=E7=BD=AEautocomplete=3D"off"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/bidding/biddingList.html | 8 ++++---- view/listingItems/itemsList.html | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/view/bidding/biddingList.html b/view/bidding/biddingList.html index 26c5c26..d90d612 100644 --- a/view/bidding/biddingList.html +++ b/view/bidding/biddingList.html @@ -194,12 +194,12 @@ 报名结束时间 - + data_input
- + data_input @@ -208,12 +208,12 @@ 竞价结束时间 - + data_input
- + data_input
查询
diff --git a/view/listingItems/itemsList.html b/view/listingItems/itemsList.html index 9d17434..06784e5 100644 --- a/view/listingItems/itemsList.html +++ b/view/listingItems/itemsList.html @@ -195,12 +195,12 @@ 报名结束时间 - + data_input
- + data_input @@ -209,12 +209,12 @@ 竞价结束时间 - + data_input
- + data_input
查询
From 8f0f0946d15340a7bc917179a3224a915ad26b54 Mon Sep 17 00:00:00 2001 From: sunfengxiang Date: Wed, 18 Aug 2021 11:09:41 +0800 Subject: [PATCH 3/3] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9,=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/project/bidding/biddingList.js | 29 ++++++++++++--------- static/js/project/listingItems/itemsList.js | 5 ++++ view/bidding/biddingList.html | 6 ++--- view/listingItems/itemsList.html | 4 +-- 4 files changed, 27 insertions(+), 17 deletions(-) diff --git a/static/js/project/bidding/biddingList.js b/static/js/project/bidding/biddingList.js index 6fec5db..3e0c7bb 100644 --- a/static/js/project/bidding/biddingList.js +++ b/static/js/project/bidding/biddingList.js @@ -66,33 +66,33 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT tools.getWebConfig(); $("#signStartTimeStr").datetime({ - type:"date", - value:[2019,9,31], - success:function(res){ + type: "date", + value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], + success: function (res) { console.log(res) } }) $("#signEndTimeStr").datetime({ - type:"date", - value:[2019,9,31], - success:function(res){ + type: "date", + value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], + success: function (res) { console.log(res) } }) $("#auctionStartTimeStr").datetime({ - type:"date", - value:[2019,9,31], - success:function(res){ + type: "date", + value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], + success: function (res) { console.log(res) } }) $("#endTimeStr").datetime({ - type:"date", - value:[2019,9,31], - success:function(res){ + type: "date", + value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], + success: function (res) { console.log(res) } }) @@ -210,6 +210,7 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT $("#secondDept div").attr("class","auction_hall_table_tab auction_loc"); if(id == '' && secondDeptId == ''){ $('#locInfoSecondall').addClass('auction_hall_table_tab_select'); + module.data.deptId = $('#deptLocationContent div.auction_hall_table_tab_select').attr("data"); }else{ $('#locInfoall'+id).addClass('auction_hall_table_tab_select'); module.data.deptId = secondDeptId; @@ -229,6 +230,10 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT } typeCheck = function(id,projectNumber){ + if(projectNumber==undefined){ + // projectNumber为undefined时,置空(直接传递给后台接口导致搜索问题) + projectNumber = ""; + } module.data.projectNumber = projectNumber;//标的物类型ID document.getElementById('standardTypeAll').className = 'auction_hall_table_tab'; if(id == ''){ diff --git a/static/js/project/listingItems/itemsList.js b/static/js/project/listingItems/itemsList.js index 250f0e1..b30dbfe 100644 --- a/static/js/project/listingItems/itemsList.js +++ b/static/js/project/listingItems/itemsList.js @@ -219,6 +219,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi $("#secondDept div").attr("class", "auction_hall_table_tab auction_loc"); if (id == '' && secondDeptId == '') { $('#locInfoSecondall').addClass('auction_hall_table_tab_select'); + module.data.deptId = $('#deptLocationContent div.auction_hall_table_tab_select').attr("data"); } else { $('#locInfoall' + id).addClass('auction_hall_table_tab_select'); module.data.deptId = secondDeptId; @@ -256,6 +257,10 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi } typeCheck = function (id, projectNumber) { + if(projectNumber==undefined){ + // projectNumber为undefined时,置空(直接传递给后台接口导致搜索问题) + projectNumber = ""; + } module.data.projectNumber = projectNumber;//标的物类型ID document.getElementById('standardTypeAll').className = 'auction_hall_table_tab'; if (id == '') { diff --git a/view/bidding/biddingList.html b/view/bidding/biddingList.html index d90d612..7be3707 100644 --- a/view/bidding/biddingList.html +++ b/view/bidding/biddingList.html @@ -136,9 +136,9 @@
@@ -154,7 +154,7 @@
diff --git a/view/listingItems/itemsList.html b/view/listingItems/itemsList.html index 06784e5..611e966 100644 --- a/view/listingItems/itemsList.html +++ b/view/listingItems/itemsList.html @@ -138,7 +138,7 @@
@@ -155,7 +155,7 @@