init
Showing
1 changed file
with
5 additions
and
5 deletions
| ... | @@ -105,7 +105,7 @@ | ... | @@ -105,7 +105,7 @@ |
| 105 | <span class="form-control select-box"> | 105 | <span class="form-control select-box"> |
| 106 | <select class="select" size="1" name="educationDegree"> | 106 | <select class="select" size="1" name="educationDegree"> |
| 107 | <?php foreach ($this->session->educationEnum as $k => $v): ?> | 107 | <?php foreach ($this->session->educationEnum as $k => $v): ?> |
| 108 | <option <?= $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?> | 108 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?> |
| 109 | value="<?= $k ?>"><?= $v ?></option> | 109 | value="<?= $k ?>"><?= $v ?></option> |
| 110 | <?php endforeach; ?> | 110 | <?php endforeach; ?> |
| 111 | </select> | 111 | </select> |
| ... | @@ -114,7 +114,7 @@ | ... | @@ -114,7 +114,7 @@ |
| 114 | <div class="form-group col-sm-3 col-md-2"> | 114 | <div class="form-group col-sm-3 col-md-2"> |
| 115 | <label>身份证</label> | 115 | <label>身份证</label> |
| 116 | <input type="text" name="idCard" class="form-control input-text" | 116 | <input type="text" name="idCard" class="form-control input-text" |
| 117 | value="<?= $clientInfoOutputVO->idCard ?>"> | 117 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->idCard : '' ?>"> |
| 118 | </div> | 118 | </div> |
| 119 | </div> | 119 | </div> |
| 120 | 120 | ||
| ... | @@ -122,16 +122,16 @@ | ... | @@ -122,16 +122,16 @@ |
| 122 | <div class="form-group has-feedback col-sm-3 col-md-2"> | 122 | <div class="form-group has-feedback col-sm-3 col-md-2"> |
| 123 | <label>月收入</label> | 123 | <label>月收入</label> |
| 124 | <input type="text" name="monthlyIncome" class="form-control input-text" | 124 | <input type="text" name="monthlyIncome" class="form-control input-text" |
| 125 | value="<?= $clientInfoOutputVO->monthlyIncome ?>"> | 125 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->monthlyIncome : '' ?>"> |
| 126 | <span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span> | 126 | <span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span> |
| 127 | </div> | 127 | </div> |
| 128 | <div class="form-group col-sm-3 col-md-2"> | 128 | <div class="form-group col-sm-3 col-md-2"> |
| 129 | <label>有无本地房产</label> | 129 | <label>有无本地房产</label> |
| 130 | <span class="form-control select-box"> | 130 | <span class="form-control select-box"> |
| 131 | <select class="select" size="1" name="localHouse"> | 131 | <select class="select" size="1" name="localHouse"> |
| 132 | <option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> | 132 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> |
| 133 | value="0">无</option> | 133 | value="0">无</option> |
| 134 | <option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> | 134 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?> |
| 135 | value="1">有</option> | 135 | value="1">有</option> |
| 136 | </select> | 136 | </select> |
| 137 | </span> | 137 | </span> | ... | ... |
-
Please register or sign in to post a comment