From fbaf470d0e3784b96bcd4b9c784acf5f63f5ae35 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Tue, 9 Apr 2019 21:35:55 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=20?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=92=8C=E7=8A=B6=E6=80=81=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile-web/src/page/user/order/list.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mobile-web/src/page/user/order/list.vue b/mobile-web/src/page/user/order/list.vue index 1dfbfbc51..e7e78d287 100644 --- a/mobile-web/src/page/user/order/list.vue +++ b/mobile-web/src/page/user/order/list.vue @@ -11,7 +11,7 @@
- +
@@ -32,8 +32,9 @@
总价:{{item.payAmount / 100}} 元 - 确认收货 - 支付 + 查看物流 + 确认收货 + 支付
@@ -156,6 +157,7 @@ }, queryOrderPage(params) { + const statusArray = ['', '代付款', '待发货', '待收货', '已完成', '已关闭'] getOrderPage({ pageNo: 0, pageSize: 10, @@ -165,6 +167,7 @@ const list = orders.map(order => { const {orderItems} = order; const products = orderItems.map(order => { + return { imageURL: order.skuImage, title: order.skuName, @@ -176,7 +179,8 @@ return { orderid: order.id, ordercode: order.orderNo, - state: `${order.status}`, + state: `${statusArray[order.status]}`, + status: order.status, products, payAmount: order.payAmount, };