info.html 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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="{$info.record_id}">
  14. </div>
  15. </div>
  16. </div>
  17. {if $info.user_id !=$old.user_id}
  18. <div class="col-sm-6">
  19. <div class="form-group">
  20. <label class="control-label">收取人(修改前)<span class="text-danger">*</span></label></br>
  21. <div style="padding-right: 10px">
  22. {:widget('common/select5',['name'=>'user_id','lists'=>$uList,'value'=>isset($old['user_id'])?$old['user_id']:''])}
  23. </div>
  24. </div>
  25. </div>
  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_id1','lists'=>$uList,'value'=>isset($info['user_id'])?$info['user_id']:''])}
  31. </div>
  32. </div>
  33. </div>
  34. {/if}
  35. {if $info.cateid !=$old.cateid}
  36. <div class="col-sm-6">
  37. <div class="form-group">
  38. <label class="control-label">类型(修改前)<span class="text-danger">*</span></label></br>
  39. <div style="padding-right: 10px">
  40. {:widget('common/select5',['name'=>'cateid','lists'=>$type,'value'=>isset($old['cateid'])?$old['cateid']:''])}
  41. </div>
  42. </div>
  43. </div>
  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'=>'cateid1','lists'=>$type,'value'=>isset($info['cateid'])?$info['cateid']:''])}
  49. </div>
  50. </div>
  51. </div>
  52. {/if}
  53. {if $info.waste_device_id !=$old.waste_device_id}
  54. <div class="col-sm-6">
  55. <div class="form-group">
  56. <label class="control-label">收取地点(修改前)<span class="text-danger">*</span></label></br>
  57. <div style="padding-right: 10px">
  58. {:widget('common/select5',['name'=>'waste_device_id','lists'=>$addr,'value'=>isset($old['waste_device_id'])?$old['waste_device_id']:''])}
  59. </div>
  60. </div>
  61. </div>
  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_id1','lists'=>$addr,'value'=>isset($info['waste_device_id'])?$info['waste_device_id']:''])}
  67. </div>
  68. </div>
  69. </div>
  70. {/if}
  71. {if $info.weight !=$old.weight}
  72. <div class="col-sm-6">
  73. <div class="form-group">
  74. <label class="control-label">重量(修改前)<span class="text-danger">*</span></label></br>
  75. <div style="padding-right: 10px">
  76. <input type="text" class="form-control" readonly value="{$old.weight|default=''}">
  77. </div>
  78. </div>
  79. </div>
  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="{$info.weight|default=''}">
  85. </div>
  86. </div>
  87. </div>
  88. {/if}
  89. <div class="col-sm-6">
  90. <div class="form-group">
  91. <label class="control-label">申请人<span class="text-danger">*</span></label></br>
  92. <div style="padding-right: 10px">
  93. <input type="text" class="form-control" readonly value="{$info.apply_user|default=''}">
  94. </div>
  95. </div>
  96. </div>
  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_phone|default=''}">
  102. </div>
  103. </div>
  104. </div>
  105. <div class="col-sm-12">
  106. <div class="form-group">
  107. <label class="control-label">备注</label></br>
  108. <div style="padding-right: 10px">
  109. <input type="text" readonly class="form-control" name="remark" value="{$info.remark|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. <label class="cr-inline">
  118. <input disabled type="radio" value="0" name="status">申请中&nbsp;&nbsp;
  119. </label>
  120. <label class="cr-inline">
  121. <input disabled type="radio" value="1" name="status">通过&nbsp;&nbsp;
  122. </label>
  123. <label class="cr-inline">
  124. <input disabled type="radio" value="2" name="status">拒绝
  125. </label>
  126. <label class="cr-inline">
  127. <input disabled type="radio" value="3" name="status">撤回
  128. </label>
  129. </div>
  130. </div>
  131. </div>
  132. <div class="hr-line-dashed"></div>
  133. <div class="form-group">
  134. <!--<div class="col-sm-6 col-sm-offset-2">-->
  135. <!--<button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>-->
  136. <!--<button class="btn cancel-btn btn-default" type="button">取 消</button>-->
  137. <!--</div>-->
  138. </div>
  139. </form>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. {/block}
  145. {block name="script"}
  146. <script>
  147. $(document).ready(function(){
  148. formSetValue("status", {$info.status|default=1});
  149. });
  150. </script>
  151. {/block}