| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 | <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;    }    tbody td{        text-align: left;        padding-left:15px;    }</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>                    {foreach name="xianxiang" item="vo"}                    <tr>                        <td>                            <input {if in_array($vo.fault_id,$row.xxid)} disabled {/if}  {if $row.other_report_text.xx_id eq $vo.fault_id} checked {/if} id="row[xx_id]" name="unwin[xx_id]" type="radio" value="{$vo.fault_id}">   {$vo.name}<br/>                        </td>                    </tr>                    {/foreach}                    </tbody>                </table>                <table class="new_table">                    <thead>                    <tr>                        <td>可能原因</td>                    </tr>                    </thead>                    <tbody>                    {foreach name="yuanyin" item="vv"}                    <tr>                        <td>                            <input type="checkbox" {if in_array($key,$row.other_report_text.yy_id)} checked {/if} name="unwin[yy_id][]" value="{$key}">   {$vv}                        </td>                    </tr>                    {/foreach}                    </tbody>                </table>                <table class="new_table">                    <thead>                    <tr>                        <td>故障部位</td>                    </tr>                    </thead>                    <tbody>                    {foreach name="buwei" item="vv"}                    <tr>                        <td>                            <input {if $row.other_report_text.bw_id eq $key} checked {/if} id="row[bw_id]" name="unwin[bw_id]" type="radio" value="{$key}">                               {$vv}                        </td>                    </tr>                    {/foreach}                    </tbody>                </table>                <table class="new_table">                    <thead>                    <tr>                        <td>排除方法</td>                    </tr>                    </thead>                    <tbody>                    {foreach name="paichu" item="v2"}                    <tr>                        <td>                            <input {if $row.other_report_text.pc_id eq $key} checked {/if} id="row[pc_id]" name="unwin[pc_id]" type="radio" value="{$key}">                               {$v2}                        </td>                    </tr>                    {/foreach}                    </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>
 |