|
@@ -112,24 +112,25 @@ export default {
|
|
|
isEnd: false
|
|
|
},
|
|
|
quoteTableData: [],
|
|
|
- refreshQuoteTimer: null
|
|
|
+ refreshQuoteTimer: null,
|
|
|
+
|
|
|
+ isOverFirstTime: false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
- isOverFirstTime() {
|
|
|
- const currentTime = moment();
|
|
|
- let kaibiaoTime = moment(this.detail.firstTime);
|
|
|
+ // isOverFirstTime() {
|
|
|
+ // const currentTime = moment();
|
|
|
+ // let kaibiaoTime = moment(this.detail.firstTime);
|
|
|
|
|
|
- return currentTime.isAfter(kaibiaoTime)
|
|
|
- }
|
|
|
+ // return currentTime.isAfter(kaibiaoTime)
|
|
|
+ // }
|
|
|
},
|
|
|
- created () {
|
|
|
- this.getData()
|
|
|
- this.getListQuote()
|
|
|
- // this.refreshPage()
|
|
|
+ async created() {
|
|
|
+ await this.getData()
|
|
|
+ await this.getListQuote()
|
|
|
},
|
|
|
methods: {
|
|
|
- async getData () {
|
|
|
+ async getData() {
|
|
|
const res = await getTender(this.sid)
|
|
|
this.tender = res.data
|
|
|
|
|
@@ -189,6 +190,11 @@ export default {
|
|
|
item.fjAnnex = fjAnnex
|
|
|
return item
|
|
|
})
|
|
|
+
|
|
|
+ const currentTime = moment();
|
|
|
+ let kaibiaoTime = moment(this.detail.firstTime);
|
|
|
+
|
|
|
+ this.isOverFirstTime = currentTime.isAfter(kaibiaoTime)
|
|
|
},
|
|
|
|
|
|
refreshPage() {
|