110 lines
6.1 KiB
HTML
110 lines
6.1 KiB
HTML
<div class="row">
|
|
<div class="col-md-4">
|
|
<!-- 订单信息标题 -->
|
|
<div class="row order-header">
|
|
<div class="col-xs-12">
|
|
<h2>订单详情</h2>
|
|
<p><strong>订单编号:</strong> {$row.order_no}</p>
|
|
<p><strong>顾客信息:</strong> {$row.customer} 电话:{$row.tel}</p>
|
|
<p><strong>订单来源:</strong> {$row.source_shop} 单号:{$row.source_uid} </p>
|
|
<p><strong>区域:</strong> {$row.area_name}</p>
|
|
<p><strong>地址:</strong> {$row.address}</p>
|
|
<p><strong>订单类型:</strong> {$row.item_title}</p>
|
|
<p><strong>订单详情:</strong> {$row.detail}</p>
|
|
<p><strong>订单备注:</strong> {$row.remark}</p>
|
|
<!-- <p><strong>收款方式:</strong> {$row.receive_type == 1 ? '定金':'全款'}</p>-->
|
|
<!-- <p><strong>线上预付:</strong> {$row.online_amount}</p>-->
|
|
</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-4 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-4 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>
|
|
<div class="form-group layer-footer">
|
|
<label class="control-label col-xs-12 col-sm-4"></label>
|
|
<div class="col-xs-12 col-sm-8">
|
|
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
|
|
</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-8">
|
|
<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>师傅选择</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-xs-12 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-xs-12 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-value="{$row.item_title}" value="{$row.item_id}" 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> |