Explorar o código

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

DELL %!s(int64=3) %!d(string=hai) anos
pai
achega
14b8ac561f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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()
 			},