|
@@ -48,7 +48,7 @@ app.controller("listCtrl", ["$scope", "$http", "$timeout", function ($scope, $ht
|
|
|
if (item.code != "ID" && item.code != "ROUTEINFOID" &&
|
|
|
item.code != "SORTID" && item.code != "APPCODE" &&
|
|
|
item.code != "CTIME" && item.code != "RYSF" && item.code != "RYFL" && item.code != "SFZHM" && item.code != "CJGZSJ" && item.code != "ZW") {
|
|
|
- self.thead.push({ code: item.code, cname: item.cname, ckind: item.ckind })
|
|
|
+ self.thead.push({ code: item.code, cname: item.cname, ckind: item.ckind, show: true })
|
|
|
}
|
|
|
})
|
|
|
self.date = sp.currentYear() + "-" + formate(sp.currentMonth())
|
|
@@ -130,6 +130,9 @@ app.controller("listCtrl", ["$scope", "$http", "$timeout", function ($scope, $ht
|
|
|
if (item1.ckind == "datetime") {
|
|
|
item[item1.code] = sp.format(item[item1.code]).slice(0, 10)
|
|
|
}
|
|
|
+ if ((item1.ckind == "decimal" && item[item1.code] == 0) || item[item1.code] == "" || item[item1.code] == null | item[item1.code] == undefined) {
|
|
|
+ item1.show = false;
|
|
|
+ }
|
|
|
})
|
|
|
})
|
|
|
}
|