mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-17 16:35:53 +08:00
订单展示来源问题
This commit is contained in:
@@ -502,7 +502,20 @@
|
|||||||
{
|
{
|
||||||
title: "来源",
|
title: "来源",
|
||||||
key: "clientType",
|
key: "clientType",
|
||||||
width: 80,
|
width: 80,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: "订单状态",
|
||||||
|
|||||||
@@ -126,6 +126,20 @@
|
|||||||
title: "订单来源",
|
title: "订单来源",
|
||||||
key: "clientType",
|
key: "clientType",
|
||||||
width: 120,
|
width: 120,
|
||||||
|
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: "订单类型",
|
||||||
|
|||||||
Reference in New Issue
Block a user