123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299 |
- {extend name="common/common2" /}
- {block name="main"}
- <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="{:url('index')}">
- 返回上一页
- </a>
- </div>
- </div>
- <input type="hidden" id="is_first" value="{$info['id']|default='0'}">
- <div class="ibox-content">
- <form method="post" action="{:url('add')}" class="form-horizontal">
- <input type="hidden" name="id" value="{$info['id']|default='0'}">
- <div class="form-group">
- <label class="col-sm-2 control-label">订单号</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.sn|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">用户</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.userInfo.nickname|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">护工</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.workerInfo.name|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">陪护项目</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.cateInfo.title|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">联系人</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.name|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">电话</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.phone|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">地址</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.address|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">所患疾病</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.ill|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">自理能力</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control" value="{$info.selfcareInfo|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">开始日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.start|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">结束日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.end|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">订单金额</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.amount|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">护工单价</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.price|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">追加金额</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.add_amount|default=''}">
- </div>
- </div>
- {if $info.add_amount > 0 && !empty($info.addOrderInfo)}
- <div class="form-group">
- <label class="col-sm-2 control-label">追加明细</label>
- <div class="col-sm-6">
- <table class="table">
- <tr>
- <th>项目名称</th>
- <th>金额</th>
- </tr>
- {volist name="$info.addOrderInfo" id="i"}
- <tr>
- <td>{$i.title}</td>
- <td>{$i.amount}</td>
- </tr>
- {/volist}
- </table>
- </div>
- </div>
- {/if}
- <div class="form-group">
- <label class="col-sm-2 control-label">下单日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.create_time|default=''}">
- </div>
- </div>
- {if !empty($info.pay_time)}
- <div class="form-group">
- <label class="col-sm-2 control-label">支付日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.pay_time|default=''}">
- </div>
- </div>
- {/if}
- <div class="form-group">
- <label class="col-sm-2 control-label">状态</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.statusName|default=''}">
- </div>
- </div>
- {if $info.refund_status==1}
- <div class="form-group">
- <label class="col-sm-2 control-label">退款明细</label>
- <div class="col-sm-9">
- <table class="table">
- <tr>
- <th>退款金额</th>
- <th>实际退款金额</th>
- <th>发起退款时间</th>
- <th>退款日期</th>
- <th>退款原因</th>
- <th>补充描述</th>
- <th>备注</th>
- </tr>
- <tr>
- <td>{$info.refundInfo.amount}</td>
- <td>{$info.refundInfo.real_amount}</td>
- <td>{$info.refundInfo.create_time}</td>
- <td>{$info.refundInfo.refund_time}</td>
- <td>{$info.refundInfo.reasonInfo}</td>
- <td>{$info.refundInfo.desc}</td>
- <td>{$info.refundInfo.note}</td>
- </tr>
- </table>
- </div>
- </div>
- {else}
- {if $info.status==5}
- <div class="form-group">
- <label class="col-sm-2 control-label">取消人类别</label>
- <div class="col-sm-6">
- {if $info.cancel_type==1}
- <input type="text" disabled class="form-control"
- value="护工取消">
- {/if}
- {if $info.cancel_type==2}
- <input type="text" disabled class="form-control"
- value="用户取消">
- {/if}
- {if $info.cancel_type==3}
- <input type="text" disabled class="form-control"
- value="系统取消">
- {/if}
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">取消原因</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.cancel_reason|default=''}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">取消订单日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.cancel_time|default=''}">
- </div>
- </div>
- {/if}
- {if !empty($info.confirm_time)}
- <div class="form-group">
- <label class="col-sm-2 control-label">护工确认完成日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.confirm_time|default=''}">
- </div>
- </div>
- {/if}
- {if !empty($info.finish_time)}
- <div class="form-group">
- <label class="col-sm-2 control-label">完成日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.finish_time|default=''}">
- </div>
- </div>
- {/if}
- <div class="form-group">
- <label class="col-sm-2 control-label">是否结算</label>
- <div class="col-sm-6">
- {if $info.settlement==1}
- <input type="text" disabled class="form-control"
- value="已结算">
- {else}
- <input type="text" disabled class="form-control"
- value="未结算">
- {/if}
- </div>
- </div>
- {if !empty($info.settlement_time)}
- <div class="form-group">
- <label class="col-sm-2 control-label">结算日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.settlement_time|default=''}">
- </div>
- </div>
- {/if}
- <div class="form-group">
- <label class="col-sm-2 control-label">是否完工</label>
- <div class="col-sm-6">
- {if $info.completion==1}
- <input type="text" disabled class="form-control"
- value="已完工">
- {else}
- <input type="text" disabled class="form-control"
- value="未完工">
- {/if}
- </div>
- </div>
- {if !empty($info.completion_time)}
- <div class="form-group">
- <label class="col-sm-2 control-label">完工日期</label>
- <div class="col-sm-6">
- <input type="text" disabled class="form-control"
- value="{$info.completion_time|default=''}">
- </div>
- </div>
- {/if}
- {/if}
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-4 col-sm-offset-2">
- <button class="btn btn-primary ajax-post" target-form="form-horizontal" type="submit">确 定</button>
- <a href="{:url('index')}" class="btn btn-default">取 消</a>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script type="text/javascript" src="/static/layDate-v5.0.9/laydate.js"></script>
- <script>
- </script>
- {/block}
|