规范代码格式,采用generatorConfig.xml执行下就能自动生成

This commit is contained in:
季圣华
2019-04-30 23:13:17 +08:00
parent 1f628d7537
commit 38dbf19b22
7 changed files with 137 additions and 93 deletions

View File

@@ -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>';

View File

@@ -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 {