Commit afce27d0 authored by Mac's avatar Mac

修改下

parent d01c14b6
...@@ -30,6 +30,69 @@ ...@@ -30,6 +30,69 @@
{{props.row.Type==1?"留学":"就业"}} {{props.row.Type==1?"留学":"就业"}}
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-B2CRatio="props">
<q-td>
{{props.row.B2CRatio}}%
</q-td>
</template>
<template v-slot:body-cell-B2CReNewRatio="props">
<q-td>
{{props.row.B2CReNewRatio}}%
</q-td>
</template>
<template v-slot:body-cell-B2BRebateRatio="props">
<q-td>
{{props.row.B2BRebateRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-B2BReNewRatio="props">
<q-td>
{{props.row.B2BReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-SchoolRebateRatio="props">
<q-td>
{{props.row.SchoolRebateRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-SchoolReNewRatio="props">
<q-td>
{{props.row.SchoolReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-TransIntroductceRatio="props">
<q-td>
{{props.row.TransIntroductceRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-TransIntroductceReNewRatio="props">
<q-td>
{{props.row.TransIntroductceReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-InnerRecommendRatio="props">
<q-td>
{{props.row.InnerRecommendRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-InnerRecommendReNewRatio="props">
<q-td>
{{props.row.InnerRecommendReNewRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-B2CRbRatio="props">
<q-td>
{{props.row.B2CRbRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-B2CRNRatio="props">
<q-td>
{{props.row.B2CRNRatio}}{{props.row.CommissionReType==1?'%':''}}
</q-td>
</template>
<template v-slot:body-cell-PreferentialList="props"> <template v-slot:body-cell-PreferentialList="props">
<q-td :props="props" style="padding-right:0px"> <q-td :props="props" style="padding-right:0px">
<div v-for="x in props.value"> <div v-for="x in props.value">
...@@ -169,41 +232,125 @@ ...@@ -169,41 +232,125 @@
field: 'Type', field: 'Type',
align: 'left' align: 'left'
}, },
{ // {
name: 'SuggestPrice', // name: 'SuggestPrice',
label: '建议卖价', // label: '建议卖价',
field: 'SuggestPrice', // field: 'SuggestPrice',
align: 'left', // align: 'left',
field: row => row.SuggestPrice.toFixed(2) // field: row => row.SuggestPrice.toFixed(2)
}, // },
{ {
name: 'SellPrice', name: 'SellPrice',
label: '实际卖价', label: '实际卖价',
field: 'SellPrice', field: 'SellPrice',
align: 'left', align: 'left',
field: row => row.SellPrice.toFixed(2) field: row => row.SellPrice.toFixed(2)
},
{
name: "B2CRatio",
required: true,
label: "直客优惠",
align: "left",
field: (row) => row.B2CRatio
},
{
name: "B2CReNewRatio",
required: true,
label: "直客优惠续费",
align: "left",
field: (row) => row.B2CReNewRatio
},
{
name: "B2BRebateRatio",
required: true,
label: "一般同行返佣",
align: "left",
field: (row) => row.B2BRebateRatio
},
{
name: "B2BReNewRatio",
required: true,
label: "一般同行续费返佣",
align: "left",
field: (row) => row.B2BReNewRatio
},
{
name: "SchoolRebateRatio",
required: true,
label: "校园同行返佣",
align: "left",
field: (row) => row.SchoolRebateRatio
},
{
name: "SchoolReNewRatio",
required: true,
label: "校园同行续费返佣",
align: "left",
field: (row) => row.SchoolReNewRatio
},
{
name: "TransIntroductceRatio",
required: true,
label: "转介返佣",
align: "left",
field: (row) => row.TransIntroductceRatio
},
{
name: "TransIntroductceReNewRatio",
required: true,
label: "转介续费返佣",
align: "left",
field: (row) => row.TransIntroductceReNewRatio
},
{
name: "InnerRecommendRatio",
required: true,
label: "内推返佣",
align: "left",
field: (row) => row.InnerRecommendRatio
}, },
{ {
name: "PreferentialList", name: "InnerRecommendReNewRatio",
required: true, required: true,
label: "优惠政策", label: "内推续费返佣",
align: "left", align: "left",
field: row => row.PreferentialList field: (row) => row.InnerRecommendReNewRatio
}, },
{ {
name: "PreferentialListSellCommission", name: "B2CRbRatio",
required: true, required: true,
label: "销售佣金", label: "直客返佣",
align: "left", align: "left",
field: row => row.PreferentialList field: (row) => row.B2CRbRatio
}, },
{ {
name: "PreferentialListB2BCommission", name: "B2CRNRatio",
required: true, required: true,
label: "同行佣金", label: "直客续费返佣",
align: "left", align: "left",
field: row => row.PreferentialList field: (row) => row.B2CRNRatio
}, },
// {
// name: "PreferentialList",
// required: true,
// label: "优惠政策",
// align: "left",
// field: row => row.PreferentialList
// },
// {
// name: "PreferentialListSellCommission",
// required: true,
// label: "销售佣金",
// align: "left",
// field: row => row.PreferentialList
// },
// {
// name: "PreferentialListB2BCommission",
// required: true,
// label: "同行佣金",
// align: "left",
// field: row => row.PreferentialList
// },
{ {
name: 'Remark', name: 'Remark',
label: '备注', label: '备注',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment