瀏覽代碼

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

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()
 			},