editreport.html 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <style type="text/css">
  2. .new_table {
  3. border-collapse: collapse;
  4. margin: 0 auto;
  5. text-align: center;
  6. width: 25%;float: left;
  7. font-size: 12px;
  8. }
  9. .new_table td,
  10. table th {
  11. border: 1px solid #cad9ea;
  12. color: #666;
  13. height: 2.5em;
  14. }
  15. .new_table thead th {
  16. background-color: #CCE8EB;
  17. width: 100px;
  18. }
  19. </style>
  20. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  21. <div class="col-lg-12">
  22. <div class="tab-content">
  23. <div class="tab-pane" style="display: block">
  24. <input name="unwin[xh_id]" value="{$row.other_report_text.xh_id}" type="hidden">
  25. <table class="new_table">
  26. <thead>
  27. <tr>
  28. <td>故障现象</td>
  29. </tr>
  30. </thead>
  31. <tbody>
  32. <tr>
  33. <td>
  34. <select class="form-control" name="unwin[xx_id]">
  35. <option value="" >请选择</option>
  36. {foreach name="xianxiang" item="vo"}
  37. <option value="{$vo.fault_id}" {if $row.other_report_text.xx_id eq $vo.fault_id} selected {/if}>{$vo.name}</option>
  38. {/foreach}
  39. </select>
  40. </td>
  41. </tr>
  42. </tbody>
  43. </table>
  44. <table class="new_table">
  45. <thead>
  46. <tr>
  47. <td>可能原因</td>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. <tr>
  52. <td>
  53. {:build_select('unwin[yy_id][]', $yuanyin, $row.other_report_text.yy_id, ['class'=>'form-control selectpicker','multiple'=>''])}
  54. </td>
  55. </tr>
  56. </tbody>
  57. </table>
  58. <table class="new_table">
  59. <thead>
  60. <tr>
  61. <td>故障部位</td>
  62. </tr>
  63. </thead>
  64. <tbody>
  65. <tr>
  66. <td>
  67. {:build_select('unwin[bw_id][]', $buwei, $row.other_report_text.bw_id, ['class'=>'form-control selectpicker','multiple'=>''])}
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. <table class="new_table">
  73. <thead>
  74. <tr>
  75. <td>排除方法</td>
  76. </tr>
  77. </thead>
  78. <tbody>
  79. <tr>
  80. <td>
  81. {:build_select('unwin[pc_id][]', $paichu, $row.other_report_text.pc_id, ['class'=>'form-control selectpicker','multiple'=>''])}
  82. </td>
  83. </tr>
  84. </tbody>
  85. </table>
  86. </div>
  87. </div>
  88. </div>
  89. <div class="form-group layer-footer">
  90. <label class="control-label col-xs-12 col-sm-2"></label>
  91. <div class="col-xs-12 col-sm-8">
  92. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  93. </div>
  94. </div>
  95. </form>