bug修改
This commit is contained in:
parent
1a5e536cf6
commit
3ccbd60e4f
@ -1,7 +1,7 @@
|
||||
<!-- 收银台订单-->
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="new-top" >
|
||||
<div class="new-top">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="120px">
|
||||
<el-form-item label="">
|
||||
<el-input style="width: 215px;" v-model="queryParams.orderNo" placeholder="请输入订单号"></el-input>
|
||||
@ -77,18 +77,21 @@
|
||||
value-format="yyyy-MM-dd"
|
||||
>
|
||||
</el-date-picker>
|
||||
<el-form-item style="float: right; margin-right: 0px ">
|
||||
<el-form-item style="float: right; margin-right: 0px ">
|
||||
<el-button type="primary" icon="el-icon-search" @click="handleQuery">搜索</el-button>
|
||||
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button>
|
||||
<el-button type="primary" @click="exportExcelCashier">导出</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</div>
|
||||
<div class="wit_box" >
|
||||
<div class="wit_box">
|
||||
<div class="box-gang">
|
||||
<div class="box">
|
||||
<el-tooltip class="item" effect="dark" content="退款金额(元)/笔数" placement="top-start">
|
||||
<div class="size-bole">{{ orderStatistics.refBalance?orderStatistics.refBalance:0 }}/{{ orderStatistics.refBalanceCount?orderStatistics.refBalanceCount:0 }}</div>
|
||||
<div class="size-bole">{{
|
||||
orderStatistics.refBalance ? orderStatistics.refBalance : 0
|
||||
}}/{{ orderStatistics.refBalanceCount ? orderStatistics.refBalanceCount : 0 }}
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<div class="size-hui">
|
||||
<div class="dian" style="background: #0DC291"></div>
|
||||
@ -97,7 +100,10 @@
|
||||
</div>
|
||||
<div class="box">
|
||||
<el-tooltip class="item" effect="dark" content="油品订单退款金额(元)/笔数" placement="top-start">
|
||||
<div class="size-bole" style="color:#00CAFF;">{{ orderStatistics.oilOrder?orderStatistics.oilOrder:0 }}/{{ orderStatistics.oilOrderCount?orderStatistics.oilOrderCount:0 }}</div>
|
||||
<div class="size-bole" style="color:#00CAFF;">{{
|
||||
orderStatistics.oilOrder ? orderStatistics.oilOrder : 0
|
||||
}}/{{ orderStatistics.oilOrderCount ? orderStatistics.oilOrderCount : 0 }}
|
||||
</div>
|
||||
</el-tooltip>
|
||||
|
||||
<div class="size-hui">
|
||||
@ -107,7 +113,10 @@
|
||||
</div>
|
||||
<div class="box">
|
||||
<el-tooltip class="item" effect="dark" content="便利店订单退款金额(元)/笔数" placement="top-start">
|
||||
<div class="size-bole" style="color:#F44522;" >{{ orderStatistics.convenienceStore?orderStatistics.convenienceStore:0 }}/{{ orderStatistics.convenienceStoreCount?orderStatistics.convenienceStoreCount:0 }}</div>
|
||||
<div class="size-bole" style="color:#F44522;">{{
|
||||
orderStatistics.convenienceStore ? orderStatistics.convenienceStore : 0
|
||||
}}/{{ orderStatistics.convenienceStoreCount ? orderStatistics.convenienceStoreCount : 0 }}
|
||||
</div>
|
||||
</el-tooltip>
|
||||
|
||||
<div class="size-hui">
|
||||
@ -117,7 +126,9 @@
|
||||
</div>
|
||||
<div class="box">
|
||||
<el-tooltip class="item" effect="dark" content="积分商城订单退款金额(元)/笔数" placement="top-start">
|
||||
<div class="size-bole" style="color:#FF7E00;" >{{orderStatistics.integral?orderStatistics.integral:0}}/{{orderStatistics.integralCount?orderStatistics.integralCount:0}}</div>
|
||||
<div class="size-bole" style="color:#FF7E00;">
|
||||
{{ orderStatistics.integral ? orderStatistics.integral : 0 }}/{{ orderStatistics.integralCount ? orderStatistics.integralCount : 0 }}
|
||||
</div>
|
||||
</el-tooltip>
|
||||
|
||||
<div class="size-hui">
|
||||
@ -132,48 +143,52 @@
|
||||
border
|
||||
style="width: 100%">
|
||||
<el-table-column type="index" width="50" align="center" label="序号"/>
|
||||
<el-table-column prop="orderNo" align="center" label="订单号" width="220"> </el-table-column>
|
||||
<el-table-column prop="orderNo" align="center" label="订单号" width="220"></el-table-column>
|
||||
<el-table-column prop="payChannel" align="center" label="订单类型">
|
||||
</el-table-column>
|
||||
<el-table-column prop="type" align="center" label="订单分类">
|
||||
</el-table-column>
|
||||
<el-table-column prop="goodsMoney" align="center" label="订单金额(元)">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.type=='3'">{{scope.row.goodsMoney + scope.row.payMoney}}</span>
|
||||
<span v-else>{{scope.row.goodsMoney}}</span>
|
||||
<span v-if="scope.row.type=='3'">{{ scope.row.goodsMoney + scope.row.payMoney }}</span>
|
||||
<span v-else>{{ scope.row.goodsMoney }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="payMoney" align="center" label="实收金额(元)"> </el-table-column>
|
||||
<el-table-column prop="payMoney" align="center" label="会员付款金额(元)"> </el-table-column>
|
||||
<el-table-column prop="payMoney" align="center" label="实收金额(元)"></el-table-column>
|
||||
<el-table-column prop="payMoney" align="center" label="会员付款金额(元)"></el-table-column>
|
||||
|
||||
<el-table-column prop="refMoney" align="center" label="退款金额(元)">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.status == 'refund'">{{scope.row.payMoney}}</span>
|
||||
<span type="danger" v-else>--</span>
|
||||
</template>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <span v-if="scope.row.status == 'refund'">{{ scope.row.payMoney }}</span>-->
|
||||
<!-- <span type="danger" v-else>--</span>-->
|
||||
<!-- </template>-->
|
||||
</el-table-column>
|
||||
<el-table-column prop="userName" align="center" label="付款用户" > </el-table-column>
|
||||
<el-table-column prop="userName" align="center" label="付款用户"></el-table-column>
|
||||
<el-table-column prop="payType" align="center" label="支付方式">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.payType=='CASH'">现金</span>
|
||||
<span v-else-if="scope.row.payType=='WECHAT'">微信</span>
|
||||
<span v-else-if="scope.row.payType=='ALIPAY'">支付宝</span>
|
||||
<span v-else="">余额</span>
|
||||
<span v-if="scope.row.payType == 'CASH'">现金</span>
|
||||
<span v-else-if="scope.row.payType == 'WECHAT'">微信</span>
|
||||
<span v-else-if="scope.row.payType == 'ALIPAY'">支付宝</span>
|
||||
<span v-else-if="scope.row.payType == 'UNIONPAY'">银联二维码</span>
|
||||
<span v-else-if="scope.row.payType == 'credit'">挂账</span>
|
||||
<span v-else-if="scope.row.payType == 'oilCard'">囤油卡</span>
|
||||
<span v-else-if="scope.row.payType == 'balance'">储值卡</span>
|
||||
<span v-else>未知</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="status" align="center" label="支付状态">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="scope.row.status == 'unpaid'" style="color: #F44522">未支付</div>
|
||||
<div v-if="scope.row.status == 'unpaid'" style="color: #F44522">未支付</div>
|
||||
<div v-else-if="scope.row.status == '退款中'" style="color: #FF7E00">退款中</div>
|
||||
<div v-else-if="scope.row.status == '已退款'" style="color: #FF7E00">已退款</div>
|
||||
<div v-else style="color: #F44522">支付失败</div>
|
||||
<div v-else style="color: #F44522">支付失败</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="paymentChannel" align="center" label="支付渠道"> </el-table-column>
|
||||
<el-table-column prop="mchntCd" align="center" label="商户号"> </el-table-column>
|
||||
<el-table-column prop="createBy" align="center" label="关联员工"> </el-table-column>
|
||||
<el-table-column prop="paymentChannel" align="center" label="支付渠道"></el-table-column>
|
||||
<el-table-column prop="mchntCd" align="center" label="商户号"></el-table-column>
|
||||
<el-table-column prop="createBy" align="center" label="关联员工"></el-table-column>
|
||||
|
||||
<el-table-column prop="updateTime" align="center" label="退款时间" width="220"> </el-table-column>
|
||||
<el-table-column prop="updateTime" align="center" label="退款时间" width="220"></el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<pagination
|
||||
@ -191,17 +206,17 @@
|
||||
title="订单信息"
|
||||
:visible.sync="dialogVisible">
|
||||
<el-descriptions :title="'订单号:'+ordersInfo.orderNo">
|
||||
<el-descriptions-item label="门店">{{ordersInfo.storeName}}</el-descriptions-item>
|
||||
<el-descriptions-item label="收银员">{{ordersInfo.createBy}}</el-descriptions-item>
|
||||
<el-descriptions-item label="支付渠道">{{ordersInfo.payChannel}}</el-descriptions-item>
|
||||
<el-descriptions-item label="商户号">{{ordersInfo.mchntCd}}</el-descriptions-item>
|
||||
<el-descriptions-item label="费率">{{ordersInfo.amount}}</el-descriptions-item>
|
||||
<el-descriptions-item label="订单来源">{{ordersInfo.type}}</el-descriptions-item>
|
||||
<el-descriptions-item label="所属模块">{{ordersInfo.amount}}</el-descriptions-item>
|
||||
<el-descriptions-item label="支付方式">{{ordersInfo.payType}}</el-descriptions-item>
|
||||
<el-descriptions-item label="付款用户">{{ordersInfo.userName}}</el-descriptions-item>
|
||||
<el-descriptions-item label="支付状态">{{ordersInfo.status}}</el-descriptions-item>
|
||||
<el-descriptions-item label="备注">{{ordersInfo.content}}</el-descriptions-item>
|
||||
<el-descriptions-item label="门店">{{ ordersInfo.storeName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="收银员">{{ ordersInfo.createBy }}</el-descriptions-item>
|
||||
<el-descriptions-item label="支付渠道">{{ ordersInfo.payChannel }}</el-descriptions-item>
|
||||
<el-descriptions-item label="商户号">{{ ordersInfo.mchntCd }}</el-descriptions-item>
|
||||
<el-descriptions-item label="费率">{{ ordersInfo.amount }}</el-descriptions-item>
|
||||
<el-descriptions-item label="订单来源">{{ ordersInfo.type }}</el-descriptions-item>
|
||||
<el-descriptions-item label="所属模块">{{ ordersInfo.amount }}</el-descriptions-item>
|
||||
<el-descriptions-item label="支付方式">{{ ordersInfo.payType }}</el-descriptions-item>
|
||||
<el-descriptions-item label="付款用户">{{ ordersInfo.userName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="支付状态">{{ ordersInfo.status }}</el-descriptions-item>
|
||||
<el-descriptions-item label="备注">{{ ordersInfo.content }}</el-descriptions-item>
|
||||
<!-- <el-descriptions-item label="备注">-->
|
||||
<!-- <el-tag size="small">学校</el-tag>-->
|
||||
<!-- </el-descriptions-item>-->
|
||||
@ -212,27 +227,27 @@
|
||||
<template slot="label">
|
||||
订单金额
|
||||
</template>
|
||||
{{ordersInfo.goodsMoney?ordersInfo.goodsMoney:"--"}}
|
||||
{{ ordersInfo.goodsMoney ? ordersInfo.goodsMoney : "--" }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">
|
||||
优惠后应付金额
|
||||
</template>
|
||||
{{ordersInfo.payMoney?ordersInfo.payMoney:"--"}}
|
||||
{{ ordersInfo.payMoney ? ordersInfo.payMoney : "--" }}
|
||||
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">
|
||||
退款金额
|
||||
</template>
|
||||
{{ordersInfo.refMoney?ordersInfo.refMoney:"--"}}
|
||||
{{ ordersInfo.refMoney ? ordersInfo.refMoney : "--" }}
|
||||
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">
|
||||
实收金额
|
||||
</template>
|
||||
{{ordersInfo.payMoney?ordersInfo.payMoney:"--"}}
|
||||
{{ ordersInfo.payMoney ? ordersInfo.payMoney : "--" }}
|
||||
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
@ -245,73 +260,71 @@
|
||||
<script>
|
||||
|
||||
import {
|
||||
exportExcelTradingApi, getmyDataApi,
|
||||
getRunningWaterByTissueApi,
|
||||
getmyDataApi,
|
||||
getTissueByDataApi,
|
||||
getTradingPageApi,
|
||||
getDicts,
|
||||
getStaffByStorId,
|
||||
getTradingOnsPageApi,
|
||||
exportExcelBackOrderMsgsApi
|
||||
} from "@/api/allOrder";
|
||||
import {getTradingOnPageApi} from "../../../../api/allOrder";
|
||||
|
||||
|
||||
export default {
|
||||
name: "reconciliation-trading",
|
||||
data(){
|
||||
return{
|
||||
radio1:"油号选错",
|
||||
loading:false,
|
||||
dialogVisible:false,
|
||||
data() {
|
||||
return {
|
||||
radio1: "油号选错",
|
||||
loading: false,
|
||||
dialogVisible: false,
|
||||
// 员工列表
|
||||
staffList:[],
|
||||
ordersInfo:{},
|
||||
staffList: [],
|
||||
ordersInfo: {},
|
||||
// 日期范围
|
||||
dateRange: [],
|
||||
beginTime:"",
|
||||
endTime:"",
|
||||
beginTime: "",
|
||||
endTime: "",
|
||||
// 是否为当天时间
|
||||
isSysDate:false,
|
||||
isSysDate: false,
|
||||
// 收银台订单列表
|
||||
orderList:[],
|
||||
deptList:[],
|
||||
orderList: [],
|
||||
deptList: [],
|
||||
|
||||
// 查询参数
|
||||
queryParams: {
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
beginTime:"",
|
||||
endTime:"",
|
||||
orderNo:"",
|
||||
status:"",
|
||||
payType:"",
|
||||
payChannel:"",
|
||||
deptType:"3",
|
||||
storeId:"",
|
||||
deptId:"",
|
||||
userName:"",
|
||||
staffId:"",
|
||||
dataRange:[],
|
||||
beginTime: "",
|
||||
endTime: "",
|
||||
orderNo: "",
|
||||
status: "",
|
||||
payType: "",
|
||||
payChannel: "",
|
||||
deptType: "3",
|
||||
storeId: "",
|
||||
deptId: "",
|
||||
userName: "",
|
||||
staffId: "",
|
||||
dataRange: [],
|
||||
},
|
||||
orderStatistics:{
|
||||
CASH:"0",
|
||||
WECHAT:"0",
|
||||
ALIPAY:"0",
|
||||
balance:"0",
|
||||
CASHCount:"0",
|
||||
WECHATCount:"0",
|
||||
ALIPAYCount:"0",
|
||||
balanceCount:"0",
|
||||
refBalance:"0",
|
||||
refBalanceCount:"0",
|
||||
oilOrder:"0",
|
||||
oilOrderCount:"0",
|
||||
convenienceStore:"0",
|
||||
convenienceStoreCount:"0",
|
||||
integral:"0",
|
||||
integralCount:"0",
|
||||
orderStatistics: {
|
||||
CASH: "0",
|
||||
WECHAT: "0",
|
||||
ALIPAY: "0",
|
||||
balance: "0",
|
||||
CASHCount: "0",
|
||||
WECHATCount: "0",
|
||||
ALIPAYCount: "0",
|
||||
balanceCount: "0",
|
||||
refBalance: "0",
|
||||
refBalanceCount: "0",
|
||||
oilOrder: "0",
|
||||
oilOrderCount: "0",
|
||||
convenienceStore: "0",
|
||||
convenienceStoreCount: "0",
|
||||
integral: "0",
|
||||
integralCount: "0",
|
||||
},
|
||||
total:0,
|
||||
total: 0,
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
@ -320,7 +333,7 @@ export default {
|
||||
start.setMinutes(0)
|
||||
start.setSeconds(0)
|
||||
start.setMilliseconds(0)
|
||||
this.dateRange = [start,new Date()];
|
||||
this.dateRange = [start, new Date()];
|
||||
this.beginTime = start
|
||||
this.endTime = new Date()
|
||||
this.isSysDate = true
|
||||
@ -329,12 +342,12 @@ export default {
|
||||
// this.getList();
|
||||
|
||||
},
|
||||
methods:{
|
||||
methods: {
|
||||
async getDeptList() {
|
||||
// getRunningWaterByTissueApi(this.addDateRange(this.queryParams)).then( response => {
|
||||
// this.deptList = response.data.records;
|
||||
// })
|
||||
await getmyDataApi(this.addDateRange(this.queryParams)).then( response => {
|
||||
await getmyDataApi(this.addDateRange(this.queryParams)).then(response => {
|
||||
this.queryParams.deptId = response.data.deptId;
|
||||
this.getList()
|
||||
this.getDicts()
|
||||
@ -343,22 +356,22 @@ export default {
|
||||
})
|
||||
},
|
||||
exportExcelCashier() {
|
||||
exportExcelBackOrderMsgsApi(this.queryParams).then(res=>{
|
||||
const blob = new Blob([res], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
|
||||
this.$download.saveAs(blob,'交易明细统计.xLsx')
|
||||
exportExcelBackOrderMsgsApi(this.queryParams).then(res => {
|
||||
const blob = new Blob([res], {type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'});
|
||||
this.$download.saveAs(blob, '交易明细统计.xLsx')
|
||||
})
|
||||
},
|
||||
// 获取订单统计信息
|
||||
|
||||
async getOrderStatistics() {
|
||||
getTissueByDataApi(this.queryParams).then(res=>{
|
||||
getTissueByDataApi(this.queryParams).then(res => {
|
||||
this.orderStatistics = res.data
|
||||
})
|
||||
},
|
||||
|
||||
// 获取列表信息
|
||||
async getList(val){
|
||||
getTradingOnsPageApi(this.queryParams).then( response => {
|
||||
async getList(val) {
|
||||
getTradingOnsPageApi(this.queryParams).then(response => {
|
||||
this.orderList = response.data.records;
|
||||
this.total = response.data.total;
|
||||
this.isSysDate = false
|
||||
@ -396,7 +409,7 @@ export default {
|
||||
this.queryParams = {
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
deptType:"3",
|
||||
deptType: "3",
|
||||
}
|
||||
this.beginTime = ""
|
||||
this.endTime = ""
|
||||
@ -409,43 +422,49 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.container{
|
||||
.container {
|
||||
background: #f4f5f9;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 8px;
|
||||
//height: 87.5vh;
|
||||
}
|
||||
.app-top{
|
||||
|
||||
.app-top {
|
||||
width: 100%;
|
||||
|
||||
height: 60px;
|
||||
box-sizing: border-box;
|
||||
padding: 10px;
|
||||
}
|
||||
.clearfix{
|
||||
|
||||
.clearfix {
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
.box-card{
|
||||
|
||||
.box-card {
|
||||
width: 100%;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.box-gang{
|
||||
|
||||
.box-gang {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.box{
|
||||
|
||||
.box {
|
||||
padding: 5px;
|
||||
padding-left: 20px;
|
||||
width: 280px;
|
||||
height: 60px;
|
||||
background:#fff;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
border: 1px solid #FF9655;
|
||||
margin-right: 15px;
|
||||
}
|
||||
.size-hui{
|
||||
|
||||
.size-hui {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-family: Source Han Sans CN, Source Han Sans CN;
|
||||
@ -461,7 +480,8 @@ export default {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.dian{
|
||||
|
||||
.dian {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
@ -472,13 +492,15 @@ export default {
|
||||
margin-bottom: 15px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
.icon-img{
|
||||
|
||||
.icon-img {
|
||||
|
||||
//margin-left: 110px;
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
margin-right: 5px;
|
||||
img{
|
||||
|
||||
img {
|
||||
float: right;
|
||||
//width: 100%;
|
||||
width: 20px;
|
||||
@ -486,12 +508,14 @@ export default {
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
.f-button{
|
||||
|
||||
.f-button {
|
||||
width: 100%;
|
||||
float: right ;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
.size-bole{
|
||||
|
||||
.size-bole {
|
||||
height: 31px;
|
||||
font-size: 24px;
|
||||
color: #0DC291;
|
||||
@ -504,7 +528,8 @@ export default {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.wgang{
|
||||
|
||||
.wgang {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -512,27 +537,32 @@ export default {
|
||||
margin-bottom: 20px;
|
||||
|
||||
}
|
||||
.table-box{
|
||||
|
||||
.table-box {
|
||||
width: 100%;
|
||||
height: 52vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.pagination-box{
|
||||
|
||||
.pagination-box {
|
||||
width: 100%;
|
||||
margin: 10px auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.top-app-sou{
|
||||
|
||||
.top-app-sou {
|
||||
width: 20%;
|
||||
}
|
||||
.tk{
|
||||
|
||||
.tk {
|
||||
text-align: center;
|
||||
color: grey;
|
||||
margin: 10px 0;
|
||||
}
|
||||
.new-top{
|
||||
|
||||
.new-top {
|
||||
width: 99%;
|
||||
background: #FFFFFF;
|
||||
margin: 15px auto;
|
||||
@ -542,7 +572,8 @@ export default {
|
||||
border-radius: 4px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.wit_box{
|
||||
|
||||
.wit_box {
|
||||
width: 99%;
|
||||
background: #FFFFFF;
|
||||
margin: 5px auto;
|
||||
|
@ -268,10 +268,14 @@
|
||||
<el-table-column prop="userName" align="center" label="付款用户"></el-table-column>
|
||||
<el-table-column prop="payType" align="center" label="支付方式">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.payType=='CASH'">现金</span>
|
||||
<span v-else-if="scope.row.payType=='WECHAT'">微信</span>
|
||||
<span v-else-if="scope.row.payType=='ALIPAY'">支付宝</span>
|
||||
<span v-else="">余额</span>
|
||||
<span v-if="scope.row.payType == 'CASH'">现金</span>
|
||||
<span v-else-if="scope.row.payType == 'WECHAT'">微信</span>
|
||||
<span v-else-if="scope.row.payType == 'ALIPAY'">支付宝</span>
|
||||
<span v-else-if="scope.row.payType == 'UNIONPAY'">银联二维码</span>
|
||||
<span v-else-if="scope.row.payType == 'credit'">挂账</span>
|
||||
<span v-else-if="scope.row.payType == 'oilCard'">囤油卡</span>
|
||||
<span v-else-if="scope.row.payType == 'balance'">储值卡</span>
|
||||
<span v-else>未知</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="status" align="center" label="订单状态">
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user