init
Showing
1 changed file
with
14 additions
and
1 deletions
| ... | @@ -133,7 +133,20 @@ | ... | @@ -133,7 +133,20 @@ |
| 133 | <div class="form-group col-sm-12 col-md-12"> | 133 | <div class="form-group col-sm-12 col-md-12"> |
| 134 | <label>居住情况</label> | 134 | <label>居住情况</label> |
| 135 | <div class="info"> | 135 | <div class="info"> |
| 136 | <?php foreach ($this->session->dwellEnum as $k=>$v):?> | ||
| 136 | <div class="live-info"> | 137 | <div class="live-info"> |
| 138 | <input type="checkbox" <?=$clientInfoOutputVO->dwellState == $k ? 'checked' : ''?> name="dwellState"> | ||
| 139 | <span><?=$v?></span> | ||
| 140 | <?php if($k == 0):?> | ||
| 141 | <input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层 | ||
| 142 | <?php elseif ($k == 1):?> | ||
| 143 | <input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> name="dwellDetail" class="input-decoration w-50 text-c"> 万 | ||
| 144 | <?php elseif ($k == 2):?> | ||
| 145 | <input type="text" <?=$clientInfoOutputVO->dwellState == $k ? $clientInfoOutputVO->dwellDetail : ''?> name="dwellDetail" class="input-decoration w-50 text-c"> 万 | ||
| 146 | <?php endif;?> | ||
| 147 | </div> | ||
| 148 | <?php endforeach;?> | ||
| 149 | <!--<div class="live-info"> | ||
| 137 | <input type="checkbox" name="dwellState"> | 150 | <input type="checkbox" name="dwellState"> |
| 138 | <span>自建</span> | 151 | <span>自建</span> |
| 139 | <input type="text" class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层 | 152 | <input type="text" class="input-decoration w-50 text-c" name="dwellDetail" value=""> 层 |
| ... | @@ -158,7 +171,7 @@ | ... | @@ -158,7 +171,7 @@ |
| 158 | </div> | 171 | </div> |
| 159 | <div class="live-info"> | 172 | <div class="live-info"> |
| 160 | <input type="checkbox" name="dwellState"> | 173 | <input type="checkbox" name="dwellState"> |
| 161 | <span>单位住房</span> | 174 | <span>单位住房</span>--> |
| 162 | </div> | 175 | </div> |
| 163 | </div> | 176 | </div> |
| 164 | </div> | 177 | </div> | ... | ... |
-
Please register or sign in to post a comment