...
|
...
|
@@ -25,8 +25,10 @@ |
|
|
<text>单位</text>
|
|
|
</div>
|
|
|
<div class="info_input"><input class="unit_value" type="text" placeholder="请选择单位" readonly
|
|
|
name="address_name"
|
|
|
onfocus="this.focus()" id="unit">
|
|
|
<text class="iconfont icon-xiala"></text>
|
|
|
<input type="hidden" class="hospital_id" name="hospital_id" value="">
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="info_item">
|
...
|
...
|
@@ -136,17 +138,15 @@ |
|
|
<script>
|
|
|
$('.unit_type1').click(function () {
|
|
|
weui.picker([
|
|
|
|
|
|
<volist name='hospital' id='vo'>
|
|
|
{label:'{$vo.name}', value:{$vo.id}},
|
|
|
</volist>
|
|
|
|
|
|
], {
|
|
|
onChange: function (res) {
|
|
|
console.log(res)
|
|
|
},
|
|
|
onConfirm: function (res) {
|
|
|
console.log(res)
|
|
|
|
|
|
$('.unit_value').val(res[0].label)
|
|
|
$('.unit_value').val(res[0].label)
|
|
|
}
|
|
|
}
|
...
|
...
|
|