oil-station/fuintCashierWeb/src/views/cashier/NewComponents/Handover.vue

874 lines
25 KiB
Vue
Raw Normal View History

<!-- 交接班 在用的 -->
2024-08-16 18:26:19 +08:00
<template>
2024-10-11 09:16:49 +08:00
<div class="app-containerss">
<div class="tab-box">
2024-10-22 11:16:59 +08:00
<div class="tab_" :class="{active:index== tabindex }" @click="getindex(index)" v-for="(item,index) in tabs"
:key="index"
>
{{ item }}
2024-08-16 18:26:19 +08:00
</div>
</div>
<div v-if="tabindex == 0">
2024-10-22 11:16:59 +08:00
<div class="card-box"
2024-11-15 08:49:37 +08:00
style="width: 99%;margin: 10px auto;background: #fff;box-sizing: border-box;padding-top: 15px"
2024-10-22 11:16:59 +08:00
>
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="100px">
<el-form-item label="" prop="status">
2024-10-11 09:16:49 +08:00
<el-select v-model="queryParams.status" style="width: 230px" placeholder="交班方式" clearable>
2024-10-22 11:16:59 +08:00
<el-option label="统一交班" value="统一交班">统一交班</el-option>
<el-option label="个人交班" value="个人交班">个人交班</el-option>
</el-select>
</el-form-item>
<el-form-item label="" prop="staffId">
2024-10-22 11:16:59 +08:00
<el-select v-model="queryParams.staffId" style="width: 230px" placeholder="交班员工" clearable
2024-11-02 17:04:05 +08:00
:disabled="queryParams.status== '统一交班'" >
<el-option
v-for="option in staffList"
:key="option.id"
:label="option.realName"
:value="option.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item class="flex-container" style="float: right">
2024-10-22 11:16:59 +08:00
<el-button type="primary" icon="el-icon-search" @click="handleQuery"
:disabled="queryParams.staffId == null"
>搜索
</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
</el-form-item>
</el-form>
2024-08-16 18:26:19 +08:00
</div>
2024-10-22 11:16:59 +08:00
<div
style="width: 25%; margin: 0 auto; margin-top: 10px; margin-bottom: 10px; background: #FFFFFF;box-sizing: border-box;padding: 15px; height: 78vh;"
class="b-c-ad"
>
2024-10-11 09:16:49 +08:00
<div class="title_" style="display: flex;justify-content: space-between">
<div style="width: 10%;"></div>
<div>门店交接单</div>
2024-11-08 09:45:44 +08:00
<div style="cursor: pointer; color: #FF9655;font-size: 14px;" @click="handoverShiftPrintingReceipt">打印</div>
2024-10-11 09:16:49 +08:00
</div>
<div class="d-s-b">
<div>油站名称</div>
2024-10-22 11:16:59 +08:00
<div>{{ baseInfo.storeName }}</div>
2024-08-16 18:26:19 +08:00
</div>
<div class="d-s-b">
<div>油站站长</div>
2024-10-22 11:16:59 +08:00
<div>{{ baseInfo.realName }}</div>
2024-08-16 18:26:19 +08:00
</div>
<div class="d-s-b">
<div>交班方式</div>
2024-10-22 11:16:59 +08:00
<div>{{ baseInfo.handoverType }}</div>
2024-08-16 18:26:19 +08:00
</div>
<div class="d-s-b">
<div>开始时间</div>
2024-10-22 11:16:59 +08:00
<div>{{ baseInfo.startTime }}</div>
2024-08-16 18:26:19 +08:00
</div>
<div class="d-s-b">
<div>结束时间</div>
2024-10-22 11:16:59 +08:00
<div>{{ baseInfo.endTime }}</div>
2024-08-16 18:26:19 +08:00
</div>
<div class="d-s-b">
<div>订单金额</div>
2024-10-22 11:16:59 +08:00
<div>{{ orderSummary.oilOrder }}</div>
2024-08-16 18:26:19 +08:00
</div>
<div class="d-s-b">
<div>优惠金额</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.oilRefund }}</div>
2024-08-16 18:26:19 +08:00
</div>
<div class="d-s-b">
2024-08-16 18:26:19 +08:00
<div>退款金额</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.oilPaid }}</div>
</div>
<div class="d-s-b">
<div>挂账金额</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.onAccount }}</div>
</div>
<div class="d-s-b">
<div>会员消费</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.consumptionMoney }}</div>
</div>
<div class="d-s-b">
<div>实收金额</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.receiptsMoney }}</div>
</div>
<div class="d-s-b">
<div>充值金额</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.onAccount }}</div>
</div>
<div class="d-s-b">
<div>充值赠送</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.giftAccount }}</div>
</div>
<div class="d-s-b">
<div>会员总余额</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.memberBalance }}</div>
</div>
<div class="d-s-b">
<div>会员总积分</div>
2024-11-08 09:45:44 +08:00
<div>{{ orderSummary.memberPoints }}</div>
</div>
<div class="xxing"></div>
2024-11-15 08:49:37 +08:00
<div style="overflow: auto; height: 35vh;scrollbar-width: none; ">
2024-10-22 11:16:59 +08:00
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>营业收入统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">类型</div>
<div class="f-size">订单金额</div>
<div class="r-size">实收金额</div>
</div>
<div class="d-s-b">
<div class="l-size">营业总额</div>
2024-11-08 09:45:44 +08:00
<div class="s-size">{{ orderSummary.oilOrder }}</div>
<div class="r-size">{{ orderSummary.receiptsMoney }}</div>
2024-10-22 11:16:59 +08:00
</div>
<div class="d-s-b">
<div class="l-size">充值总额</div>
2024-11-08 09:45:44 +08:00
<div class="s-size">{{ orderSummary.rechargeAll }}</div>
<div class="r-size">{{ orderSummary.onAccount }}</div>
2024-10-22 11:16:59 +08:00
</div>
<div class="d-s-b">
<div class="l-size">合计</div>
2024-11-08 09:45:44 +08:00
<div class="s-size">{{ orderSummary.orderall}}</div>
<div class="r-size">{{ orderSummary.orderalls}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>支付方式统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">支付方式</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
<div class="d-s-b" v-for="item in paymentAggregation" v-if="item.flag == 'all'">
2024-11-08 09:45:44 +08:00
<div class="l-size">{{item.payType}}</div>
<div class="s-size">{{ item.orderNum }}</div>
<div class="r-size">{{ item.truePay }}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>油品实收统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">油号</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
<div class="d-s-b" v-for="item in oilNumberStatistics">
2024-11-08 09:45:44 +08:00
<div class="l-size">{{ item.name }}</div>
<div class="s-size">{{ item.orderNum }}</div>
<div class="r-size">{{ item.payAmount }}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>优惠统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">油号</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in discountStatistics">
<div class="l-size">{{ item.name }}</div>
<div class="s-size">{{ item.orderNum }}</div>
<div class="r-size">{{ item.discountAmount }}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>退款统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">类型</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in backMoneyStatistics">
<div class="l-size">{{ item.name }}</div>
<div class="s-size">{{ item.orderNum }}</div>
<div class="r-size">{{ item.refMoney }}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>挂账统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">挂账单位</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in billingDetails"
2024-10-22 11:16:59 +08:00
>
<div class="l-size">{{ item.name }}</div>
2024-11-08 09:45:44 +08:00
<div class="s-size">{{ item.orderNum}}</div>
<div class="r-size">{{ item.amount}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>会员充值统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">支付方式</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in employeeStatistics" >
<div class="l-size">{{item.payType}}</div>
<div class="s-size">{{ item.orderNum}}</div>
<div class="r-size">{{ item.rechargeBalance}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>会员消费统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">支付方式</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in consumptionStatistics">
<div class="l-size">{{ item.payType}}</div>
<div class="s-size">{{ item.orderNums }}</div>
<div class="r-size">{{item.orderNum}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>便利店统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">支付方式</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in goodsNumberStatistics">
<div class="l-size">{{item.payType }}</div>
<div class="s-size">{{ item.orderNum}}</div>
<div class="r-size">{{ item.payAmount}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>积分商城统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">支付方式</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in integerNumberStatistics">
<div class="l-size">{{item.payType }}</div>
<div class="s-size">{{ item.orderNum}}</div>
<div class="r-size">{{ item.amount}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>新增会员统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">新增会员数</div>
<!-- <div class="f-size">笔数</div>-->
2024-11-08 09:45:44 +08:00
<div class="r-size">{{ memberStatistics.userNum }}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
2024-11-08 09:45:44 +08:00
<div>挂账归还统计</div>
2024-10-22 11:16:59 +08:00
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">支付方式</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
<div class="d-s-b" v-for="item in returnedToTheAccount">
2024-11-08 09:45:44 +08:00
<div class="l-size">{{ item.status }}</div>
<div class="s-size">{{ item.returnNum }}</div>
<div class="r-size">{{ item.amount}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
<div class="for-box">
<div class="for-title">
<div class="x-"></div>
<div>员工实收统计</div>
<div class="x-"></div>
</div>
<div class="d-s-b" style="font-weight: 600">
<div class="l-size">员工</div>
<div class="f-size">笔数</div>
<div class="r-size">实收金额</div>
</div>
2024-11-08 09:45:44 +08:00
<div class="d-s-b" v-for="item in staffStatistics">
<div class="l-size">{{ item.name }}</div>
<div class="s-size">{{ item.staffNum }}</div>
<div class="r-size">{{ item.monye}}</div>
2024-10-22 11:16:59 +08:00
</div>
</div>
2024-10-11 09:16:49 +08:00
</div>
</div>
2024-10-22 11:16:59 +08:00
<div
2024-11-15 08:49:37 +08:00
style="width: 99%; margin: 10px auto;display: flex;align-items: center;justify-content: center; background: #fff;box-sizing: border-box;padding: 15px "
2024-10-22 11:16:59 +08:00
>
<el-button type="primary" @click="shift()">交班</el-button>
2024-08-16 18:26:19 +08:00
</div>
</div>
<div v-if="tabindex == 1">
<HandoverRecord></HandoverRecord>
2024-08-16 18:26:19 +08:00
</div>
<el-dialog title="订单详情" :visible.sync="openDetail" width="600px" append-to-body :close-on-click-modal="false">
<!-- <detail :dataForm = "recordData"></detail>-->
2024-10-22 11:16:59 +08:00
<HandoverOnly :recordData="recordData"></HandoverOnly>
2024-08-16 18:26:19 +08:00
</el-dialog>
</div>
</template>
<script>
import {
addHandoverApi,
getHandoverApi2,
getHandoverListApi,
printLocallyApi,
getStatisticsApi,
getDicts,
2024-11-08 09:45:44 +08:00
listStaff,
handoverShiftPrintingReceipts,
handoverShiftPrintingReceiptss
2024-10-22 11:16:59 +08:00
} from '@/api/handover/handover'
2024-10-22 11:16:59 +08:00
import HandoverOnly from '@/views/cashier/NewComponents/HandoverOnly.vue'
import HandoverRecord from '@/views/cashier/NewComponents/HandoverRecord.vue'
export default {
2024-10-22 11:16:59 +08:00
name: 'pointsCashier',
components: { HandoverRecord, HandoverOnly },
// dicts: ['zhzt'],
data() {
return {
2024-11-08 09:45:44 +08:00
baseInfo : {},
//汇总
orderSummary : {},
//支付
paymentAggregation :[],
//油号
oilNumberStatistics:[],
//优惠
discountStatistics:[],
//退款
backMoneyStatistics:[],
//挂账
billingDetails :[],
//会员充值
employeeStatistics:[],
//会员消费
consumptionStatistics:[],
//便利店消费
goodsNumberStatistics:[],
//积分
integerNumberStatistics:[],
//会员新增统计
memberStatistics:{},
//挂账归还
returnedToTheAccount:[],
//员工统计
staffStatistics:[],
2024-10-22 11:16:59 +08:00
tabs: [
'交接班',
'交班记录'
],
2024-10-22 11:16:59 +08:00
value: '',
tabindex: 0,
openDetail: false,
dataForm: {},
dataList: [],
recordData: '',
zhztList: '',
shiftHandoverList: '',
handoverList: {},
handoverData: {},
greaseGunStatistics: [],
// base
queryParams: {
2024-10-14 17:48:18 +08:00
staffId: null,
status: '统一交班',
type: '',
2024-10-22 11:16:59 +08:00
page: null,
pageSize: null
2024-08-16 18:26:19 +08:00
},
loading: false,
2024-10-22 11:16:59 +08:00
dateRange: [new Date(), new Date()],
beginTime: new Date(),
endTime: new Date(),
defaultSort: { prop: 'createTime', order: 'descending' },
total: 0,
2024-10-22 11:16:59 +08:00
staffList: [],
statisticsForm: {
2024-10-22 11:16:59 +08:00
num: 0,
exchangeQuantity: 0,
integral: 0,
amount: 0
}
}
},
created() {
2024-10-22 11:16:59 +08:00
this.getList()
2024-11-08 09:45:44 +08:00
// this.getHandover()
// this.getStatistics()
// this.getStatus()
// this.getStaffList()
2024-10-22 11:16:59 +08:00
},
watch: {
'queryParams.status': {
handler(newVal, oldVal) {
if (newVal == '统一交班') {
this.queryParams.staffId = null
this.getList()
this.getHandover()
}
},
immediate: false, // 是否在侦听器创建时立即触发回调
deep: false // 是否深度监听
}
},
methods: {
getHandover() {
2024-10-22 11:16:59 +08:00
getHandoverApi2(this.queryParams).then(res => {
// this.handoverList = res.data;
2024-10-22 11:16:59 +08:00
this.handoverData = res.data
this.baseInfo = this.handoverData.baseInfo,
this.billingDetails = this.handoverData.billingDetails,
this.employeeStatistics = this.handoverData.employeeStatistics,
this.greaseGunStatistics = this.handoverData.greaseGunStatistics,
this.oilNumberStatistics = this.handoverData.oilNumberStatistics,
this.orderSummary = this.handoverData.orderSummary,
this.paymentAggregation = this.handoverData.paymentAggregation,
this.returnedToTheAccount = this.handoverData.returnedToTheAccount,
2024-10-22 11:16:59 +08:00
console.log('this.handoverList', this.handoverList)
})
2024-10-22 11:16:59 +08:00
}
,
2024-11-08 09:45:44 +08:00
handoverShiftPrintingReceipt() {
handoverShiftPrintingReceipts(this.queryParams).then(res => {
this.dataList = res.data.records
this.total = res.data.total
})
},
2024-10-22 11:16:59 +08:00
getindex(index) {
this.tabindex = index
2024-10-22 11:16:59 +08:00
}
,
getList() {
2024-11-08 09:45:44 +08:00
handoverShiftPrintingReceiptss(this.queryParams).then(res => {
this.handoverData = res.data;
this.baseInfo = this.handoverData.baseInfo,
//汇总
this.orderSummary = this.handoverData.orderSummary,
//支付
this.paymentAggregation = this.handoverData.paymentAggregation,
//油号
this.oilNumberStatistics = this.handoverData.oilNumberStatistics,
//优惠
this.discountStatistics = this.handoverData.discountStatistics,
//退款
this.backMoneyStatistics = this.handoverData.backMoneyStatistics,
//挂账
this.billingDetails = this.handoverData.billingDetails,
//会员充值
this.employeeStatistics = this.handoverData.employeeStatistics,
//会员消费
this.consumptionStatistics = this.handoverData.consumptionStatistics,
//便利店消费
this.goodsNumberStatistics = this.handoverData.goodsNumberStatistics,
//积分
this.integerNumberStatistics = this.handoverData.integerNumberStatistics,
//会员新增统计
this.memberStatistics = this.handoverData.memberStatistics,
//挂账归还
this.returnedToTheAccount = this.handoverData.returnedToTheAccount,
//员工统计
this.staffStatistics = this.handoverData.staffStatistics
})
2024-10-22 11:16:59 +08:00
}
,
getStatistics() {
2024-10-22 11:16:59 +08:00
getStatisticsApi().then(res => {
this.statisticsForm = res.data
})
2024-10-22 11:16:59 +08:00
}
,
// 获取支付方式
getZhzt() {
2024-10-22 11:16:59 +08:00
getDicts('zhzt').then(response => {
this.zhztList = response.data
})
2024-10-22 11:16:59 +08:00
}
,
getStatus() {
2024-10-22 11:16:59 +08:00
getDicts('handover').then(response => {
this.shiftHandoverList = response.data
})
2024-10-22 11:16:59 +08:00
}
,
// 交班
async shift() {
let msg = '交班, 是否继续?'
let flag = false
if (this.handoverList && this.baseInfo && this.baseInfo.handoverOut == 'jbtc') {
flag = true
} else {
msg = '确定交班?'
}
this.$confirm(msg, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
let recordData = this.handoverData
let handoverRecord = {
startTime: this.baseInfo.startTime,
recordData: JSON.stringify(recordData),
type: 0,
status: this.baseInfo.handoverType,
staffId: this.queryParams.staffId
}
addHandoverApi(handoverRecord).then(res => {
if (flag) {
this.clean()
// removeUserId();
// this.$store.dispatch('LogOut').then(() => {
// location.href = '/';
// })
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
this.getHandover()
})
})
2024-10-22 11:16:59 +08:00
}
,
handleUpdate() {
}
,
handleQuery() {
this.getList()
this.getHandover()
}
,
getStaffList() {
2024-10-22 11:16:59 +08:00
listStaff(this.addDateRange({
page: 1,
pageSize: 10000
})).then(response => {
this.staffList = response.data.records
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
)
}
,
resetQuery() {
this.queryParams = {
giftName: '',
2024-10-14 17:48:18 +08:00
status: '统一交班',
mobile: '',
orderNumber: '',
2024-10-22 11:16:59 +08:00
page: 1,
pageSize: 10
2024-08-16 18:26:19 +08:00
},
this.dateRange = []
2024-10-22 11:16:59 +08:00
this.beginTime = ''
this.endTime = ''
this.getList()
}
,
printLocally(data) {
2024-10-22 11:16:59 +08:00
printLocallyApi(data).then(res => {
})
2024-10-22 11:16:59 +08:00
}
,
handleDetail(data) {
this.openDetail = true
2024-10-22 11:16:59 +08:00
this.recordData = data.recordData
// JSON.parse(this.recordData )
2024-10-22 11:16:59 +08:00
console.log('data.recordData;', this.recordData)
2024-10-22 11:16:59 +08:00
}
,
goToAbout() {
this.$router.push({
2024-10-22 11:16:59 +08:00
path: '/Handover',
query: {
id: 9
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
})
}
,
billingDetails1() {
2024-10-22 11:16:59 +08:00
let count = []
if (this.billingDetails) {
return this.billingDetails
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
return count
}
,
calculateThePaymentMethod(payType) {
switch (payType) {
case 'ALIPAY':
return '支付宝'
2024-10-22 11:16:59 +08:00
break
case 'WECHAT':
return '微信'
2024-10-22 11:16:59 +08:00
break
case 'UNIONPAY':
return '银联二维码'
2024-10-22 11:16:59 +08:00
break
case 'CASH':
return '现金'
2024-10-22 11:16:59 +08:00
break
case 'balance':
return '余额'
2024-10-22 11:16:59 +08:00
break
case 'oilCard':
return '油卡'
2024-10-22 11:16:59 +08:00
break
}
return '未知'
2024-10-22 11:16:59 +08:00
}
}
}
2024-08-16 18:26:19 +08:00
</script>
<style scoped lang="scss">
2024-10-11 09:16:49 +08:00
.app-containerss {
width: 100%;
height: 100vh;
background: #f6f8f9;
box-sizing: border-box;
2024-10-11 09:16:49 +08:00
display: flex;
flex-direction: column;
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
.tab-box {
width: 100%;
background: #fff;
display: flex;
box-sizing: border-box;
2024-10-22 11:16:59 +08:00
padding: 5px;
2024-10-11 09:16:49 +08:00
padding-bottom: 0px;
2024-10-19 18:03:31 +08:00
border-top: 1px solid #eceff1;
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
.box_ {
height: 100%;
border-bottom: 2px solid #fe9554;
}
2024-10-22 11:16:59 +08:00
.box {
padding: 10px;
height: 80px;
width: 150px;
margin-right: 0px;
background-color: rgba(204, 204, 204, 0.3);
border-radius: 8px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: left;
text-align: left;
}
2024-10-22 11:16:59 +08:00
.box-card {
width: 640px;
margin: 0 auto;
margin-bottom: 15px;
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
.font-chinese {
font-size: 15px;
2024-10-22 11:16:59 +08:00
font-family: Microsoft YaHei;
font-weight: bold;
2024-10-22 11:16:59 +08:00
line-height: 1.5
}
2024-10-22 11:16:59 +08:00
.font-number {
font-size: 20px;
2024-10-22 11:16:59 +08:00
font-family: PingFang SC, sans-serif;
font-weight: bold;
2024-10-22 11:16:59 +08:00
line-height: 1.3
}
2024-10-22 11:16:59 +08:00
.table-box {
width: 100%;
}
2024-08-16 18:26:19 +08:00
.flex-container1 {
display: flex;
justify-content: flex-end;
align-items: center;
flex-wrap: nowrap; /* 确保不换行 */
width: 100%; /* 让父容器占满可用宽度 */
}
2024-10-22 11:16:59 +08:00
.el-form--inline .el-form-item {
2024-08-16 18:26:19 +08:00
}
2024-10-11 09:16:49 +08:00
2024-10-22 11:16:59 +08:00
.tab_ {
width: 75px;
2024-10-11 09:16:49 +08:00
height: 40px;
//border-bottom: 2px solid #FF770F;
display: flex;
font-weight: 500;
font-size: 14px;
color: #999999;
align-items: center;
justify-content: center;
margin-left: 50px;
cursor: pointer;
}
2024-10-22 11:16:59 +08:00
.active {
border-bottom: 2px solid #FF770F !important;
color: #FF770F !important;
}
2024-10-22 11:16:59 +08:00
.title_ {
text-align: center;
font-weight: 600;
font-size: 16px;
color: #333333;
}
2024-10-22 11:16:59 +08:00
.d-s-b {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
font-weight: 400;
font-size: 14px;
color: #333333;
2024-10-11 09:16:49 +08:00
margin: 5px auto;
}
2024-10-22 11:16:59 +08:00
.xxing {
width: 100%;
2024-10-22 11:16:59 +08:00
border-bottom: 1px solid #EEEEEE;
}
2024-10-22 11:16:59 +08:00
.for-box {
width: 100%;
margin: 20px auto;
}
2024-10-22 11:16:59 +08:00
.for-title {
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 16px;
color: #333333;
2024-08-16 18:26:19 +08:00
}
2024-10-22 11:16:59 +08:00
.x- {
width: 100px;
border-bottom: 1px solid #EEEEEE;
margin: 0 15px;
}
2024-10-22 11:16:59 +08:00
.f-size {
width: 33%;
text-align: center;
2024-10-11 09:16:49 +08:00
font-size: 14px;
color: #333333;
}
2024-10-22 11:16:59 +08:00
.s-size {
width: 33%;
text-align: center;
}
2024-10-22 11:16:59 +08:00
.l-size {
width: 33%;
text-align: left;
}
2024-10-22 11:16:59 +08:00
.r-size {
width: 33%;
text-align: right;
}
2024-10-22 11:16:59 +08:00
.bottom- {
width: 98%;
}
2024-10-22 11:16:59 +08:00
.table-boxs {
border-radius: 8px;
width: 98%;
background: #fff;
margin: 25px auto;
box-sizing: border-box;
padding: 15px;
}
2024-10-16 20:00:39 +08:00
2024-08-16 18:26:19 +08:00
</style>