0
0

add.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  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-title">
  7. <h5>{$meta_title}</h5>
  8. <div class="ibox-tools">
  9. <a class="toback" href="{:url('index')}">
  10. 返回上一页
  11. </a>
  12. </div>
  13. </div>
  14. <input type="hidden" id="is_first" value="{$info['id']|default='0'}">
  15. <div class="ibox-content">
  16. <form method="post" action="{:url('add')}" class="form-horizontal">
  17. <input type="hidden" name="id" value="{$info['id']|default='0'}">
  18. <div class="form-group">
  19. <label class="col-sm-2 control-label">订单号</label>
  20. <div class="col-sm-6">
  21. <input type="text" disabled class="form-control" value="{$info.sn|default=''}">
  22. </div>
  23. </div>
  24. <div class="form-group">
  25. <label class="col-sm-2 control-label">用户</label>
  26. <div class="col-sm-6">
  27. <input type="text" disabled class="form-control" value="{$info.userInfo.nickname|default=''}">
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label class="col-sm-2 control-label">护工</label>
  32. <div class="col-sm-6">
  33. <input type="text" disabled class="form-control" value="{$info.workerInfo.name|default=''}">
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="col-sm-2 control-label">陪护项目</label>
  38. <div class="col-sm-6">
  39. <input type="text" disabled class="form-control" value="{$info.cateInfo.title|default=''}">
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="col-sm-2 control-label">联系人</label>
  44. <div class="col-sm-6">
  45. <input type="text" disabled class="form-control" value="{$info.name|default=''}">
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="col-sm-2 control-label">电话</label>
  50. <div class="col-sm-6">
  51. <input type="text" disabled class="form-control" value="{$info.phone|default=''}">
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="col-sm-2 control-label">地址</label>
  56. <div class="col-sm-6">
  57. <input type="text" disabled class="form-control" value="{$info.address|default=''}">
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="col-sm-2 control-label">所患疾病</label>
  62. <div class="col-sm-6">
  63. <input type="text" disabled class="form-control" value="{$info.ill|default=''}">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="col-sm-2 control-label">自理能力</label>
  68. <div class="col-sm-6">
  69. <input type="text" disabled class="form-control" value="{$info.selfcareInfo|default=''}">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="col-sm-2 control-label">开始日期</label>
  74. <div class="col-sm-6">
  75. <input type="text" disabled class="form-control"
  76. value="{$info.start|default=''}">
  77. </div>
  78. </div>
  79. <div class="form-group">
  80. <label class="col-sm-2 control-label">结束日期</label>
  81. <div class="col-sm-6">
  82. <input type="text" disabled class="form-control"
  83. value="{$info.end|default=''}">
  84. </div>
  85. </div>
  86. <div class="form-group">
  87. <label class="col-sm-2 control-label">订单金额</label>
  88. <div class="col-sm-6">
  89. <input type="text" disabled class="form-control"
  90. value="{$info.amount|default=''}">
  91. </div>
  92. </div>
  93. <div class="form-group">
  94. <label class="col-sm-2 control-label">护工单价</label>
  95. <div class="col-sm-6">
  96. <input type="text" disabled class="form-control"
  97. value="{$info.price|default=''}">
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="col-sm-2 control-label">追加金额</label>
  102. <div class="col-sm-6">
  103. <input type="text" disabled class="form-control"
  104. value="{$info.add_amount|default=''}">
  105. </div>
  106. </div>
  107. {if $info.add_amount > 0 && !empty($info.addOrderInfo)}
  108. <div class="form-group">
  109. <label class="col-sm-2 control-label">追加明细</label>
  110. <div class="col-sm-6">
  111. <table class="table">
  112. <tr>
  113. <th>项目名称</th>
  114. <th>金额</th>
  115. </tr>
  116. {volist name="$info.addOrderInfo" id="i"}
  117. <tr>
  118. <td>{$i.title}</td>
  119. <td>{$i.amount}</td>
  120. </tr>
  121. {/volist}
  122. </table>
  123. </div>
  124. </div>
  125. {/if}
  126. <div class="form-group">
  127. <label class="col-sm-2 control-label">下单日期</label>
  128. <div class="col-sm-6">
  129. <input type="text" disabled class="form-control"
  130. value="{$info.create_time|default=''}">
  131. </div>
  132. </div>
  133. {if !empty($info.pay_time)}
  134. <div class="form-group">
  135. <label class="col-sm-2 control-label">支付日期</label>
  136. <div class="col-sm-6">
  137. <input type="text" disabled class="form-control"
  138. value="{$info.pay_time|default=''}">
  139. </div>
  140. </div>
  141. {/if}
  142. <div class="form-group">
  143. <label class="col-sm-2 control-label">状态</label>
  144. <div class="col-sm-6">
  145. <input type="text" disabled class="form-control"
  146. value="{$info.statusName|default=''}">
  147. </div>
  148. </div>
  149. {if $info.refund_status==1}
  150. <div class="form-group">
  151. <label class="col-sm-2 control-label">退款明细</label>
  152. <div class="col-sm-9">
  153. <table class="table">
  154. <tr>
  155. <th>退款金额</th>
  156. <th>实际退款金额</th>
  157. <th>发起退款时间</th>
  158. <th>退款日期</th>
  159. <th>退款原因</th>
  160. <th>补充描述</th>
  161. <th>备注</th>
  162. </tr>
  163. <tr>
  164. <td>{$info.refundInfo.amount}</td>
  165. <td>{$info.refundInfo.real_amount}</td>
  166. <td>{$info.refundInfo.create_time}</td>
  167. <td>{$info.refundInfo.refund_time}</td>
  168. <td>{$info.refundInfo.reasonInfo}</td>
  169. <td>{$info.refundInfo.desc}</td>
  170. <td>{$info.refundInfo.note}</td>
  171. </tr>
  172. </table>
  173. </div>
  174. </div>
  175. {else}
  176. {if $info.status==5}
  177. <div class="form-group">
  178. <label class="col-sm-2 control-label">取消人类别</label>
  179. <div class="col-sm-6">
  180. {if $info.cancel_type==1}
  181. <input type="text" disabled class="form-control"
  182. value="护工取消">
  183. {/if}
  184. {if $info.cancel_type==2}
  185. <input type="text" disabled class="form-control"
  186. value="用户取消">
  187. {/if}
  188. {if $info.cancel_type==3}
  189. <input type="text" disabled class="form-control"
  190. value="系统取消">
  191. {/if}
  192. </div>
  193. </div>
  194. <div class="form-group">
  195. <label class="col-sm-2 control-label">取消原因</label>
  196. <div class="col-sm-6">
  197. <input type="text" disabled class="form-control"
  198. value="{$info.cancel_reason|default=''}">
  199. </div>
  200. </div>
  201. <div class="form-group">
  202. <label class="col-sm-2 control-label">取消订单日期</label>
  203. <div class="col-sm-6">
  204. <input type="text" disabled class="form-control"
  205. value="{$info.cancel_time|default=''}">
  206. </div>
  207. </div>
  208. {/if}
  209. {if !empty($info.confirm_time)}
  210. <div class="form-group">
  211. <label class="col-sm-2 control-label">护工确认完成日期</label>
  212. <div class="col-sm-6">
  213. <input type="text" disabled class="form-control"
  214. value="{$info.confirm_time|default=''}">
  215. </div>
  216. </div>
  217. {/if}
  218. {if !empty($info.finish_time)}
  219. <div class="form-group">
  220. <label class="col-sm-2 control-label">完成日期</label>
  221. <div class="col-sm-6">
  222. <input type="text" disabled class="form-control"
  223. value="{$info.finish_time|default=''}">
  224. </div>
  225. </div>
  226. {/if}
  227. <div class="form-group">
  228. <label class="col-sm-2 control-label">是否结算</label>
  229. <div class="col-sm-6">
  230. {if $info.settlement==1}
  231. <input type="text" disabled class="form-control"
  232. value="已结算">
  233. {else}
  234. <input type="text" disabled class="form-control"
  235. value="未结算">
  236. {/if}
  237. </div>
  238. </div>
  239. {if !empty($info.settlement_time)}
  240. <div class="form-group">
  241. <label class="col-sm-2 control-label">结算日期</label>
  242. <div class="col-sm-6">
  243. <input type="text" disabled class="form-control"
  244. value="{$info.settlement_time|default=''}">
  245. </div>
  246. </div>
  247. {/if}
  248. <div class="form-group">
  249. <label class="col-sm-2 control-label">是否完工</label>
  250. <div class="col-sm-6">
  251. {if $info.completion==1}
  252. <input type="text" disabled class="form-control"
  253. value="已完工">
  254. {else}
  255. <input type="text" disabled class="form-control"
  256. value="未完工">
  257. {/if}
  258. </div>
  259. </div>
  260. {if !empty($info.completion_time)}
  261. <div class="form-group">
  262. <label class="col-sm-2 control-label">完工日期</label>
  263. <div class="col-sm-6">
  264. <input type="text" disabled class="form-control"
  265. value="{$info.completion_time|default=''}">
  266. </div>
  267. </div>
  268. {/if}
  269. {/if}
  270. <div class="hr-line-dashed"></div>
  271. <div class="form-group">
  272. <div class="col-sm-4 col-sm-offset-2">
  273. <button class="btn btn-primary ajax-post" target-form="form-horizontal" type="submit">确 定</button>
  274. <a href="{:url('index')}" class="btn btn-default">取 消</a>
  275. </div>
  276. </div>
  277. </form>
  278. </div>
  279. </div>
  280. </div>
  281. </div>
  282. {/block}
  283. {block name="script"}
  284. <script type="text/javascript" src="/static/layDate-v5.0.9/laydate.js"></script>
  285. <script>
  286. </script>
  287. {/block}