diff --git a/src/views/modules/custom/groupbuyinfo.vue b/src/views/modules/custom/groupbuyinfo.vue
index 09c719a..7276e26 100644
--- a/src/views/modules/custom/groupbuyinfo.vue
+++ b/src/views/modules/custom/groupbuyinfo.vue
@@ -49,6 +49,7 @@
+
查看
@@ -104,6 +105,9 @@ export default {
stateOptions: [{
id: '0',
name: '团购中'
+ }, {
+ id: '4',
+ name: '已截团'
}, {
id: '5',
name: '已结束'
@@ -170,8 +174,16 @@ export default {
},
statusFormat: function (row, column) {
let groupBuyStatus = row.groupBuyStatus
+ let groupBuyEndTime = row.groupBuyEndTime
+ if (groupBuyEndTime !== '' && groupBuyEndTime !== null && groupBuyEndTime !== undefined) {
+ groupBuyEndTime = new Date(groupBuyEndTime).getTime()
+ }
if (groupBuyStatus === 0) {
- return '团购中'
+ if (groupBuyEndTime !== '' && groupBuyEndTime !== undefined && groupBuyEndTime !== null && (groupBuyEndTime < new Date().getTime())) {
+ return '已截团'
+ } else {
+ return '团购中'
+ }
} else if (groupBuyStatus === 5) {
return '已结束'
} else if (groupBuyStatus === 10) {
diff --git a/src/views/modules/user/selectPeopleByCity.vue b/src/views/modules/user/selectPeopleByCity.vue
index ae188c5..0f5df92 100644
--- a/src/views/modules/user/selectPeopleByCity.vue
+++ b/src/views/modules/user/selectPeopleByCity.vue
@@ -7,6 +7,11 @@
placeholder="请输入城市名"
clearable>
+
+
+
{{ $t('query') }}