同步订单状态
This commit is contained in:
parent
a7e664430b
commit
f45ac13997
|
@ -571,39 +571,39 @@
|
|||
</el-dialog>
|
||||
|
||||
<el-dialog title="确认接单" :visible.sync="orderConfirmDialogVisible">
|
||||
<el-form label-width="130px" :model="item">
|
||||
<el-form label-width="130px" :model="confirmItem">
|
||||
<el-form-item label="产品名称">
|
||||
{{ item.product_name }}
|
||||
{{ confirmItem.product_name }}
|
||||
</el-form-item>
|
||||
<el-row>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="产品状态">
|
||||
{{ item.order_status_name }}
|
||||
{{ confirmItem.order_status_name }}
|
||||
</el-form-item>
|
||||
<el-form-item label="数量">
|
||||
{{ item.quantity }}
|
||||
{{ confirmItem.quantity }}
|
||||
</el-form-item>
|
||||
<el-form-item label="手机">
|
||||
{{ item.mobile }}
|
||||
{{ confirmItem.mobile }}
|
||||
</el-form-item>
|
||||
<el-form-item label="下单时间">
|
||||
{{ item.create_at | parseTime("{y}-{m}-{d} {h}:{i}") }}
|
||||
{{ confirmItem.create_at | parseTime("{y}-{m}-{d} {h}:{i}") }}
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item v-if="item.dyOrderAppointments.number_of_guests" label="人员">
|
||||
<el-form-item v-if="confirmItem.dyOrderAppointments.number_of_guests" label="人员">
|
||||
<el-row>
|
||||
<el-col :span="3">大人</el-col>
|
||||
<el-col :span="5"
|
||||
><el-input
|
||||
v-model="item.dyOrderAppointments.number_of_guests.adult"
|
||||
v-model="confirmItem.dyOrderAppointments.number_of_guests.adult"
|
||||
name="adult"
|
||||
placeholder="大人"
|
||||
/></el-col>
|
||||
<el-col :span="3">小孩</el-col>
|
||||
<el-col :span="5"
|
||||
><el-input
|
||||
v-model="item.dyOrderAppointments.number_of_guests.child"
|
||||
v-model="confirmItem.dyOrderAppointments.number_of_guests.child"
|
||||
name="child"
|
||||
placeholder="小孩"
|
||||
/></el-col>
|
||||
|
@ -611,19 +611,19 @@
|
|||
</el-form-item>
|
||||
|
||||
<el-form-item label="出游日期">
|
||||
{{ item.dyOrderAppointments.book_info.book_start_date }}
|
||||
{{ confirmItem.dyOrderAppointments.book_info.book_start_date }}
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="返回日期">
|
||||
{{ item.dyOrderAppointments.book_info.book_end_date }}
|
||||
{{ confirmItem.dyOrderAppointments.book_info.book_end_date }}
|
||||
</el-form-item>
|
||||
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-form-item label="预约详情">
|
||||
<el-table
|
||||
v-if="item.dyOrderAppointments.book_info.occupancies"
|
||||
:data="item.dyOrderAppointments.book_info.occupancies"
|
||||
v-if="confirmItem.dyOrderAppointments.book_info.occupancies"
|
||||
:data="confirmItem.dyOrderAppointments.book_info.occupancies"
|
||||
style="width: 100%;margin-bottom: 0;">
|
||||
<el-table-column
|
||||
prop="name"
|
||||
|
@ -640,8 +640,8 @@
|
|||
</el-form>
|
||||
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="dyOrderConfirm(item, 1)">确认接单</el-button>
|
||||
<el-button type="primary" @click="dyOrderConfirm(item, 2)">拒绝</el-button>
|
||||
<el-button type="primary" @click="dyOrderConfirm(confirmItem, 1)">确认接单</el-button>
|
||||
<el-button type="primary" @click="dyOrderConfirm(confirmItem, 2)">拒绝</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
||||
|
@ -767,7 +767,8 @@ export default {
|
|||
os_status: [],
|
||||
appointment_status: "",
|
||||
},
|
||||
item: { next_follow: "", personnel: { adult: "" }, dyOrderAppointments:{book_info:{}} },
|
||||
item: { next_follow: "", personnel: {} },
|
||||
confirmItem: { next_follow: "", personnel: { adult: "" }, dyOrderAppointments:{book_info:{}, number_of_guests:{}} },
|
||||
follow: [],
|
||||
|
||||
dialogVisible: false,
|
||||
|
@ -934,7 +935,7 @@ export default {
|
|||
this.$axios
|
||||
.get("/admin/order/info", { params: { id: item.id } })
|
||||
.then((res) => {
|
||||
this.item = res.data;
|
||||
this.confirmItem = res.data;
|
||||
this.orderConfirmDialogVisible = true;
|
||||
})
|
||||
.catch((err) => {});
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-553f6d94]{position:relative;padding-bottom:60px}.el-table[data-v-553f6d94],.filter-container[data-v-553f6d94]{padding-bottom:5px}
|
||||
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-f0395e36]{position:relative;padding-bottom:60px}.el-table[data-v-f0395e36],.filter-container[data-v-f0395e36]{padding-bottom:5px}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue