优化就餐

This commit is contained in:
Your Name 2023-05-31 23:33:46 +08:00
parent 6f75768e2e
commit a8389d29db
5 changed files with 18 additions and 46 deletions

View File

@ -60,8 +60,8 @@
let _json = JSON.parse(json); let _json = JSON.parse(json);
$that.dataReportEarnedDetailStatisticsInfo.fees = _json.data; $that.dataReportEarnedDetailStatisticsInfo.fees = _json.data;
vc.emit('dataReportEarnedDetailStatistics', 'paginationPlus', 'init', { vc.emit('dataReportEarnedDetailStatistics', 'paginationPlus', 'init', {
total: _roomInfo.records, total: _json.records,
dataCount: _roomInfo.total, dataCount: _json.total,
currentPage: _page currentPage: _page
}); });
let _feeAmount = 0.0; let _feeAmount = 0.0;

View File

@ -54,8 +54,8 @@
let _json = JSON.parse(json); let _json = JSON.parse(json);
$that.dataReportEarnedStatisticsInfo.fees = _json.data; $that.dataReportEarnedStatisticsInfo.fees = _json.data;
vc.emit('dataReportEarnedStatistics', 'paginationPlus', 'init', { vc.emit('dataReportEarnedStatistics', 'paginationPlus', 'init', {
total: _roomInfo.records, total: _json.records,
dataCount: _roomInfo.total, dataCount: _json.total,
currentPage: _page currentPage: _page
}); });
let _feeAmount = 0.0; let _feeAmount = 0.0;

View File

@ -19,7 +19,7 @@
<thead> <thead>
<tr> <tr>
<template v-for="(item,index) in dataReportEarnedWayStatisticsInfo.fees"> <template v-for="(item,index) in dataReportEarnedWayStatisticsInfo.fees">
<th> <th class="text-center">
{{item.name}} {{item.name}}
</th> </th>
</template> </template>
@ -29,7 +29,7 @@
<tr> <tr>
<template v-for="(item,index) in dataReportEarnedWayStatisticsInfo.fees"> <template v-for="(item,index) in dataReportEarnedWayStatisticsInfo.fees">
<td class="text-center" > <td class="text-center" >
{{fee['oweFee'+item.statusCd] || 0}} {{item.receivedAmount || 0}}
</td> </td>
</template> </template>
</tr> </tr>

View File

@ -1,45 +1,18 @@
<div> <div>
<div> <div>
<div > <div >
<!-- <div class="row"> <div class="row" style="color:#000;font-size:14px">
<div class="col-sm-4"> <div class="col-sm-4">
<span><span><vc:i18n name="报修单号" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairId}}</span> <span><vc:i18n name="报修单号:" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairId}}
</div>
<div class="col-sm-4">
<span><span><vc:i18n name="报修类型" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairTypeName}}</span>
</div>
<div class="col-sm-4">
<span><span><vc:i18n name="预约时间" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.appointmentTime}}</span>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<span><span><vc:i18n name="报修人" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairName}}</span>
</div>
<div class="col-sm-4">
<span><span><vc:i18n name="联系电话" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.tel}}</span>
</div>
<div class="col-sm-4">
<span><span><vc:i18n name="位置" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairObjName}}</span>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<span><span><vc:i18n name="预约内容" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.context}}</span>
</div>
</div> -->
<div class="row">
<div class="col-sm-4">
<span><span><vc:i18n name="报修单号" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairId}}</span>
</div> </div>
<div class="col-sm-6"> <div class="col-sm-6">
<span></span> <span></span>
</div> </div>
<div class="col-sm-2"> <div class="col-sm-2">
<span><span><vc:i18n name="打印时间" namespace="printRepairDetail"></vc:i18n></span>{{nowTime}}</span> <span><vc:i18n name="打印时间:" namespace="printRepairDetail"></vc:i18n></span>{{nowTime}}
</div> </div>
</div> </div>
<table class="table table-bordered margin-top" style="margin-bottom: 0;"> <table class="table vc-table-border margin-top" style="margin-bottom: 0;color:#000;font-size:14px">
<thead> <thead>
<tr> <tr>
<th scope="col" colspan="6" class="text-center"><span><vc:i18n name="报修信息" namespace="printRepairDetail"></vc:i18n></span></th> <th scope="col" colspan="6" class="text-center"><span><vc:i18n name="报修信息" namespace="printRepairDetail"></vc:i18n></span></th>
@ -47,12 +20,12 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td><span><vc:i18n name="报修人" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairName}}</td> <td><span><vc:i18n name="报修人" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairName}}</td>
<td><span><vc:i18n name="联系电话" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.tel}}</td> <td><span><vc:i18n name="联系电话" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.tel}}</td>
<td><span><vc:i18n name="位置" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairObjName}}</td> <td><span><vc:i18n name="位置" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.repairObjName}}</td>
</tr> </tr>
<tr> <tr>
<td><span><vc:i18n name="报修内容" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.context}}</td> <td><span><vc:i18n name="报修内容" namespace="printRepairDetail"></vc:i18n></span>{{printRepairDetailInfo.context}}</td>
<td v-if="printRepairDetailInfo.maintenanceType != null && printRepairDetailInfo.maintenanceType != ''"><span><vc:i18n name="报修类型" namespace="printRepairDetail"></vc:i18n></span> <td v-if="printRepairDetailInfo.maintenanceType != null && printRepairDetailInfo.maintenanceType != ''"><span><vc:i18n name="报修类型" namespace="printRepairDetail"></vc:i18n></span>
<span v-if="printRepairDetailInfo.maintenanceType == '1001'"><span><vc:i18n name="有偿服务" namespace="printRepairDetail"></vc:i18n></span></span> <span v-if="printRepairDetailInfo.maintenanceType == '1001'"><span><vc:i18n name="有偿服务" namespace="printRepairDetail"></vc:i18n></span></span>
<span v-else><span><vc:i18n name="无偿服务" namespace="printRepairDetail"></vc:i18n></span></span> <span v-else><span><vc:i18n name="无偿服务" namespace="printRepairDetail"></vc:i18n></span></span>
@ -64,7 +37,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<table class="table table-bordered"> <table class="table vc-table-border" style="color:#000;font-size:14px">
<thead> <thead>
<tr> <tr>
<th scope="col" colspan="6" class="text-center"><span><vc:i18n name="工单流转" namespace="printRepairDetail"></vc:i18n></span></th> <th scope="col" colspan="6" class="text-center"><span><vc:i18n name="工单流转" namespace="printRepairDetail"></vc:i18n></span></th>

View File

@ -149,9 +149,8 @@
changeTab: function(_tab) { changeTab: function(_tab) {
$that.dataReportInfo._currentTab = _tab; $that.dataReportInfo._currentTab = _tab;
vc.emit(_tab, 'switch', { vc.emit(_tab, 'switch', {
ownerId: $that.dataReportInfo.ownerId, startDate: $that.dataReportInfo.conditions.startDate,
ownerName: $that.dataReportInfo.name, endDate: $that.dataReportInfo.conditions.endDate,
link: $that.dataReportInfo.link,
}) })
}, },
} }