lilei 4 vuotta sitten
vanhempi
commit
d54fc64c2c
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 1
      pages/getOrder/getOrder.vue
  2. 1 0
      pages/work/index/index.vue

+ 1 - 1
pages/getOrder/getOrder.vue

@@ -330,7 +330,6 @@
 					params.couponReceivesList = [{id:this.checkedCoupon.id}]
 				}
 				saveOrder(params).then(res => {
-					uni.hideLoading()
 					if (res.status == 200) {
 						let data = res.data
 						// 保存成功后 请求预支付返回吊起微信支付所需参数
@@ -339,6 +338,7 @@
 						this.$u.vuex('vuex_orderNo',data.orderNo)
 					} else {
 						this.toashMsg(res.message)
+						uni.hideLoading()
 						setTimeout(()=>{
 							// 刷新服务项
 							this.getServerList()

+ 1 - 0
pages/work/index/index.vue

@@ -37,6 +37,7 @@
 				<view class="work-dtime" v-show="status=='start'">
 					距离订单强制完成还剩
 					<u-count-down
+						v-if="timestamp>0"
 						@end="endDtime"
 						separator="zh"
 						font-size="36"