|
|
@@ -126,6 +126,8 @@ |
|
|
|
</el-form> |
|
|
|
<div> |
|
|
|
<div class="header-search" style="width: 100%;margin-bottom: 10px"> |
|
|
|
<span>主订单ID:</span> |
|
|
|
<el-input v-model="orderMainListSearch.order_id" style="width: 120px;" placeholder="请输入内容"></el-input> |
|
|
|
<span>子订单ID:</span> |
|
|
|
<el-input v-model="orderMainListSearch.sub_order_id" style="width: 120px;" placeholder="请输入内容"></el-input> |
|
|
|
<span>订单类型:</span> |
|
|
@@ -139,8 +141,27 @@ |
|
|
|
</el-select> |
|
|
|
<span>用户名</span> |
|
|
|
<el-input v-model="orderMainListSearch.customer_name" style="width: 120px;" placeholder="请输入内容" clearable></el-input> |
|
|
|
</div> |
|
|
|
<div class="header-search" style="width: 100%;margin-bottom: 10px"> |
|
|
|
|
|
|
|
</el-input> |
|
|
|
<span>附加项目</span> |
|
|
|
<el-select v-model="orderMainListSearch.item_id" style="width: 120px;" placeholder="请选择" clearable> |
|
|
|
<el-option |
|
|
|
v-for="item in itemList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.name" |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<span>酒店</span> |
|
|
|
<el-select v-model="orderMainListSearch.hotel_id" style="width: 120px;" placeholder="请选择" clearable> |
|
|
|
<el-option |
|
|
|
v-for="item in hotelList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.name" |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<span>确认单状态:</span> |
|
|
|
<el-select v-model="orderMainListSearch.confirm_status" style="width: 120px;" placeholder="请选择" clearable> |
|
|
|
<el-option |
|
|
@@ -170,15 +191,13 @@ |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="header-search" style="width: 100%;margin-bottom: 10px"> |
|
|
|
<span>主订单ID:</span> |
|
|
|
<el-input v-model="orderMainListSearch.order_id" style="width: 120px;" placeholder="请输入内容"></el-input> |
|
|
|
<span>成本</span> |
|
|
|
<el-input-number v-model="orderMainListSearch.startMoney" style="width: 170px;" placeholder="请输入内容" clearable></el-input-number> |
|
|
|
<el-input-number v-model="orderMainListSearch.startMoney" style="width: 180px;" placeholder="请输入内容" clearable></el-input-number> |
|
|
|
~ |
|
|
|
<el-input-number v-model="orderMainListSearch.endMoney" style="width: 170px;" placeholder="请输入内容" clearable></el-input-number> |
|
|
|
<el-input-number v-model="orderMainListSearch.endMoney" style="width: 180px;" placeholder="请输入内容" clearable></el-input-number> |
|
|
|
<span>时间</span> |
|
|
|
<el-date-picker |
|
|
|
style="width: 120px;" |
|
|
|
style="width: 180px;" |
|
|
|
v-model="orderMainListSearch.startTime" |
|
|
|
type="date" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
@@ -186,30 +205,12 @@ |
|
|
|
</el-date-picker> |
|
|
|
~ |
|
|
|
<el-date-picker |
|
|
|
style="width: 120px;" |
|
|
|
style="width: 180px;" |
|
|
|
v-model="orderMainListSearch.endTime" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
type="date" |
|
|
|
placeholder="选择日期"> |
|
|
|
</el-date-picker> |
|
|
|
<span>附加项目</span> |
|
|
|
<el-select v-model="orderMainListSearch.item_id" style="width: 120px;" placeholder="请选择" clearable> |
|
|
|
<el-option |
|
|
|
v-for="item in itemList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.name" |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<span>酒店</span> |
|
|
|
<el-select v-model="orderMainListSearch.hotel_id" style="width: 120px;" placeholder="请选择" clearable> |
|
|
|
<el-option |
|
|
|
v-for="item in hotelList" |
|
|
|
:key="item.id" |
|
|
|
:label="item.name" |
|
|
|
:value="item.id"> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<el-button type="primary" icon="el-icon-search" @click="getOrderMainData(1)">搜索</el-button> |
|
|
|
</div> |
|
|
|
<div> |
|
|
@@ -220,8 +221,8 @@ |
|
|
|
<el-table-column label="订单类型" min-width="30" :formatter="getProdTypeName" ></el-table-column> |
|
|
|
<el-table-column prop="supplier_name" label="供应商" min-width="40" ></el-table-column> |
|
|
|
<el-table-column prop="trade_order_number" label="第三方订单号" min-width="40" ></el-table-column> |
|
|
|
<el-table-column prop="hotel_name" label="酒店/附加项目" min-width="60" ></el-table-column> |
|
|
|
<el-table-column prop="room_name" label="房型/附加项目" min-width="60" ></el-table-column> |
|
|
|
<el-table-column prop="hotel_name" label="酒店/附加项目" min-width="80" ></el-table-column> |
|
|
|
<el-table-column prop="room_name" label="房型/附加项目" min-width="80" ></el-table-column> |
|
|
|
<el-table-column prop="plan_name" label="价格方案/计价单位" min-width="40" ></el-table-column> |
|
|
|
<el-table-column prop="check_in_date" label="时间" min-width="40" > |
|
|
|
<template slot-scope="scope"> |
|
|
@@ -231,7 +232,7 @@ |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="count" label="数量" min-width="20" ></el-table-column> |
|
|
|
<el-table-column prop="customer_name" label="出游人姓名" min-width="40" ></el-table-column> |
|
|
|
<el-table-column prop="total_cost" label="总成本" min-width="40" ></el-table-column> |
|
|
|
<el-table-column prop="total_cost" label="总成本" min-width="30" ></el-table-column> |
|
|
|
<el-table-column label="发单状态" min-width="30" :formatter="confirmStatusName"></el-table-column> |
|
|
|
<el-table-column prop="create_time" label="子订单生成时间" min-width="60" ></el-table-column> |
|
|
|
<el-table-column prop="payment_order_name" label="付款单" min-width="40" > |
|
|
|