虚拟订单查询参数初始化问题处理

master
Chopper 2021-06-29 10:03:17 +08:00
parent 59a580ccac
commit 8245b0a38d
1 changed files with 14 additions and 1 deletions

View File

@ -98,7 +98,7 @@
order: "", // order: "", //
startDate: "", // startDate: "", //
endDate: "", // endDate: "", //
orderType: "FICTITIOUS", orderType: "VIRTUAL",
orderSn: "", orderSn: "",
buyerName: "", buyerName: "",
orderStatus: "" orderStatus: ""
@ -123,6 +123,19 @@
title: "订单来源", title: "订单来源",
key: "clientType", key: "clientType",
width: 95, 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: "买家名称", title: "买家名称",