|
|
@@ -70,7 +70,17 @@ var bootstrap = function ($, learun) {
|
|
|
{ label: "仓库", name: "WareHouseName", width: 80, align: "left" },
|
|
|
{ label: "巷道", name: "Tunnel", width: 50, align: "left" },
|
|
|
{ label: "名称", name: "Name", width: 100, align: "left" },
|
|
|
- { label: "状态", name: "StatuName", width: 50, align: "left" },
|
|
|
+ {
|
|
|
+ label: "状态", name: "Statu", width: 70, align: "left", formatter: function (cellvalue) {
|
|
|
+ if (cellvalue == "0") {
|
|
|
+ return '<span class=\"label label-success\" >启用</span>';
|
|
|
+ } else if (cellvalue == "1") {
|
|
|
+ return '<span class=\"label label-default\" >禁用</span>';
|
|
|
+ } else {
|
|
|
+ return '<span class=\"label label-default\" >未知</span>';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
{ label: "备注", name: "Memo", width: 80, align: "left" },
|
|
|
{ label: "创建时间", name: "AddTime", width: 130, align: "left" },
|
|
|
{ label: "更新时间", name: "EditTime", width: 130, align: "left" },
|