修改序列号的状态类型

This commit is contained in:
季圣华
2019-08-12 23:00:58 +08:00
parent 2753e28d5f
commit 0a0f346931

View File

@@ -94,8 +94,8 @@
<td style="width:80px;">序列号</td>
<td style="padding:5px;width:180px;">
<select name="EnableSerialNumber" id="EnableSerialNumber" style="width: 180px;height: 20px">
<option value="1">启用</option>
<option value="0">禁用</option>
<option value="1"></option>
<option value="0"></option>
</select>
</td>
<td></td>
@@ -533,7 +533,7 @@
},
{
title: '序列号', field: 'enableserialnumber', width: 70, align: "center", formatter: function (value) {
return value=='1' ? "启用" : "禁用";
return value=='1' ? "" : "";
}
}
]],