|  |  |  | 
|---|
|  |  |  | <!-- 搜索表单 --> | 
|---|
|  |  |  | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> | 
|---|
|  |  |  | <el-form-item label="订单号" prop="releaseMemberId"> | 
|---|
|  |  |  | <el-input v-model="searchForm.code" style="width: 120px"  placeholder="请输入订单号" @keypress.enter.native="search"></el-input> | 
|---|
|  |  |  | <el-input v-model="searchForm.code" style="width: 120px"  clearable placeholder="请输入订单号" @keypress.enter.native="search"></el-input> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="接单方" prop="acceptName"> | 
|---|
|  |  |  | <el-input v-model="searchForm.acceptName" style="width: 120px"  placeholder="请输入接单方" @keypress.enter.native="search"></el-input> | 
|---|
|  |  |  | <el-input v-model="searchForm.acceptName" style="width: 120px"  clearable placeholder="请输入名称" @keypress.enter.native="search"></el-input> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="发单方" prop="releaseName"> | 
|---|
|  |  |  | <el-input v-model="searchForm.releaseName" style="width: 120px"  placeholder="请输入发单方" @keypress.enter.native="search"></el-input> | 
|---|
|  |  |  | <el-input v-model="searchForm.releaseName" style="width: 120px"  clearable placeholder="请输入名称" @keypress.enter.native="search"></el-input> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="订单类型" prop="type"> | 
|---|
|  |  |  | <el-select v-model="searchForm.type"  style="width: 120px"  @keypress.enter.native="search" clearable placeholder="订单类型"> | 
|---|
|  |  |  | 
|---|
|  |  |  | </el-select> | 
|---|
|  |  |  | </el-form-item> | 
|---|
|  |  |  | <el-form-item label="订单状态" prop="status"> | 
|---|
|  |  |  | <el-select v-model="searchForm.status" style="width: 120px"  @keypress.enter.native="search" clearable placeholder="状态"> | 
|---|
|  |  |  | <el-select v-model="searchForm.status" style="width: 100px"  @keypress.enter.native="search" clearable placeholder="状态"> | 
|---|
|  |  |  | <el-option label="待支付" :value="0"></el-option> | 
|---|
|  |  |  | <el-option label="待接单" :value="1"></el-option> | 
|---|
|  |  |  | <el-option label="已接单" :value="2"></el-option> | 
|---|
|  |  |  | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column prop="orderContent" label="订单内容"  width="200px" :show-overflow-tooltip='true'></el-table-column> | 
|---|
|  |  |  | <el-table-column prop="releaseName" label="发单方"  width="200px"> | 
|---|
|  |  |  | <el-table-column prop="releaseName" label="发单方"  min-width="100px" :show-overflow-tooltip='true'> | 
|---|
|  |  |  | <template slot-scope="{row}"> | 
|---|
|  |  |  | {{(row.releaseName||'匿名') +' - ' +(row.releasePhone||'无')  }} | 
|---|
|  |  |  | <span v-if="row.releaseName || row.releasePhone">{{(row.releaseName||'') +' - ' +(row.releasePhone||'')  }}</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column prop="acceptName" label="接单方" width="200px"> | 
|---|
|  |  |  | <el-table-column prop="acceptName" label="接单方" min-width="100px" :show-overflow-tooltip='true'> | 
|---|
|  |  |  | <template slot-scope="{row}"> | 
|---|
|  |  |  | {{(row.acceptName||'匿名') +' - ' +(row.acceptPhone ||'无')  }} | 
|---|
|  |  |  | <span v-if="row.acceptName || row.acceptPhone">{{(row.acceptName||'') +' - ' +(row.acceptPhone ||'')  }}</span> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | <el-table-column prop="createTime" label="发布时间" min-width="150px"></el-table-column> | 
|---|
|  |  |  | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | this.search() | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | reset () { | 
|---|
|  |  |  | this.searchForm = { | 
|---|
|  |  |  | acceptName: null, | 
|---|
|  |  |  | releaseName: null, | 
|---|
|  |  |  | type: null, | 
|---|
|  |  |  | createTimeEnd: null, | 
|---|
|  |  |  | createTimeStart: null, | 
|---|
|  |  |  | acceptTimeStart: null, | 
|---|
|  |  |  | acceptTimeEnd: null, | 
|---|
|  |  |  | doneTimeStart: null, | 
|---|
|  |  |  | doneTimeEnd: null, | 
|---|
|  |  |  | status: null, | 
|---|
|  |  |  | code: null | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.search() | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | openDetail (row) { | 
|---|
|  |  |  | this.$refs.OperaOrderDetailWindow.open('订单详情', row ) | 
|---|
|  |  |  | 
|---|
|  |  |  | .finally(() => { | 
|---|
|  |  |  | this.dealing = false | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | }) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|