规范代码格式,采用generatorConfig.xml执行下就能自动生成
This commit is contained in:
@@ -229,7 +229,7 @@
|
||||
{
|
||||
if(userdepot.indexOf("["+depot.id+"]")!=-1)
|
||||
{
|
||||
if(depot.isdefault){
|
||||
if(depot.isDefault){
|
||||
defDepotId = depot.id;
|
||||
}
|
||||
options += '<option value="' + depot.id + '">' + depot.name + '</option>';
|
||||
|
||||
@@ -183,9 +183,9 @@
|
||||
{title: '负责人', field: 'principalName', width: 60},
|
||||
{title: '排序', field: 'sort', width: 60},
|
||||
{
|
||||
title: '是否默认', field: 'isdefault', width: 100, align: "center",
|
||||
title: '是否默认', field: 'isDefault', width: 100, align: "center",
|
||||
formatter: function (value, rec) {
|
||||
if (rec.isdefault) {
|
||||
if (rec.isDefault) {
|
||||
return "<b style='color:green'>是</b>";
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user