123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ taglib prefix="s" uri="/struts-tags" %>
- <form id="addHouseForm" method="post">
- <div class="easyui-tabs" id="tabs">
- <div title="房源信息" id="fyxx">
- <table class="mytable" style="width: 100%;">
- <tr>
- <th width="20%">小区名称</th>
- <td width="80%" colspan="3">
- <select id="qx_add" style="width:100px;" onchange="changeCommunityName()">
- <option value="">全部</option>
- </select>
- <input type="hidden" id="communityName_add" name="house.communityName">
- <input id="communityId_add" name="house.community.id">
- </td>
- </tr>
- <tr>
- <th>居住地点</th>
- <td colspan="3">
- <input class="easyui-validatebox" required="true" id="no_add" style="width:100px;" name="house.no">幢
- <input class="easyui-validatebox" required="true" id="houseNumber_add" style="width:100px;" name="house.houseNumber">室
- </td>
- </tr>
- <tr>
- <th width="20%">房屋面积</th>
- <td width="30%">
- <input class="easyui-numberbox" data-options="required:true" name="house.area" precision="2" style="width:100px">
- </td>
- <th width="20%">车库面积</th>
- <td width="30%">
- <input class="easyui-numberbox" data-options="required:true" name="house.garageArea" precision="2" style="width:100px">
- </td>
- </tr>
- <tr>
- <th>户型</th>
- <td>
- <select id="roomType_add" name="house.roomType" class="easyui-validatebox" required="true" style="width:100px">
- <option value="">请选择</option>
- </select>
- </td>
- <th>是否现房</th>
- <td>
- <select id="isExistHouse_add" name="house.isExistHouse" class="easyui-validatebox" required="true" style="width:100px">
- <option value="">请选择</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>水卡卡号</th>
- <td>
- <input class="easyui-validatebox" required="true" name="house.waterCardNum" style="width:100px">
- </td>
- <th>电卡卡号</th>
- <td>
- <input class="easyui-validatebox" required="true" name="house.electricCardNum" style="width:100px">
- </td>
- </tr>
- <tr>
- <th>天然气卡卡号</th>
- <td>
- <input class="easyui-validatebox" required="true" name="house.gasCardNum" style="width:100px">
- </td>
- <th>房源状态</th>
- <td>
- <select id="status_add" name="house.status" class="easyui-validatebox" required="true">
- <option value="0">未租</option>
- <option value="1">已配租</option>
- <option value="2">预配租</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>交房日期</th>
- <td>
- <input class="easyui-datebox" name="house.deliveryDate" data-options="onSelect:onSelect" id="deliveryDate_add">
- </td>
- <th>开发商维修截止日期</th>
- <td>
- <input class="easyui-datebox" name="house.developerDeadline" id="developerDeadline_add" readonly="readonly">
- </td>
- </tr>
- <tr>
- <th>市场租金<br />(元/㎡•月)</th>
- <td><input class="easyui-numberbox" required="true" type="text" id="marketRent_add" name="house.marketRent" precision="2"></td>
- </tr>
- <tr>
- <th>备注</th>
- <td colspan="3">
- <textarea rows="5" cols="" style="width: 100%" id="remark_add" name="house.remark"></textarea>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </form>
- <script type="text/javascript">
- <!--
- $(function(){
- $('#qx_add').combobox({
- url: whzl.basePath + '/houseRegisterAction_listChildrenCombobox',
- valueField:'value',
- textField:'text',
- onChange:function (newValue,oldValue) {
- $('#communityId_add').combobox("setValue","");
- $('#communityId_add').combobox('reload',whzl.basePath + '/communityAction_findAll?community.area='+$('#qx_add').combobox("getValue"));
- }
- });
- $('#communityId_add').combobox({
- url: whzl.basePath + '/communityAction_findAll',
- valueField:'value',
- textField:'text',
- filter:function(q,row){
- var opts=$(this).combobox("options");
- return row[opts.textField].indexOf(q)>-1;//将从头位置匹配改为任意匹配
- }
- });
- });
-
- //-->
- </script>
|