12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- <style type="text/css">
- .new_table {
- border-collapse: collapse;
- margin: 0 auto;
- text-align: center;
- width: 25%;float: left;
- font-size: 12px;
- }
- .new_table td,
- table th {
- border: 1px solid #cad9ea;
- color: #666;
- height: 2.5em;
- }
- .new_table thead th {
- background-color: #CCE8EB;
- width: 100px;
- }
- </style>
- <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="col-lg-12">
- <div class="tab-content">
- <div class="tab-pane" style="display: block">
- <input name="unwin[xh_id]" value="{$row.other_report_text.xh_id}" type="hidden">
- <table class="new_table">
- <thead>
- <tr>
- <td>故障现象</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <select class="form-control" name="unwin[xx_id]">
- <option value="" >请选择</option>
- {foreach name="xianxiang" item="vo"}
- <option value="{$vo.fault_id}" {if $row.other_report_text.xx_id eq $vo.fault_id} selected {/if}>{$vo.name}</option>
- {/foreach}
- </select>
- </td>
- </tr>
- </tbody>
- </table>
- <table class="new_table">
- <thead>
- <tr>
- <td>可能原因</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- {:build_select('unwin[yy_id][]', $yuanyin, $row.other_report_text.yy_id, ['class'=>'form-control selectpicker','multiple'=>''])}
- </td>
- </tr>
- </tbody>
- </table>
- <table class="new_table">
- <thead>
- <tr>
- <td>故障部位</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- {:build_select('unwin[bw_id][]', $buwei, $row.other_report_text.bw_id, ['class'=>'form-control selectpicker','multiple'=>''])}
- </td>
- </tr>
- </tbody>
- </table>
- <table class="new_table">
- <thead>
- <tr>
- <td>排除方法</td>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- {:build_select('unwin[pc_id][]', $paichu, $row.other_report_text.pc_id, ['class'=>'form-control selectpicker','multiple'=>''])}
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
- </div>
- </div>
- </form>
|