|
@@ -1,21 +1,26 @@
|
|
|
<template>
|
|
|
<div class="padding-20">
|
|
|
<div class="search-box">
|
|
|
- <el-form ref="form" :inline="true" :model="searchForm" clearable label-width="100px" class="mt-10">
|
|
|
- <el-form-item label="创建时间:">
|
|
|
+ <el-form
|
|
|
+ ref="form"
|
|
|
+ :inline="true"
|
|
|
+ :model="searchForm"
|
|
|
+ clearable
|
|
|
+ class="mt-10">
|
|
|
+ <el-form-item label="订单编号:">
|
|
|
+ <el-input v-model="searchForm.order_number" placeholder="请输入订单编号" clearable></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="订单创建时间:">
|
|
|
<el-date-picker
|
|
|
:editable="false"
|
|
|
v-model="time"
|
|
|
- @change="timearr => {timearr ? (searchForm.start_time = timearr[0] + ' 00:00:00', searchForm.end_time = timearr[1] + ' 23:59:59') : searchForm.start_time = searchForm.end_time = undefined}"
|
|
|
+ @change="timearr => {timearr ? (searchForm.order_start_time = timearr[0] + ' 00:00:00', searchForm.order_end_time = timearr[1] + ' 23:59:59') : searchForm.order_start_time = searchForm.order_end_time = undefined}"
|
|
|
type="daterange"
|
|
|
value-format="yyyy-MM-dd"
|
|
|
start-placeholder="开始时间"
|
|
|
end-placeholder="结束时间"
|
|
|
></el-date-picker>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="部门名称:">
|
|
|
- <el-input v-model="searchForm.department_name" placeholder="请输入部门名称" clearable></el-input>
|
|
|
- </el-form-item>
|
|
|
<el-form-item class="ml-10">
|
|
|
<el-button icon="el-icon-search" type="primary" @click="searchSubmit">查询</el-button>
|
|
|
</el-form-item>
|
|
@@ -29,6 +34,7 @@
|
|
|
border
|
|
|
:max-height="vheight">
|
|
|
<el-table-column label="订单ID" prop="id"></el-table-column>
|
|
|
+ <el-table-column label="订单编号" prop="order_number"></el-table-column>
|
|
|
<el-table-column label="桌号" prop="place_number"></el-table-column>
|
|
|
<el-table-column label="点单用户" prop="order_user_name"></el-table-column>
|
|
|
<el-table-column label="手机号" prop="order_user_phone"></el-table-column>
|