Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
a4273200
Commit
a4273200
authored
Dec 16, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
02ba8713
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
courseprice-form.vue
src/components/course/courseprice-form.vue
+12
-1
No files found.
src/components/course/courseprice-form.vue
View file @
a4273200
...
...
@@ -30,7 +30,7 @@
<div>
<table
style=
"margin-left:10px;"
>
<tr>
<td
style=
"width:
42
px;text-align:right;"
>
<td
style=
"width:
70
px;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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment