头饰管理 / 座驾管理 - 增加 表头样式展示

This commit is contained in:
2025-09-28 15:04:44 +08:00
parent 07b2744095
commit dd1c53e14b
2 changed files with 34 additions and 36 deletions

View File

@@ -687,6 +687,23 @@ export default {
{ field: 'name.ar', title: '阿语名称', align: 'center', width: '20%' },
{ field: 'name.tr', title: '土耳其语名称', align: 'center', width: '20%' },
{ field: 'name.pt', title: '葡萄牙语名称', align: 'center', width: '20%' },
{
field: "pic",
title: "座驾样式",
align: "center",
width: "5%",
formatter: function (val, row, index) {
if (val) {
return (
"<img style='max-width: 50px;max-height: 50px' src='" +
val +
"'>"
);
} else {
return "-";
}
},
},
{
field: 'partitionFlag',
title: '地区',
@@ -737,27 +754,9 @@ export default {
}
}
},
{
field: 'radishSale',
title: '萝卜购买',
align: 'center',
width: '5%',
formatter: function (val, row, index) {
if (val == true) {
return "是";
} else if (val == false) {
return "否";
} else {
return "-";
}
}
},
{ field: 'originalPrice', title: '原价(钻石)', align: 'center', width: '5%' },
{ field: 'price', title: '购买价格(钻石)', align: 'center', width: '5%' },
{ field: 'renewPrice', title: '续费价格(钻石)', align: 'center', width: '5%' },
{ field: 'radishOriginalPrice', title: '原价(萝卜)', align: 'center', width: '5%' },
{ field: 'radishPrice', title: '购买价格(萝卜)', align: 'center', width: '5%' },
{ field: 'radishRenewPrice', title: '续费价格(萝卜)', align: 'center', width: '5%' },
{
field: 'enable', title: '启用状态', align: 'center', width: '15%', formatter: function (val, row, index) {
if (val == 1) {

View File

@@ -601,6 +601,23 @@ export default {
{ field: 'name.en', title: '英语头饰名称', align: 'center', width: '5%' },
{ field: 'name.tr', title: '土耳其头饰名称', align: 'center', width: '5%' },
{ field: 'name.pt', title: '葡萄牙头饰名称', align: 'center', width: '5%' },
{
field: "pic",
title: "头饰样式",
align: "center",
width: "5%",
formatter: function (val, row, index) {
if (val) {
return (
"<img style='max-width: 50px;max-height: 50px' src='" +
val +
"'>"
);
} else {
return "-";
}
},
},
{
field: 'partitionFlag',
title: '地区',
@@ -641,27 +658,9 @@ export default {
}
}
},
{
field: 'radishSale',
title: '萝卜购买',
align: 'center',
width: '5%',
formatter: function (val, row, index) {
if (val == true) {
return "是";
} else if (val == false) {
return "否";
} else {
return "-";
}
}
},
{ field: 'originalPrice', title: '原价(钻石)', align: 'center', width: '5%' },
{ field: 'price', title: '购买价格(钻石)', align: 'center', width: '5%' },
{ field: 'renewPrice', title: '续费价格(钻石)', align: 'center', width: '5%' },
{ field: 'radishOriginalPrice', title: '原价(萝卜)', align: 'center', width: '5%' },
{ field: 'radishPrice', title: '购买价格(萝卜)', align: 'center', width: '5%' },
{ field: 'radishRenewPrice', title: '续费价格(萝卜)', align: 'center', width: '5%' },
{ field: 'days', title: '有效期', align: 'center', width: '5%' },
{ field: 'seq', title: '排序', align: 'center', width: '5%' },
{