|
@@ -34,8 +34,21 @@
|
|
|
g = $("#maingrid").quiGrid({
|
|
|
columns: [
|
|
|
{ display: '名称', name: 'orgName', align: 'center', width: "8%"},
|
|
|
- { display: '水价', name: 'waterPrices', align: 'center', width: "8%"},
|
|
|
- { display: '状态', name: 'status', align: 'center', width: "8%",
|
|
|
+ // { display: '水价', name: 'waterPrices', align: 'center', width: "8%"},
|
|
|
+ { display: '一月水价', name: 'janPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '二月水价', name: 'febPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '三月水价', name: 'marPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '四月水价', name: 'aprPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '五月水价', name: 'mayPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '六月水价', name: 'junPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '七月水价', name: 'julPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '八月水价', name: 'augPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '九月水价', name: 'septPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '十月水价', name: 'octPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '十一月水价', name: 'novPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '十二月水价', name: 'decPrice', align: 'center', width: "4%"},
|
|
|
+ { display: '增长比例', name: 'growthRatios', align: 'center', width: "6%"},
|
|
|
+ { display: '状态', name: 'status', align: 'center', width: "6%",
|
|
|
render : function(rowdata, rowindex, value, column){
|
|
|
if("0"==value)
|
|
|
return "<font color=red>禁用</font>";
|
|
@@ -43,10 +56,10 @@
|
|
|
return "<font color=blue>启用</font>";
|
|
|
}
|
|
|
},
|
|
|
- { display: '创建人', name: 'creater', align: 'center', width: "10%"},
|
|
|
- { display: '创建时间', name: 'createTime', align: 'center', width: "10%"},
|
|
|
- { display: '备注', name: 'remark', align: 'center', width: "20%"},
|
|
|
- { display: '操作', isAllowHide: false, align: 'left', width:"15%",
|
|
|
+ { display: '创建人', name: 'creater', align: 'center', width: "6%"},
|
|
|
+ { display: '创建时间', name: 'createTime', align: 'center', width: "6%"},
|
|
|
+ { display: '备注', name: 'remark', align: 'center', width: "6%"},
|
|
|
+ { display: '操作', isAllowHide: false, align: 'left', width:"10%",
|
|
|
render: function (rowdata, rowindex, value, column){
|
|
|
return '<div class="padding_top4 padding_left20">'
|
|
|
+'<a href="#" onclick="onEdit(' + rowdata.orgTypeId +')"><span class="icon_edit">修改</span></a>'
|
|
@@ -135,7 +148,7 @@
|
|
|
URL : "${ctx}/orgType/edit.do?orgTypeId="+rowId,
|
|
|
Title : "编辑单位类别",
|
|
|
Width : 500,
|
|
|
- Height : 320
|
|
|
+ Height : 400
|
|
|
});
|
|
|
}
|
|
|
|
|
@@ -204,6 +217,10 @@
|
|
|
<td>
|
|
|
<input type="text" id="waterPrice" name="waterPrice" />
|
|
|
</td>
|
|
|
+ <td>增长比例:</td>
|
|
|
+ <td>
|
|
|
+ <input type="text" id="growthRatios" name="growthRatios" />%
|
|
|
+ </td>
|
|
|
<td><button type="button" onclick="searchHandler()"><span class="icon_find">查询</span></button></td>
|
|
|
<td><button type="button" onclick="resetSearch()"><span class="icon_reload">重置</span></button></td>
|
|
|
</tr>
|