소스 검색

订单详情页新增“已完成”

DELL 3 년 전
부모
커밋
14b8ac561f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      pages/order/index.vue

+ 2 - 1
pages/order/index.vue

@@ -104,6 +104,7 @@
 					status: this.status
 				}).then(res => {
 					uni.hideLoading();
+					console.log(res)
 					this.loading = false
 					if (res.code == 0) {
 						res.rows.forEach(item => {
@@ -202,7 +203,7 @@
 				} else if (e.index == 3) {
 					this.status = '2'
 				} else if (e.index == 4) {
-					this.status = '-1'
+					this.status = '3'
 				}
 				this.pageList()
 			},