Commit a4273200 authored by 罗超's avatar 罗超

1

parent 02ba8713
......@@ -30,7 +30,7 @@
<div>
<table style="margin-left:10px;">
<tr>
<td style="width:42px;text-align:right;">
<td style="width:70px;text-align:right;">
卖价
</td>
<td colspan="2">
......@@ -39,6 +39,15 @@
@keyup.native="checkPrice(priceObj.courseObj, 'SellPrice')" :rules="[val => !!val || '请填写卖价']" />
</td>
</tr>
<tr>
<td style="width:70px;text-align:right;">
返佣设置
</td>
<td colspan="2">
<q-radio v-model="priceObj.courseObj.CommissionReType" :val="1" label="课耗返佣 " />
<q-radio v-model="priceObj.courseObj.CommissionReType" :val="2" label="付款返佣" />
</td>
</tr>
</table>
</div>
<div class="text-caption q-mb-lg q-mt-lg text-grey-6">
......@@ -219,6 +228,7 @@
CourseId: 0, //课程编号
OriginalPrice: 0, //原价
SellPrice: 0, //售价
CommissionReType:1,//1课耗返佣 2付款返佣
B2CRatio: 0, //直客首次报名优惠比例
B2CReNewRatio: 0, //直客续费优惠比例
B2BRebateRatio: 0, //一般同行首次报名返佣比例
......@@ -281,6 +291,7 @@
this.priceObj.courseObj.CourseId = res.Data.CourseId;
this.priceObj.courseObj.OriginalPrice = res.Data.OriginalPrice;
this.priceObj.courseObj.SellPrice = res.Data.SellPrice;
this.priceObj.courseObj.CommissionReType = res.Data.CommissionReType;
this.priceObj.courseObj.B2CRatio = res.Data.B2CRatio;
this.priceObj.courseObj.B2CReNewRatio = res.Data.B2CReNewRatio;
this.priceObj.courseObj.B2BRebateRatio = res.Data.B2BRebateRatio;
......
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