123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@ taglib prefix="s" uri="/struts-tags" %>
- <form id="updateHouseForm" method="post" enctype="multipart/form-data">
- <div class="easyui-tabs" id="tabs_update">
- <div title="房源信息" id="fyxx_update">
- <table class="mytable" style="width: 100%;">
- <tr>
- <th>小区名称</th>
- <td colspan="3">
- <select id="qx_update" style="width:100px;" disabled="disabled">
- </select>
- <input id="communityId_update" name="house.community.id" disabled="disabled">
- <input type="hidden" id="id_update" name="house.id">
- <input type="hidden" id="communityName_update" name="house.communityName">
- </td>
- </tr>
- <tr>
- <th>居住地点</th>
- <td colspan="3">
- <input readonly="readonly" required="true" id="no_update" style="width:100px;" name="house.no">幢
- <input readonly="readonly" id="houseNumber_update" style="width:100px;" name="house.houseNumber">室
- </td>
- </tr>
- <tr>
- <th width="20%">房屋面积</th>
- <td width="30%">
- <input class="easyui-validatebox" data-options="required:true,validType:'myDecimal'" name="house.area" id="area_update" style="width:100px">
- </td>
- <th width="20%">车库面积</th>
- <td width="30%">
- <input class="easyui-validatebox" data-options="required:true,validType:'myDecimal'" id="garageArea_update" name="house.garageArea" style="width:100px">
- </td>
- </tr>
- <tr>
- <th width="20%">租金</th>
- <td width="30%">
- <input class="easyui-validatebox" data-options="required:true,validType:'myDecimal'" name="house.housePrice" id="housePrice_update" style="width:100px">
- </td>
- <th width="20%">车库租金</th>
- <td width="30%">
- <input class="easyui-validatebox" data-options="required:true,validType:'myDecimal'" id="garagePrice_update" name="house.garagePrice" style="width:100px">
- </td>
- </tr>
- <tr>
- <th width="20%">单价</th>
- <td width="30%">
- <input class="easyui-validatebox" data-options="validType:'myDecimal'" name="house.price" id="price_update" style="width:100px">
- </td>
- <th width="20%">房款</th>
- <td width="30%">
- <input class="easyui-validatebox" data-options="validType:'myDecimal'" id="priceTotal_update" name="house.priceTotal" style="width:100px">
- </td>
- </tr>
- <tr>
- <th width="20%">产权证号</th>
- <td width="30%">
- <input name="house.certificateNumber1" id="certificateNumber1_update" style="width:100px">
- </td>
- <th width="20%">车库产权证号</th>
- <td width="30%">
- <input id="certificateNumber2_update" name="house.certificateNumber2" style="width:100px">
- </td>
- </tr>
- <tr>
- <th>户型</th>
- <td>
- <select id="roomType_update" name="house.roomType" class="easyui-validatebox" required="true" style="width:100px">
- <option value="">请选择</option>
- </select>
- </td>
- <th>是否现房</th>
- <td>
- <select id="isExistHouse_update" name="house.isExistHouse" class="easyui-validatebox" required="true" style="width:100px">
- <option value="">请选择</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>水卡卡号</th>
- <td>
- <input id="waterCardNum_update" class="easyui-validatebox" name="house.waterCardNum" style="width:100px">
- </td>
- <th>水当前底数</th>
- <td>
- <input id="waterBase_update" name="house.waterBase" >
- </td>
- </tr>
- <tr>
- <th>电卡卡号</th>
- <td>
- <input id="electricCardNum_update" class="easyui-validatebox" name="house.electricCardNum" style="width:100px">
- </td>
- <th>电当前底数</th>
- <td>
- <input id="electricBase_update" name="house.electricBase">
- </td>
- </tr>
- <tr>
- <th>天然气卡卡号</th>
- <td>
- <input id="gasCardNum_update" class="easyui-validatebox" name="house.gasCardNum" style="width:100px">
- </td>
- <th>天然气当前底数</th>
- <td>
- <input id="gasBase_update" name="house.gasBase">
- </td>
- </tr>
- <tr>
- <th>初始安置时间</th>
- <td>
- <input id="initialPlacementTime_update" class="easyui-datebox" name="house.initialPlacementTime" id="initialPlacementTime_update">
- </td>
- <th>房源状态</th>
- <td>
- <!--<select id="status_update" name="house.status" class="easyui-validatebox" required="true">
- <option value="0">未租</option>
- <option value="1">已配租</option>
- <option value="2">预配租</option>
- </select>-->
- <select id="houseState_update" name="house.houseState" class="easyui-validatebox" required="true">
- <option value="4">未交付</option>
- <option value="5">已交付</option>
- <option value="6">闲置</option>
- <option value="11">人才公寓</option>
- </select>
- </td>
- </tr>
- <tr>
- <th>交房日期</th>
- <td>
- <input class="easyui-datebox" name="house.deliveryDate" data-options="onSelect:onSelectUpdate" id="deliveryDate_update">
- </td>
- <th>开发商维修截止日期</th>
- <td>
- <input class="easyui-datebox" name="house.developerDeadline" id="developerDeadline_update" readonly="readonly">
- </td>
- </tr>
- <tr>
- <th>装修状态</th>
- <td>
- <select id="decorationState_update" name="house.decorationState" class="easyui-validatebox" required="true">
- </select>
- </td>
- <th>市场租金<br />(元/㎡•月)</th>
- <td><input class="easyui-numberbox" required="true" type="text" id="marketRent_update" name="house.marketRent" precision="2"></td>
-
- </tr>
- <tr>
- <th>备注</th>
- <td colspan="3">
- <textarea rows="3" cols="" style="width: 100%" id="remark_update" name="house.remark"></textarea>
- </td>
- </tr>
- </table>
- </div>
- <div title="合同文件上传" id="htwj_update">
- <table class="mytable" style="width: 100%;">
- <tr>
- <th width="20%">交房通知单</th>
- <td width="80%">
- <span id="deliveryFile_update_file">
- <input type="button" value="上传" onclick="deliveryFile_update.click()">
- <input type="file" multiple name="deliveryFile" id="deliveryFile_update" class="easyui-validatebox" style="float:left;width:0px">
- </span>
- </td>
- </tr>
- <tr>
- <th width="20%">交付备案证明</th>
- <td width="80%">
- <span id="recordFile_update_file">
- <input type="button" value="上传" onclick="recordFile_update.click()">
- <input type="file" multiple name="recordFile" id="recordFile_update" class="easyui-validatebox" style="float:left;width:0px">
- </span>
- </td>
- </tr>
- <tr>
- <th width="20%">采购合同</th>
- <td width="80%">
- <span id="purchaseFile_update_file">
- <input type="button" value="上传" onclick="purchaseFile_update.click()">
- <input type="file" multiple name="purchaseFile" id="purchaseFile_update" class="easyui-validatebox" style="float:left;width:0px">
- </span>
- </td>
- </tr>
- </table>
- </div>
- </div>
- </form>
- <script type="text/javascript">
- <!--
- $(function(){
- $('#qx_update').combobox({
- url: whzl.basePath + '/houseRegisterAction_listChildrenCombobox',
- valueField:'value',
- textField:'text',
- onChange:function (newValue,oldValue) {
- $('#communityId_update').combobox('reload',whzl.basePath + '/communityAction_findAll?community.area='+$('#qx_update').combobox("getValue"));
- }
- });
- $('#communityId_update').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)==0;//
- return row[opts.textField].indexOf(q)>-1;//将从头位置匹配改为任意匹配
- }
- });
- });
-
- //-->
- </script>
|