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
c2eaa66a
Commit
c2eaa66a
authored
Dec 31, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理字段绑错的问题
parent
875de38a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
103 additions
and
18 deletions
+103
-18
course.vue
src/pages/course/course.vue
+79
-14
courseList.vue
src/pages/sale/courseList.vue
+22
-2
studyabroad.vue
src/pages/studyAbroad/studyabroad.vue
+2
-2
No files found.
src/pages/course/course.vue
View file @
c2eaa66a
...
...
@@ -48,6 +48,71 @@
<span
v-html=
"props.value"
></span>
</q-td>
</
template
>
<
template
v-slot:body-cell-B2CRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
B2CRatio
}}
%
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-B2CReNewRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
B2CReNewRatio
}}
%
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-B2BRebateRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
B2BRebateRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-B2BReNewRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
B2BReNewRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-SchoolRebateRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
SchoolRebateRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-SchoolReNewRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
SchoolReNewRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-TransIntroductceRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
TransIntroductceRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-TransIntroductceReNewRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
TransIntroductceReNewRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-InnerRecommendRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
InnerRecommendRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-InnerRecommendReNewRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
InnerRecommendReNewRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-B2CRbRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
B2CRbRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-B2CRNRatio=
"props"
>
<q-td
:props=
"props"
>
<span>
{{
props
.
row
.
B2CRNRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-PreferentialList=
"props"
>
<q-td
:props=
"props"
style=
"padding-right: 0px"
>
<div
v-for=
"x in props.value"
>
...
...
@@ -258,72 +323,72 @@
{
name
:
"B2BRebateRatio"
,
required
:
true
,
label
:
"一般同行返佣
比例
"
,
label
:
"一般同行返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
B2BRebateRatio
},
{
name
:
"B2BReNewRatio"
,
required
:
true
,
label
:
"一般同行续费返佣
比例
"
,
label
:
"一般同行续费返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
B2BReNewRatio
},
{
name
:
"SchoolRebateRatio"
,
required
:
true
,
label
:
"校园同行返佣
比例
"
,
label
:
"校园同行返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
SchoolRebateRatio
},
{
name
:
"SchoolReNewRatio"
,
required
:
true
,
label
:
"校园同行续费返佣
比例
"
,
label
:
"校园同行续费返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
SchoolReNewRatio
},
{
name
:
"TransIntroductceRatio"
,
required
:
true
,
label
:
"转介返佣
比例
"
,
label
:
"转介返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
TransIntroductceRatio
},
{
name
:
"TransIntroductceReNewRatio"
,
required
:
true
,
label
:
"转介续费返佣
比例
"
,
label
:
"转介续费返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
TransIntroductceReNewRatio
},
{
name
:
"InnerRecommendRatio"
,
required
:
true
,
label
:
"内推返佣
比例
"
,
label
:
"内推返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
InnerRecommendRatio
},
{
name
:
"
B2CRb
Ratio"
,
name
:
"
InnerRecommendReNew
Ratio"
,
required
:
true
,
label
:
"内推续费返佣
比例
"
,
label
:
"内推续费返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
B2CRb
Ratio
field
:
(
row
)
=>
row
.
InnerRecommendReNew
Ratio
},
{
name
:
"B2CRbRatio
Value
"
,
name
:
"B2CRbRatio"
,
required
:
true
,
label
:
"直客返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
B2CRbRatio
Value
field
:
(
row
)
=>
row
.
B2CRbRatio
},
{
name
:
"
InnerRecommendReNew
Ratio"
,
name
:
"
B2CRN
Ratio"
,
required
:
true
,
label
:
"直客续费返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
InnerRecommendReNew
Ratio
field
:
(
row
)
=>
row
.
B2CRN
Ratio
},
// {
...
...
src/pages/sale/courseList.vue
View file @
c2eaa66a
...
...
@@ -136,6 +136,7 @@
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"创建报价单"
@
click=
"createQuotation"
/>
</div>
</
template
>
<
template
v-slot:body=
"props"
>
<q-tr
:props=
"props"
>
<q-td
auto-width
>
...
...
@@ -212,6 +213,17 @@
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</q-td>
<q-td
v-else-if=
"col.name == 'B2CRatio'"
style=
"padding-left:0px"
:key=
"col.name"
>
{{col.value}}%
</q-td>
<q-td
v-else-if=
"col.name == 'B2CReNewRatio' "
style=
"padding-left:0px"
:key=
"col.name"
>
{{col.value}}%
</q-td>
<q-td
v-else-if=
"col.name == 'CommissionReType' "
style=
"padding-left:0px"
:key=
"col.name"
>
<span
v-if=
"col.value==1"
>
比例返佣
</span>
<span
v-if=
"col.value==2"
>
固定金额
</span>
</q-td>
<q-td
v-else-if=
"col.name == 'TeacherList'"
:key=
"col.name"
>
<div
v-for=
"(x,index) in col.value"
:key=
"index"
>
<q-chip>
...
...
@@ -368,6 +380,14 @@
align
:
"left"
,
field
:
(
row
)
=>
row
.
B2CReNewRatio
},
{
name
:
"CommissionReType"
,
required
:
true
,
label
:
"返佣类型"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
CommissionReType
},
{
name
:
"B2BRebateRatio"
,
required
:
true
,
...
...
@@ -432,11 +452,11 @@
field
:
(
row
)
=>
row
.
B2CRbRatio
},
{
name
:
"B2CR
bRatioValue
"
,
name
:
"B2CR
NRatio
"
,
required
:
true
,
label
:
"直客续费返佣"
,
align
:
"left"
,
field
:
(
row
)
=>
row
.
B2CR
bRatioValue
field
:
(
row
)
=>
row
.
B2CR
NRatio
},
{
...
...
src/pages/studyAbroad/studyabroad.vue
View file @
c2eaa66a
...
...
@@ -59,10 +59,10 @@
{{
props
.
row
.
SellPrice
}}
</q-td>
<q-td
key=
"B2CRatio"
:props=
"props"
>
{{
props
.
row
.
B2CRatio
}}
{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
{{
props
.
row
.
B2CRatio
}}
%
</q-td>
<q-td
key=
"B2CReNewRatio"
:props=
"props"
>
{{
props
.
row
.
B2CReNewRatio
}}
{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
{{
props
.
row
.
B2CReNewRatio
}}
%
</q-td>
<q-td
key=
"B2BRebateRatio"
:props=
"props"
>
{{
props
.
row
.
B2BRebateRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
...
...
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