Commit 78547bc0 by wangzhihui

积分优化

1 parent ab133603
export const colors = ['#B8B8B8', '#F59619', '#2CCA74', '#EB4E4EFF', '#2CCA74FF', '#EB4E4EFF']
export const tableStatus = ['待审批', '审批中', '审批通过', '审批驳回', '已付款', '到账异常']
export const colors = ['#B8B8B8', '#F59619', '#2CCA74', '#EB4E4EFF', '#2CCA74FF', '#2CCA74FF','#EB4E4EFF']
export const tableStatus = ['待审批', '审批中', '审批通过', '审批驳回', '渠道到账','用户到账', '到账异常']
export const operate_status = {
1: '付款审核',
2: '批次关闭',
......
......@@ -217,10 +217,7 @@ export default {
{
label: '付款总额/元',
prop: 'paymentTotal',
width: 120,
formatter: cellValue => {
return cellValue.paymentTotal ? (cellValue.paymentTotal / 100).toFixed(2) : '--'
}
width: 120
},
{
label: '付款渠道',
......
<!-- 查看 -->
<!-- 盘点详情弹窗弹窗 -->
<template>
<GLDialog bigTitle="详细信息" :visible.sync="isVisible" :hasFooter="false" :before-close="handleClose" class="points" mode="big" okText="关闭" @onCancel="handleClose" @onOk="handleClose">
<div class="wrap edit-box">
......
......@@ -161,6 +161,7 @@ export default {
calculateAmount() {
let {taxRate,pointTotal} =this.recordInfo,
rate = taxRate.split('%')[0];
console.log(rate)
//本批次号积分提现总金额+渠道税点(积分总额×税点),保留小数点后 2位
this.recordInfo.paymentTotal = (pointTotal+pointTotal*(rate/100)).toFixed(2)
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!