fix(bonusDetail): 奖金字段调整,删除部分字段
This commit is contained in:
parent
8e27a0c697
commit
5f2a99822f
|
@ -171,33 +171,24 @@
|
|||
:formatter="stateFormat"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.shareIncomeOri"
|
||||
align="center"
|
||||
prop="shareIncomeOri"
|
||||
width="130"
|
||||
:label="'分红收益' + `(${isLocalSymbol()})`"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
/> -->
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.serviceIncomeOri"
|
||||
align="center"
|
||||
prop="serviceIncomeOri"
|
||||
width="130"
|
||||
:label="'报单收益' + `(${isLocalSymbol()})`"
|
||||
:label="'服务补贴' + `(${isLocalSymbol()})`"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.repurRangeIncomeOri"
|
||||
align="center"
|
||||
prop="repurRangeIncomeOri"
|
||||
width="130"
|
||||
:formatter="stateFormat"
|
||||
:label="'复购级差收益' + `(${isLocalSymbol()})`"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.repurExpandIncomeOri"
|
||||
align="center"
|
||||
|
@ -213,23 +204,6 @@
|
|||
:label="'复购辅导收益' + `(${isLocalSymbol()})`"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
<el-table-column
|
||||
v-if="allTxt.repurCouponOri"
|
||||
align="center"
|
||||
prop="repurCouponOri"
|
||||
width="130"
|
||||
:formatter="stateFormat"
|
||||
:label="'复购券' + `(${isLocalSymbol()})`"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.repurCouponShareOri"
|
||||
align="center"
|
||||
prop="repurCouponShareOri"
|
||||
width="130"
|
||||
:formatter="stateFormat"
|
||||
:label="'复购券均分'"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.backPointsOri"
|
||||
|
@ -237,7 +211,7 @@
|
|||
prop="backPointsOri"
|
||||
width="130"
|
||||
:formatter="stateFormat"
|
||||
:label="'商城重消' + `(${isLocalSymbol()})`"
|
||||
:label="'重复消费' + `(${isLocalSymbol()})`"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
|
@ -249,24 +223,6 @@
|
|||
:label="'平台服务费' + `(${isLocalSymbol()})`"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.globalPointsOri"
|
||||
align="center"
|
||||
prop="globalPointsOri"
|
||||
width="130"
|
||||
:label="$t('直推级差') + '(¥)'"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.carAwardPointsOri"
|
||||
align="center"
|
||||
prop="carAwardPointsOri"
|
||||
width="130"
|
||||
:label="'车奖积分'"
|
||||
:formatter="stateFormat"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.purRealSubtotalOri"
|
||||
align="center"
|
||||
|
@ -275,22 +231,6 @@
|
|||
:formatter="stateFormat"
|
||||
:label="'首购实发小计' + `(${isLocalSymbol()})`"
|
||||
/>
|
||||
<!-- <el-table-column
|
||||
v-if="allTxt.purRealSubtotal"
|
||||
align="center"
|
||||
prop="purRealSubtotal"
|
||||
width="130"
|
||||
:label="'首购实发小计' + '($)'"
|
||||
:formatter="stateFormat"
|
||||
/> -->
|
||||
<el-table-column
|
||||
v-if="allTxt.cloudRealSubtotalOri"
|
||||
align="center"
|
||||
prop="cloudRealSubtotalOri"
|
||||
width="130"
|
||||
:formatter="stateFormat"
|
||||
:label="$t('级差小计') + '(¥)'"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.repurRealSubtotalOri"
|
||||
|
@ -301,15 +241,6 @@
|
|||
:label="'复购实发小计' + `(${isLocalSymbol()})`"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.repurCouponSubtotalOri"
|
||||
align="center"
|
||||
prop="repurCouponSubtotalOri"
|
||||
width="160"
|
||||
:formatter="stateFormat"
|
||||
:label="'复购券实发小计' + `(${isLocalSymbol()})`"
|
||||
/>
|
||||
|
||||
<el-table-column
|
||||
v-if="allTxt.realIncomeTotalOri"
|
||||
align="center"
|
||||
|
@ -381,110 +312,8 @@ export default {
|
|||
id: 0,
|
||||
text: '全选',
|
||||
checked: true
|
||||
},
|
||||
{
|
||||
id: 21,
|
||||
text: '直推收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'firstBuyAmountDollar'
|
||||
},
|
||||
{
|
||||
id: 22,
|
||||
text: '拓展收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'expandIncome'
|
||||
},
|
||||
{
|
||||
id: 23,
|
||||
text: '辅导收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'coachIncome'
|
||||
},
|
||||
{
|
||||
id: 24,
|
||||
text: '分红收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'shareIncome'
|
||||
},
|
||||
{
|
||||
id: 25,
|
||||
text: '报单收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'serviceIncome'
|
||||
},
|
||||
{
|
||||
id: 26,
|
||||
text: this.$t('幸运收益') + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudDirectIncome'
|
||||
},
|
||||
{
|
||||
id: 27,
|
||||
text: this.$t('级差收益') + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudPurIncome'
|
||||
},
|
||||
{
|
||||
id: 28,
|
||||
text: this.$t('平级收益') + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudRepurIncome'
|
||||
},
|
||||
{
|
||||
id: 39,
|
||||
text: '复购级差收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'repurRangeIncome'
|
||||
},
|
||||
{
|
||||
id: 30,
|
||||
text: '复购拓展收益' + '($)',
|
||||
checked: true,
|
||||
prop: 'repurExpandIncome'
|
||||
},
|
||||
{
|
||||
id: 31,
|
||||
text: '复购券',
|
||||
checked: true,
|
||||
prop: 'repurCoupon',
|
||||
flag: 1
|
||||
},
|
||||
{
|
||||
id: 32,
|
||||
text: '商城重消' + '($)',
|
||||
checked: true,
|
||||
prop: 'backPoints'
|
||||
},
|
||||
{
|
||||
id: 35,
|
||||
text: '平台服务费' + '($)',
|
||||
checked: true,
|
||||
prop: 'backPoints'
|
||||
},
|
||||
{
|
||||
id: 44,
|
||||
text: '首购实发小计' + '($)',
|
||||
checked: true,
|
||||
prop: 'purRealSubtotal'
|
||||
},
|
||||
{
|
||||
id: 45,
|
||||
text: this.$t('级差小计') + '($)',
|
||||
checked: true,
|
||||
prop: 'cloudRealSubtotal'
|
||||
},
|
||||
{
|
||||
id: 46,
|
||||
text: '复购实发小计' + '($)',
|
||||
checked: true,
|
||||
prop: 'repurRealSubtotal'
|
||||
},
|
||||
{
|
||||
id: 47,
|
||||
text: '实发收益总计' + '($)',
|
||||
checked: true,
|
||||
prop: 'realIncomeTotal'
|
||||
}
|
||||
|
||||
],
|
||||
creationTime: [],
|
||||
creationTime1: [],
|
||||
|
@ -524,212 +353,6 @@ export default {
|
|||
memberList: [],
|
||||
pkMemberTeam: [],
|
||||
pkVertex: [],
|
||||
dataList: [
|
||||
{
|
||||
name: 'memberCode',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'memberName',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'vertexName',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'teamName',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'period',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'settleDate',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'directIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'directIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'expandIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'expandIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'coachIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'coachIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'shareIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'shareIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'serviceIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'serviceIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudDirectIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudDirectIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudPurIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudPurIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudRepurIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudRepurIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurPushIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurPushIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurRangeIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurRangeIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurExpandIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurExpandIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurCouponOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurCoupon',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurCouponShareOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'backPointsOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'backPoints',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'serviceSpendOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'serviceSpend',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'globalPoints',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'carAwardPoints',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'storeIncome',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'hiFunIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'makerDirectIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'makerShareIncomeOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'purRealSubtotalOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'purRealSubtotal',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudRealSubtotalOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'cloudRealSubtotal',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurRealSubtotalOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurRealSubtotal',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'repurCouponSubtotalOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'makerRealSubtotalOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'realIncomeTotalOri',
|
||||
key: ''
|
||||
},
|
||||
{
|
||||
name: 'realIncomeTotal',
|
||||
key: ''
|
||||
}
|
||||
],
|
||||
flag: false,
|
||||
allTxt: {},
|
||||
pkTeamId: '', // 隶属团队id
|
||||
|
@ -814,18 +437,7 @@ export default {
|
|||
return year + '-' + month + '-' + day + ' '
|
||||
},
|
||||
isLocalSymbol,
|
||||
// getUserRole() {
|
||||
// getRoleMenu('BonusDetail').then((res) => {
|
||||
// this.dataList.forEach((item) => {
|
||||
// res.data.forEach((items) => {
|
||||
// if (item.name == items) {
|
||||
// item.key = items
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
// this.flag = true
|
||||
// })
|
||||
// },
|
||||
|
||||
getUserRole() {
|
||||
getRoleMenu('BonusDetail').then((res) => {
|
||||
const obj = {}
|
||||
|
@ -869,17 +481,6 @@ export default {
|
|||
this.pkVertex = []
|
||||
this.pkMemberTeam = []
|
||||
},
|
||||
getMenu(e, id) {
|
||||
if (e && id == 0) {
|
||||
this.menuList.forEach((item) => {
|
||||
this.$set(item, 'checked', true)
|
||||
})
|
||||
} else if (!e && id == 0) {
|
||||
this.menuList.forEach((item) => {
|
||||
this.$set(item, 'checked', false)
|
||||
})
|
||||
}
|
||||
},
|
||||
getData() {
|
||||
api.accountList().then((res) => {
|
||||
this.acList = res.data
|
||||
|
|
Loading…
Reference in New Issue