init
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -75,7 +75,7 @@ | ... | @@ -75,7 +75,7 @@ |
| 75 | <span class="form-control select-box"> | 75 | <span class="form-control select-box"> |
| 76 | <select class="select" size="1" name="gender"> | 76 | <select class="select" size="1" name="gender"> |
| 77 | <?php foreach ($this->session->genderEnum as $k => $v): ?> | 77 | <?php foreach ($this->session->genderEnum as $k => $v): ?> |
| 78 | <option <?= $clientInfoOutputVO->gender == $k ? 'selected' : '' ?> | 78 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->gender == $k ? 'selected' : '' ?> |
| 79 | value="<?= $k ?>"><?= $v ?></option> | 79 | value="<?= $k ?>"><?= $v ?></option> |
| 80 | <?php endforeach; ?> | 80 | <?php endforeach; ?> |
| 81 | </select> | 81 | </select> |
| ... | @@ -86,7 +86,7 @@ | ... | @@ -86,7 +86,7 @@ |
| 86 | <span class="form-control select-box"> | 86 | <span class="form-control select-box"> |
| 87 | <select class="select" size="1" name="marriageState"> | 87 | <select class="select" size="1" name="marriageState"> |
| 88 | <?php foreach ($this->session->marryEnum as $k => $v): ?> | 88 | <?php foreach ($this->session->marryEnum as $k => $v): ?> |
| 89 | <option <?= $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?> | 89 | <option <?= $clientInfoOutputVO && $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?> |
| 90 | value="<?= $k ?>"><?= $v ?></option> | 90 | value="<?= $k ?>"><?= $v ?></option> |
| 91 | <?php endforeach; ?> | 91 | <?php endforeach; ?> |
| 92 | </select> | 92 | </select> |
| ... | @@ -95,7 +95,7 @@ | ... | @@ -95,7 +95,7 @@ |
| 95 | <div class="form-group col-sm-3 col-md-2"> | 95 | <div class="form-group col-sm-3 col-md-2"> |
| 96 | <label>出生日期</label> | 96 | <label>出生日期</label> |
| 97 | <input type="text" name="birthDate" class="form-control input-text Wdate" | 97 | <input type="text" name="birthDate" class="form-control input-text Wdate" |
| 98 | value="<?= $clientInfoOutputVO->birthDate ?>" onfocus="WdatePicker()"> | 98 | value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->birthDate : '' ?>" onfocus="WdatePicker()"> |
| 99 | </div> | 99 | </div> |
| 100 | </div> | 100 | </div> |
| 101 | 101 | ... | ... |
-
Please register or sign in to post a comment