0
0

info.html 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-content">
  7. <form method="post" action="{:url('option')}" class="form-horizontal">
  8. <input type="hidden" name="id" value="{$info['id']|default='0'}">
  9. <div class="col-sm-12">
  10. <div class="form-group">
  11. <label class="control-label">所属机构<span class="text-danger">*</span></label></br>
  12. <div style="padding-right: 10px">
  13. <input type="text" readonly class="form-control" value="{$org}">
  14. </div>
  15. </div>
  16. </div>
  17. <div class="col-sm-12">
  18. <div class="form-group">
  19. <label class="control-label">医废编号<span class="text-danger">*</span></label></br>
  20. <div style="padding-right: 10px">
  21. <input type="text" readonly class="form-control" value="{$info.record_id}">
  22. </div>
  23. </div>
  24. </div>
  25. {if $info.user_id !=$old.user_id}
  26. <div class="col-sm-6">
  27. <div class="form-group">
  28. <label class="control-label">收取人(修改前)<span class="text-danger">*</span></label></br>
  29. <div style="padding-right: 10px">
  30. {:widget('common/select5',['name'=>'user_id','lists'=>$uList,'value'=>isset($old['user_id'])?$old['user_id']:''])}
  31. </div>
  32. </div>
  33. </div>
  34. <div class="col-sm-6">
  35. <div class="form-group">
  36. <label class="control-label">收取人(修改后)<span class="text-danger">*</span></label></br>
  37. <div style="padding-right: 10px">
  38. {:widget('common/select5',['name'=>'user_id1','lists'=>$uList,'value'=>isset($info['user_id'])?$info['user_id']:''])}
  39. </div>
  40. </div>
  41. </div>
  42. {/if}
  43. {if $info.cateid !=$old.cateid}
  44. <div class="col-sm-6">
  45. <div class="form-group">
  46. <label class="control-label">类型(修改前)<span class="text-danger">*</span></label></br>
  47. <div style="padding-right: 10px">
  48. {:widget('common/select5',['name'=>'cateid','lists'=>$type,'value'=>isset($old['cateid'])?$old['cateid']:''])}
  49. </div>
  50. </div>
  51. </div>
  52. <div class="col-sm-6">
  53. <div class="form-group">
  54. <label class="control-label">类型(修改后)<span class="text-danger">*</span></label></br>
  55. <div style="padding-right: 10px">
  56. {:widget('common/select5',['name'=>'cateid1','lists'=>$type,'value'=>isset($info['cateid'])?$info['cateid']:''])}
  57. </div>
  58. </div>
  59. </div>
  60. {/if}
  61. {if $info.waste_device_id !=$old.waste_device_id}
  62. <div class="col-sm-6">
  63. <div class="form-group">
  64. <label class="control-label">收取地点(修改前)<span class="text-danger">*</span></label></br>
  65. <div style="padding-right: 10px">
  66. {:widget('common/select5',['name'=>'waste_device_id','lists'=>$addr,'value'=>isset($old['waste_device_id'])?$old['waste_device_id']:''])}
  67. </div>
  68. </div>
  69. </div>
  70. <div class="col-sm-6">
  71. <div class="form-group">
  72. <label class="control-label">收取地点(修改后)<span class="text-danger">*</span></label></br>
  73. <div style="padding-right: 10px">
  74. {:widget('common/select5',['name'=>'waste_device_id1','lists'=>$addr,'value'=>isset($info['waste_device_id'])?$info['waste_device_id']:''])}
  75. </div>
  76. </div>
  77. </div>
  78. {/if}
  79. {if $info.weight !=$old.weight}
  80. <div class="col-sm-6">
  81. <div class="form-group">
  82. <label class="control-label">重量(修改前)<span class="text-danger">*</span></label></br>
  83. <div style="padding-right: 10px">
  84. <input type="text" class="form-control" readonly value="{$old.weight|default=''}">
  85. </div>
  86. </div>
  87. </div>
  88. <div class="col-sm-6">
  89. <div class="form-group">
  90. <label class="control-label">重量(修改后)<span class="text-danger">*</span></label></br>
  91. <div style="padding-right: 10px">
  92. <input type="text" class="form-control" readonly value="{$info.weight|default=''}">
  93. </div>
  94. </div>
  95. </div>
  96. {/if}
  97. <div class="col-sm-6">
  98. <div class="form-group">
  99. <label class="control-label">申请人<span class="text-danger">*</span></label></br>
  100. <div style="padding-right: 10px">
  101. <input type="text" class="form-control" readonly value="{$info.apply_user|default=''}">
  102. </div>
  103. </div>
  104. </div>
  105. <div class="col-sm-6">
  106. <div class="form-group">
  107. <label class="control-label">申请人电话<span class="text-danger">*</span></label></br>
  108. <div style="padding-right: 10px">
  109. <input type="text" class="form-control" readonly value="{$info.apply_user_phone|default=''}">
  110. </div>
  111. </div>
  112. </div>
  113. <div class="col-sm-12">
  114. <div class="form-group">
  115. <label class="control-label">备注</label></br>
  116. <div style="padding-right: 10px">
  117. <input type="text" readonly class="form-control" name="remark" value="{$info.remark|default=''}">
  118. </div>
  119. </div>
  120. </div>
  121. <div class="col-sm-12">
  122. <div class="form-group">
  123. <label class="control-label">状态</label></br>
  124. <div style="padding-right: 10px">
  125. <label class="cr-inline">
  126. <input disabled type="radio" value="0" name="status">申请中&nbsp;&nbsp;
  127. </label>
  128. <label class="cr-inline">
  129. <input disabled type="radio" value="1" name="status">通过&nbsp;&nbsp;
  130. </label>
  131. <label class="cr-inline">
  132. <input disabled type="radio" value="2" name="status">拒绝
  133. </label>
  134. <label class="cr-inline">
  135. <input disabled type="radio" value="3" name="status">撤回
  136. </label>
  137. </div>
  138. </div>
  139. </div>
  140. <div class="hr-line-dashed"></div>
  141. <div class="form-group">
  142. <!--<div class="col-sm-6 col-sm-offset-2">-->
  143. <!--<button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>-->
  144. <!--<button class="btn cancel-btn btn-default" type="button">取 消</button>-->
  145. <!--</div>-->
  146. </div>
  147. </form>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. {/block}
  153. {block name="script"}
  154. <script>
  155. $(document).ready(function(){
  156. formSetValue("status", {$info.status|default=1});
  157. });
  158. </script>
  159. {/block}