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
8f723a68
Commit
8f723a68
authored
Dec 22, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
49935730
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
10 deletions
+71
-10
courseprice-form.vue
src/components/course/courseprice-form.vue
+68
-6
orderlist.vue
src/components/sale/orderlist.vue
+3
-3
student-left.vue
src/components/school/student/student-left.vue
+0
-1
No files found.
src/components/course/courseprice-form.vue
View file @
8f723a68
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
</tr>
</tr>
<tr>
<tr>
<td
style=
"width:70px;"
>
<td
style=
"width:70px;"
>
一般同行
同行返佣
</td>
</td>
<td>
<td>
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.B2BRebateRatio"
ref=
"B2BRebateRatio"
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.B2BRebateRatio"
ref=
"B2BRebateRatio"
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
校代
校代
返佣
</td>
</td>
<td>
<td>
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.SchoolRebateRatio"
ref=
"SchoolRebateRatio"
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.SchoolRebateRatio"
ref=
"SchoolRebateRatio"
...
@@ -178,7 +178,7 @@
...
@@ -178,7 +178,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
转介
学员转介返佣
</td>
</td>
<td>
<td>
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.TransIntroductceRatio"
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.TransIntroductceRatio"
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
</tr>
</tr>
<tr>
<tr>
<td>
<td>
内推
内推
返佣
</td>
</td>
<td>
<td>
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.InnerRecommendRatio"
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.InnerRecommendRatio"
...
@@ -250,6 +250,43 @@
...
@@ -250,6 +250,43 @@
</div>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<td>
直客返佣
</td>
<td>
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.B2CRbRatio"
ref=
"B2CRbRatio"
@
keyup
.
native=
"checkPrice(priceObj.courseObj, 'B2CRbRatio'),getShouBAO(11)"
suffix=
"%"
/>
</td>
<td
style=
"text-align:center"
>
{{
getShouBAO
(
11
)
}}
</td>
<td
style=
"width:200px;"
>
<div
class=
"row wrap"
>
<q-select
class=
"col-7"
filled
dense
v-model=
"priceObj.courseObj.B2CRbRatioType"
:options=
"CourseRebateList"
emit-value
map-options
option-value=
"Id"
option-label=
"Name"
label=
"返佣设置"
/>
<q-input
class=
"col-6"
v-if=
"priceObj.courseObj.B2CRbRatioType==3"
filled
stack-label
dense
v-model=
"priceObj.courseObj.B2CRbRatioValue"
@
keyup
.
native=
"checkPrice(priceObj.courseObj, 'B2CRbRatioValue')"
style=
"width:75px;margin-left:5px;"
/>
</div>
</td>
<td>
<q-input
filled
stack-label
dense
v-model=
"priceObj.courseObj.B2CRNRatio"
ref=
"B2CRNRatio"
@
keyup
.
native=
"checkPrice(priceObj.courseObj, 'B2CRNRatio'),getShouBAO(12)"
suffix=
"%"
/>
</td>
<td
style=
"text-align:center"
>
{{
getShouBAO
(
12
)
}}
</td>
<td
style=
"width:200px;"
>
<div
class=
"row wrap"
>
<q-select
class=
"col-7"
filled
dense
v-model=
"priceObj.courseObj.B2CRNRatioType"
:options=
"CourseRebateList"
emit-value
map-options
option-value=
"Id"
option-label=
"Name"
label=
"返佣设置"
/>
<q-input
class=
"col-5"
v-if=
"priceObj.courseObj.B2CRNRatioType==3"
filled
stack-label
dense
v-model=
"priceObj.courseObj.B2CRNRatioValue"
@
keyup
.
native=
"checkPrice(priceObj.courseObj, 'B2CRNRatioValue')"
style=
"width:75px;margin-left:5px;"
/>
</div>
</td>
</tr>
</table>
</table>
</q-card-section>
</q-card-section>
...
@@ -316,7 +353,13 @@
...
@@ -316,7 +353,13 @@
InnerRecommendRatioValue
:
''
,
InnerRecommendRatioValue
:
''
,
InnerRecommendReNewRatio
:
0
,
//內推续费返佣比例
InnerRecommendReNewRatio
:
0
,
//內推续费返佣比例
InnerRecommendReNewRatioType
:
1
,
InnerRecommendReNewRatioType
:
1
,
InnerRecommendReNewRatioValue
:
''
InnerRecommendReNewRatioValue
:
''
,
B2CRbRatio
:
0
,
//直客首次报名返佣比例
B2CRbRatioType
:
1
,
//直客首次报名返佣类型
B2CRbRatioValue
:
""
,
// 直客首次报名返佣类型值
B2CRNRatio
:
0
,
//直客续费返佣比例
B2CRNRatioType
:
1
,
//直客续费返佣类型
B2CRNRatioValue
:
""
,
//直客续费返佣类型值
},
},
priceList
:
[]
//价格列表
priceList
:
[]
//价格列表
},
},
...
@@ -410,7 +453,12 @@
...
@@ -410,7 +453,12 @@
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
=
res
.
Data
.
InnerRecommendReNewRatio
;
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
=
res
.
Data
.
InnerRecommendReNewRatio
;
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatioType
=
res
.
Data
.
InnerRecommendReNewRatioType
;
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatioType
=
res
.
Data
.
InnerRecommendReNewRatioType
;
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatioValue
=
res
.
Data
.
InnerRecommendReNewRatioValue
;
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatioValue
=
res
.
Data
.
InnerRecommendReNewRatioValue
;
this
.
priceObj
.
courseObj
.
B2CRbRatio
=
res
.
Data
.
B2CRbRatio
;
this
.
priceObj
.
courseObj
.
B2CRbRatioType
=
res
.
Data
.
B2CRbRatioType
;
this
.
priceObj
.
courseObj
.
B2CRbRatioValue
=
res
.
Data
.
B2CRbRatioValue
;
this
.
priceObj
.
courseObj
.
B2CRNRatio
=
res
.
Data
.
B2CRNRatio
;
this
.
priceObj
.
courseObj
.
B2CRNRatioType
=
res
.
Data
.
B2CRNRatioType
;
this
.
priceObj
.
courseObj
.
B2CRNRatioValue
=
res
.
Data
.
B2CRNRatioValue
;
});
});
queryCoursePreferentialList
({
queryCoursePreferentialList
({
CourseId
:
this
.
saveObj
.
CourseId
CourseId
:
this
.
saveObj
.
CourseId
...
@@ -558,6 +606,20 @@
...
@@ -558,6 +606,20 @@
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
11
)
{
if
(
this
.
priceObj
.
courseObj
.
B2CRbRatio
)
{
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
B2CRbRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
return
Count
;
}
}
if
(
type
==
12
)
{
if
(
this
.
priceObj
.
courseObj
.
B2CRNRatio
)
{
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
B2CRNRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
return
Count
;
}
}
}
}
}
}
};
};
...
...
src/components/sale/orderlist.vue
View file @
8f723a68
...
@@ -170,9 +170,9 @@
...
@@ -170,9 +170,9 @@
item.TargetOrderId
item.TargetOrderId
}}
}}
</div>
</div>
<div>
创建人:
{{ item.CreateByName }}
</div>
<div>
{{ item.CreateByName }}
</div>
<div>
课程顾问
:
{{ item.ConsultantName||'无' }}
</div>
<div>
课程顾问
:
{{ item.ConsultantName||'无' }}
</div>
<div>
市场专员
:
{{ item.EnterName ||'无' }}
</div>
<div>
市场专员
:
{{ item.EnterName ||'无' }}
</div>
<div
style=
"margin-top: 10px"
>
{{ item.CreateTime }}
</div>
<div
style=
"margin-top: 10px"
>
{{ item.CreateTime }}
</div>
<
template
v-if=
"AuthorityObj.isShowName"
>
<
template
v-if=
"AuthorityObj.isShowName"
>
...
...
src/components/school/student/student-left.vue
View file @
8f723a68
...
@@ -417,7 +417,6 @@
...
@@ -417,7 +417,6 @@
}
}
},
},
watch
:{
watch
:{
stuData
(){
stuData
(){
this
.
init
();
this
.
init
();
...
...
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