008e7c28 by yangjianbin

init

1 parent 7ec871d6
......@@ -75,7 +75,7 @@
<span class="form-control select-box">
<select class="select" size="1" name="gender">
<?php foreach ($this->session->genderEnum as $k => $v): ?>
<option <?= $clientInfoOutputVO->gender == $k ? 'selected' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->gender == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
......@@ -86,7 +86,7 @@
<span class="form-control select-box">
<select class="select" size="1" name="marriageState">
<?php foreach ($this->session->marryEnum as $k => $v): ?>
<option <?= $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->marriageState == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
......@@ -95,7 +95,7 @@
<div class="form-group col-sm-3 col-md-2">
<label>出生日期</label>
<input type="text" name="birthDate" class="form-control input-text Wdate"
value="<?= $clientInfoOutputVO->birthDate ?>" onfocus="WdatePicker()">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->birthDate : '' ?>" onfocus="WdatePicker()">
</div>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!