From 8245b0a38dd69c0cefebdfe8f91e48a7aa0bcfe3 Mon Sep 17 00:00:00 2001 From: Chopper Date: Tue, 29 Jun 2021 10:03:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=99=9A=E6=8B=9F=E8=AE=A2=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E5=8F=82=E6=95=B0=E5=88=9D=E5=A7=8B=E5=8C=96=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/order/order/fictitiousOrderList.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/manager/src/views/order/order/fictitiousOrderList.vue b/manager/src/views/order/order/fictitiousOrderList.vue index 88bc24ea..f74c6009 100644 --- a/manager/src/views/order/order/fictitiousOrderList.vue +++ b/manager/src/views/order/order/fictitiousOrderList.vue @@ -98,7 +98,7 @@ order: "", // 默认排序方式 startDate: "", // 起始时间 endDate: "", // 终止时间 - orderType: "FICTITIOUS", + orderType: "VIRTUAL", orderSn: "", buyerName: "", orderStatus: "" @@ -123,6 +123,19 @@ title: "订单来源", key: "clientType", width: 95, + render: (h, params) => { + if (params.row.clientType == "H5") { + return h("div", {}, "移动端"); + } else if (params.row.clientType == "PC") { + return h("div", {}, "PC端"); + } else if (params.row.clientType == "WECHAT_MP") { + return h("div", {}, "小程序端"); + } else if (params.row.clientType == "APP") { + return h("div", {}, "移动应用端"); + } else { + return h("div", {}, params.row.clientType); + } + }, }, { title: "买家名称",