32601886 by yangjianbin

init

1 parent 008e7c28
......@@ -105,7 +105,7 @@
<span class="form-control select-box">
<select class="select" size="1" name="educationDegree">
<?php foreach ($this->session->educationEnum as $k => $v): ?>
<option <?= $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->educationDegree == $k ? 'selected' : '' ?>
value="<?= $k ?>"><?= $v ?></option>
<?php endforeach; ?>
</select>
......@@ -114,7 +114,7 @@
<div class="form-group col-sm-3 col-md-2">
<label>身份证</label>
<input type="text" name="idCard" class="form-control input-text"
value="<?= $clientInfoOutputVO->idCard ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->idCard : '' ?>">
</div>
</div>
......@@ -122,16 +122,16 @@
<div class="form-group has-feedback col-sm-3 col-md-2">
<label>月收入</label>
<input type="text" name="monthlyIncome" class="form-control input-text"
value="<?= $clientInfoOutputVO->monthlyIncome ?>">
value="<?= $clientInfoOutputVO ? $clientInfoOutputVO->monthlyIncome : '' ?>">
<span class="glyphicon glyphicon-rmb form-control-feedback" aria-hidden="true"></span>
</div>
<div class="form-group col-sm-3 col-md-2">
<label>有无本地房产</label>
<span class="form-control select-box">
<select class="select" size="1" name="localHouse">
<option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
value="0"></option>
<option <?= $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
<option <?= $clientInfoOutputVO && $clientInfoOutputVO->localHouse == $k ? 'selected' : '' ?>
value="1"></option>
</select>
</span>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!