{extend name="common/common2" /} {block name="main"} <style> .custom-table th,td{ padding: 10px; } .custom-table th{ width: 120px; text-align: left; } </style> <div class="row"> <div class="col-sm-12"> <div class="ibox float-e-margins"> <!--<div class="ibox-title">--> <!--<h5>{$meta_title}</h5>--> <!--<div class="ibox-tools">--> <!--<a class="toback" href="javascript:;history.back(-1)">--> <!--返回上一页--> <!--</a>--> <!--</div>--> <!--</div>--> <div class="ibox-content"> <table class="table custom-table table-bordered"> <tbody> <tr> <th>订单编号</th><td>{$info['order_sn']}</td> </tr> <tr> <th>类型</th><td>{$info['work_type_mode_text']}</td> </tr> {if $info['real_name'] != null || $info['real_name'] != ''} <tr> <th>申请人</th><td>{$info['real_name']}</td> </tr> {/if} <tr> <th>申请时间</th><td>{$info['create_time']}</td> </tr> {if $info['dep'] != null || $info['dep'] != ''} <tr> <th>所在科室/部门</th><td>{$info['dep']}</td> </tr> {/if} <tr> <th>运送类型</th> <td> {if isset($info['oc']['type_name'])} {$info['oc']['type_name']} {/if} </td> </tr> <tr> <th>工单编号</th><td>{$info['sn']}</td> </tr> <tr> <th>执行人</th><td>{$info['to_real_name']}</td> </tr> <tr> <th>备注内容</th><td><div>{$info['content']}</div></td> </tr> <tr> <th>需求时间</th><td><div>{$info['oc']['xq_time']}</div></td> </tr> <tr> <th>应完成时间</th><td><div>{$info['oc']['ywc_time']}</div></td> </tr> <tr> <th>分派时间</th><td><div>{$info['to_create_time']}</div></td> </tr> <tr> <th>接单时间</th><td><div>{$info['confirm_time']}</div></td> </tr> {if !empty($info['done_time'])} <tr> <th>完成时间</th><td>{$info['done_time']}</td> </tr> {/if} <tr> <th>开始地点</th><td><div>{$info['oc']['start_name']}</div></td> </tr> <tr> <th>扫码开始时间</th><td><div>{$info['tco']['start_time']}</div></td> </tr> <tr> <th>结束地点</th><td><div>{$info['oc']['end_name']}</div></td> </tr> <tr> <th>扫码结束时间</th><td><div>{$info['tco']['end_time']}</div></td> </tr> {if isset($info['ocp']['bed_number'])} <tr> <th>床号</th><td>{$info['ocp']['bed_number']}</td> </tr> {/if} {if isset($info['ocp']['name'])} <tr> <th>姓名</th><td>{$info['ocp']['name']}</td> </tr> {/if} {if condition="$info['todo_mode'] eq 2 and $info['pause'] == 1"} <tr> <th>状态</th> <td> 挂起 </td> </tr> <tr> <th>挂起原因</th> <td> {$info['pause_reason']} </td> </tr> <tr> <th>挂起时间</th> <td> {$info['pause_time']} </td> </tr> {if !empty($info.pauseList)} <tr> <th>挂起进度</th> <td> {:widget_view('common/timeline',['name'=>'timeline','lists' => $info.pauseList])} </td> </tr> {/if} {else} <tr> <th>状态</th> <td> {$info['todo_mode_in_content']} </td> </tr> {/if} {if $info['todo_mode'] == 3} <tr> <th>完成用时</th><td>{$info['time_cost']}</td> </tr> {/if} {if !empty($info['to_ok_images'])} <tr> <th>完成图片</th> <td> <p> {foreach $info['to_ok_images'] as $key=>$val} <img onclick="open_img(this)" src="{$val}" width="60" height="60"> {/foreach} </p> </td> </tr> {/if} {if !empty($info['cons'])} <tr> <th>物料</th> <td> <table class="table table-bordered"> <thead> <tr> <th>名称</th> <th>数量</th> <th>单价</th> <th>总价</th> <th>使用人员</th> </tr> </thead> <tbody> {volist name="info['cons']" id="v"} <tr> <td>{$v.title}</td> <td>{$v.total}</td> <td>{$v.money}</td> <td>{$v.total_money}</td> <td>{$v.realName}</td> </tr> {/volist} </tbody> </table> </td> </tr> {/if} {if in_array($info['todo_mode'],[1,2,4])} <tr> <th>操作</th><td> {if $info.todo_mode==4} <a url="{:url('send',[],'')}/id/{$info['id']}/mode/{$info['work_type_mode']}" href="javascript:;" onclick="layer_open(this,2)"><span class="btn btn-sm btn-primary">重新分配</span></a> {/if} <a {if !btnAuth(session("user_auth.id"),"Todo/cancel")} style="display:none" {/if} url="{:url('disCancel',[],'')}/id/{$info['id']}" href="javascript:;" onclick="layer_open(this,2)"><span class="btn btn-sm btn-default">取消</span></a> {if $info.todo_mode==1||$info.todo_mode==2} <!-- <a href="{:url('finish',[],'')}/id/{$info['id']}" class="confirm ajax-get" data-confirm="是否确认完成?" data-reload="1"><span class="btn btn-sm btn-primary" title="完成">完成</span></a>--> {/if} </td> </tr> {/if} </tbody> </table> </div> </div> </div> </div> {/block} {block name="script"} {/block}