139 lines
6.8 KiB
HTML
139 lines
6.8 KiB
HTML
<div class="row">
|
|
<div class="col-md-12">
|
|
<!-- 订单信息标题 -->
|
|
<div class="row order-header">
|
|
<div class="col-xs-12">
|
|
<h2>订单详情</h2>
|
|
<table class="table table-bordered table-striped">
|
|
<tbody>
|
|
<tr>
|
|
<th>订单编号</th>
|
|
<td>{$row.order_no}</td>
|
|
<th>顾客信息</th>
|
|
<td>{$row.customer}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>电话</th>
|
|
<td>{$row.tel}</td>
|
|
<th>订单来源</th>
|
|
<td>{$row.source_shop}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>来源单号</th>
|
|
<td>{$row.source_uid}</td>
|
|
<th>区域</th>
|
|
<td>{$row.area_name}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>地址</th>
|
|
<td colspan="3">{$row.address}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>订单类型</th>
|
|
<td>{$row.item_title}</td>
|
|
<th>订单详情</th>
|
|
<td>{$row.detail}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>订单备注</th>
|
|
<td colspan="3">{$row.remark}</td>
|
|
</tr>
|
|
<!--
|
|
<tr>
|
|
<th>收款方式</th>
|
|
<td>{$row.receive_type == 1 ? '定金' : '全款'}</td>
|
|
<th>线上预付</th>
|
|
<td>{$row.online_amount}</td>
|
|
</tr>
|
|
-->
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<form id="add-form" class="form-horizontal col-xs-12" role="form" data-toggle="validator" method="POST" action="">
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2 text-left" style="text-align: left">师傅名称:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-worker_name" disabled data-rule="required" class="form-control" name="row[worker_name]" type="text">
|
|
<input id="c-worker_id" class="form-control" style="display: none" name="row[worker_id]" type="text">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="control-label col-xs-12 col-sm-2 text-left" style="text-align: left">{:__('Plan_time')}:</label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[plan_time]" type="text" value="{:date('Y-m-d H:i:s')}">
|
|
</div>
|
|
</div>
|
|
<input style="display: none" class="form-control" name="row[order_id]" type="text" value="{$row->id}">
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12">
|
|
<div class="panel panel-default panel-intro">
|
|
<div class="panel-body">
|
|
<div id="myTabContent" class="tab-content">
|
|
<div class="tab-pane fade active in" id="one">
|
|
<div class="widget-body no-padding">
|
|
<h3>师傅选择 <button class="btn btn-info" id="add_worker">添加新师傅</button> </h3>
|
|
<!-- <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>-->
|
|
|
|
<form id="select-form" role="form" class="form-horizontal" data-toggle="validator" method="POST" action="">
|
|
<div class="form-group">
|
|
<label class="col-sm-2" style="padding-left: 0px;text-align: left">区域:</label>
|
|
<div style="display: inline-block;width: 300px;position: absolute">
|
|
<input id="c-city-search" data-rule="required" class="form-control" data-toggle="city-picker" value="{$row.area_name}" type="text" />
|
|
<input id="area_id" style="display: none" class="form-control" name="area_id" hidden type="text" value="{$row.area_id}" />
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-sm-2" style="text-align: left;padding-left: 0px;">工种:</label>
|
|
<div style="width: 300px;display: inline-block;">
|
|
<input type="text" id="item_id" name="item_id" data-myvalue="{$row.item_id}" value="{$row.item_title}" data-value="{$row.item_title}" class="zd-input__inner">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-xs-12 col-sm-2" style="padding-left: 0px;text-align: left">关键字:</label>
|
|
<div style="display: inline-block;width: 300px;position: absolute">
|
|
<input id="keyword" class="form-control" style="width: 100%;height: 32px" placeholder="名称或电话号码搜索" name="keyword" type="text" value="" />
|
|
</div>
|
|
</div>
|
|
<p id="search_btn" class="btn btn-primary">搜索</p>
|
|
<p id="reset_btn" class="btn btn-primary">清空</p>
|
|
</form>
|
|
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
|
|
width="100%">
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<link rel="stylesheet" href="/assets/css/select.css">
|
|
<style>
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
width: 100%;
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
|
|
margin: 6px 12px;
|
|
}
|
|
#select-form .form-group{
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
</style>
|
|
<script>
|
|
var items = {:json_encode($items); };
|
|
</script> |