Commit 828f9ce3 authored by 季圣华's avatar 季圣华
Browse files

优化商品的状态展示

parent c8715a2c
...@@ -131,15 +131,15 @@ ...@@ -131,15 +131,15 @@
<td style="text-align: left;"></td> <td style="text-align: left;"></td>
</tr> </tr>
<tr> <tr>
<td colspan="7" style="padding:5px 20px 10px 0; width: 1130px"> <td colspan="7" style="padding:5px 20px 10px 0; width: 1200px">
<table id="materialExtendData" style="width:100%;border-bottom-color:#FFFFFF"></table> <table id="materialExtendData" style="width:1200px;border-bottom-color:#FFFFFF"></table>
</td> </td>
</tr> </tr>
<tr> <tr>
<td style="height:30px;">备注</td> <td style="height:30px;">备注</td>
<td style="padding:5px 20px 5px 5px" colspan="6"> <td style="padding:5px 20px 5px 5px" colspan="6">
<textarea name="Remark" id="Remark" class="easyui-textbox" data-options="multiline:true" placeholder="暂无备注信息" <textarea name="Remark" id="Remark" class="easyui-textbox" data-options="multiline:true" placeholder="暂无备注信息"
style="width: 100%; height:40px;"></textarea> style="width: 1130px; height:40px;"></textarea>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -491,12 +491,12 @@ ...@@ -491,12 +491,12 @@
{title: '最低售价', field: 'lowDecimal', width: 70}, {title: '最低售价', field: 'lowDecimal', width: 70},
{ {
title: '状态', field: 'enabled', width: 50, align: "center", formatter: function (value) { title: '状态', field: 'enabled', width: 50, align: "center", formatter: function (value) {
return value ? "启用" : "禁用"; return value ? "<span style='color:green'>启用</span>" : "<span style='color:red'>禁用</span>";
} }
}, },
{ {
title: '序列号', field: 'enableserialnumber', width: 70, align: "center", formatter: function (value) { title: '序列号', field: 'enableserialnumber', width: 70, align: "center", formatter: function (value) {
return value=='1' ? "" : ""; return value=='1' ? "<b>有</b>" : "";
} }
} }
]], ]],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment