fix: 修复轮胎类型字典显示问题

master
zch 5 days ago
parent d05fb29660
commit 26b2e1bbcc

@ -76,6 +76,7 @@
<script th:inline="javascript">
var prefix = ctx + "tyre/tyre";
var stockType = [[${stockType}]];
var datas = [[${@dict.getType('tyre_type')}]];
$(function() {
var options = {
@ -131,8 +132,8 @@
}, {
field: 'tyreType',
title: '轮胎类型',
formatter: function(value) {
return $.common.isEmpty(value) ? stockType : value;
formatter: function(value, row, index) {
return $.table.selectDictLabel(datas, value);
}
}, {
field: 'tyreBrand',

Loading…
Cancel
Save