Files
PropertyDeployment/resources/Web/MicroCommunityWeb/html/pages/reserve/reserveOrder/reserveOrder.html
2025-12-09 20:22:03 +08:00

187 lines
12 KiB
HTML

<div>
<div class="row">
<div class="col-md-2 padding-r-0">
<div class=" border-radius ">
<div class="margin-xs-r treeview attendance-staff">
<ul class="list-group text-center border-radius">
<!-- -->
<li class="list-group-item node-orgTree "
:class="{'vc-node-selected':reserveOrderInfo.conditions.type=='1001'}"
@click="_changeType('1001')">
<vc:i18n name="就餐订单" namespace="reserveOrder"></vc:i18n>
</li>
<li class="list-group-item node-orgTree "
:class="{'vc-node-selected':reserveOrderInfo.conditions.type=='2002'}"
@click="_changeType('2002')">
<vc:i18n name="服务订单" namespace="reserveOrder"></vc:i18n>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-10">
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-title">
<h5><span>
<vc:i18n name="查询条件" namespace="reserveOrder"></vc:i18n>
</span></h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<input type="text" :placeholder="vc.i18n('请选择预约时间','reserveOrder')"
v-model="reserveOrderInfo.conditions.appointmentTime" class=" form-control">
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<input type="text" :placeholder="vc.i18n('请选择预约人','reserveOrder')"
v-model="reserveOrderInfo.conditions.personName" class=" form-control">
</div>
</div>
<div class="col-sm-3">
<div class="form-group">
<input type="text" :placeholder="vc.i18n('请选择预约电话','reserveOrder')"
v-model="reserveOrderInfo.conditions.personTel" class=" form-control">
</div>
</div>
<div class="col-sm-1">
<button type="button" class="btn btn-primary btn-sm"
v-on:click="_queryReserveOrderPersonMethod()">
<i class="glyphicon glyphicon-search"></i> <span>
<vc:i18n name="查询" namespace="reserveOrder"></vc:i18n>
</span>
</button>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<select class="custom-select" v-model="reserveOrderInfo.conditions.state">
<option selected value="">{{vc.i18n('请选择状态','reserveOrder')}}</option>
<option value="S">{{vc.i18n('预约成功','reserveOrder')}}</option>
<option value="F">{{vc.i18n('预约失败','reserveOrder')}}</option>
<option value="W">{{vc.i18n('待审核','reserveOrder')}}</option>
<option value="F">{{vc.i18n('待支付','reserveOrder')}}</option>
</select>
</div>
<div class="col-sm-4">
<input type="text" :placeholder="vc.i18n('请输入名称','reserveOrder')"
v-model="reserveOrderInfo.conditions.goodsNameLike" class=" form-control">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="ibox">
<div class="ibox-title">
<h5><span v-if="reserveOrderInfo.conditions.type=='1001'">
<vc:i18n name="就餐订单" namespace="reserveOrder"></vc:i18n>
</span><span v-else>
<vc:i18n name="服务订单" namespace="reserveOrder"></vc:i18n>
</span></h5>
<div class="ibox-tools" style="top:10px;">
</div>
</div>
<div class="ibox-content">
<table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
<thead>
<tr>
<th class="text-center"><span>
<vc:i18n name='订单编号' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='名称' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='预约人' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='预约电话' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='预约日期' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='预约时间' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='应收金额' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='实收金额' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='支付方式' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='状态' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='预约时间' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='备注' namespace='reserveOrder'></vc:i18n>
</span></th>
<th class="text-center"><span>
<vc:i18n name='操作' namespace="reserveOrder"></vc:i18n>
</span></th>
</tr>
</thead>
<tbody>
<tr v-for="order in reserveOrderInfo.orders">
<td class="text-center">{{order.orderId}}</td>
<td class="text-center">{{order.goodsName}}</td>
<td class="text-center">{{order.personName}}</td>
<td class="text-center">{{order.personTel}}</td>
<td class="text-center">{{order.appointmentTime}}</td>
<td class="text-center">
<span
v-for="(time,index) in order.times">{{time.hours}}时
<span v-if="order.type=='1001'">({{time.quantity}}个)</span>,</span>
</td>
<td class="text-center">{{order.receivableAmount}}</td>
<td class="text-center">{{order.receivedAmount}}</td>
<td class="text-center">{{order.payWayName}}</td>
<td class="text-center">{{order.stateName}}</td>
<td class="text-center">{{order.createTime}}</td>
<td class="text-center">{{order.remark}}</td>
<td class="text-center">
<div class="btn-group" v-if="order.state == 'S'">
<button class="btn-white btn btn-xs"
v-on:click="_openDeleteReserveOrderPersonModel(order)"><span>
<vc:i18n name='取消预约' namespace="reserveOrder"></vc:i18n>
</span></button>
</div>
</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="7">
<ul class="pagination float-right"></ul>
</td>
</tr>
</tfoot>
</table>
<!-- 分页 -->
<vc:create path="frame/pagination"></vc:create>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- <vc:create path="property/deleteReserveOrderPerson"></vc:create> -->
</div>