1004749546@qq.com 4 years ago
parent
commit
36aa9f813d
3 changed files with 3 additions and 3 deletions
  1. 1 1
      pages/index/index.vue
  2. 1 1
      pages/order/hisOrderDetail.vue
  3. 1 1
      pages/order/waitOrderDetail.vue

+ 1 - 1
pages/index/index.vue

@@ -197,7 +197,7 @@
 						this.listdata = res.data
 						this.listdata = res.data
 						this.listdata.forEach(item =>{
 						this.listdata.forEach(item =>{
 							item.distance = item.distance ? Math.round(item.distance/1000) : ''
 							item.distance = item.distance ? Math.round(item.distance/1000) : ''
-							item.reserveTime = moment(item.confirmDate).format('YYYY-MM-DD') + item.reserveTimeType
+							item.reserveTime = moment(item.confirmDate).format('YYYY-MM-DD') + item.reserveTimeTypeDictValue
 						})
 						})
 					}
 					}
 					uni.hideLoading()
 					uni.hideLoading()

+ 1 - 1
pages/order/hisOrderDetail.vue

@@ -144,7 +144,7 @@
 					console.log(res,'rrrrrrrr')
 					console.log(res,'rrrrrrrr')
 					if (res.status == 200) {
 					if (res.status == 200) {
 						this.orderInfo = res.data
 						this.orderInfo = res.data
-						this.orderInfo.reserveTime = moment(this.orderInfo.confirmDate).format('YYYY-MM-DD') + this.orderInfo.reserveTimeType
+						this.orderInfo.reserveTime = moment(this.orderInfo.confirmDate).format('YYYY-MM-DD') + this.orderInfo.reserveTimeTypeDictValue
 						let data = this.$refs.rubbishType.getDataList()
 						let data = this.$refs.rubbishType.getDataList()
 						// 重组类型数据
 						// 重组类型数据
 						data.map(k =>{
 						data.map(k =>{

+ 1 - 1
pages/order/waitOrderDetail.vue

@@ -155,7 +155,7 @@
 					console.log(res,'rrrrrrrr')
 					console.log(res,'rrrrrrrr')
 					if (res.status == 200) {
 					if (res.status == 200) {
 						this.orderInfo = res.data
 						this.orderInfo = res.data
-						this.orderInfo.reserveTime = moment(this.orderInfo.confirmDate).format('YYYY-MM-DD') + this.orderInfo.reserveTimeType
+						this.orderInfo.reserveTime = moment(this.orderInfo.confirmDate).format('YYYY-MM-DD') + this.orderInfo.reserveTimeTypeDictValue
 					} 
 					} 
 					uni.hideLoading()
 					uni.hideLoading()
 				})
 				})