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
f398d111
Commit
f398d111
authored
Feb 07, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
402471c5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
100 deletions
+59
-100
japaneseTrain.vue
src/pages/sale/japaneseTrain.vue
+36
-44
studyjob.vue
src/pages/sale/studyjob.vue
+23
-56
No files found.
src/pages/sale/japaneseTrain.vue
View file @
f398d111
This diff is collapsed.
Click to expand it.
src/pages/sale/studyjob.vue
View file @
f398d111
...
...
@@ -18,7 +18,7 @@
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-right-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
:visible-columns=
"visibleColumns"
>
<template
v-slot:top
=
"props"
>
<template
v-slot:top
>
<div
class=
"col-2 q-table__title"
>
留学就业产品
</div>
<q-space
/>
<div
class=
"page-option"
>
...
...
@@ -50,52 +50,49 @@
{{
props
.
row
.
B2BReNewRatio
}}{{
props
.
row
.
CommissionReType
==
1
?
'%'
:
''
}}
</q-td>
</
template
>
<
template
v-slot:body-cell-SchoolRebateRatio=
"props"
>
<
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"
>
<
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"
>
<
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"
>
<
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"
>
<
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"
>
<
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"
>
<
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"
>
<
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"
>
<q-td
:props=
"props"
style=
"padding-right:0px"
>
<div
v-for=
"
x in props.value
"
>
<div
v-for=
"
(x,xIndex) in props.value"
:key=
"xIndex
"
>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
买
{{
x
.
BuyNum
}}
送
{{
x
.
SendNum
}}
</div>
...
...
@@ -135,7 +132,7 @@
</template>
<
template
v-slot:body-cell-PreferentialListSellCommission=
"props"
>
<q-td
:props=
"props"
style=
"padding-right:0px;padding-left:0px"
>
<div
v-for=
"
x in props.value
"
>
<div
v-for=
"
(x,xIndex) in props.value"
:key=
"xIndex+10000
"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px;padding-right: 16px"
:class=
"
{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
{{
x
.
SaleCommissionType
==
1
?
"¥"
:
""
...
...
@@ -153,7 +150,7 @@
</
template
>
<
template
v-slot:body-cell-PreferentialListB2BCommission=
"props"
>
<q-td
:props=
"props"
style=
"padding-left:0px"
>
<div
v-for=
"
x in props.value
"
>
<div
v-for=
"
(x,xIndex) in props.value"
:key=
"xIndex+20000
"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px"
:class=
"
{ 'text-red': x.B2BCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{
x
.
B2BCommissionType
==
1
?
"¥"
:
""
...
...
@@ -183,8 +180,8 @@
<q-dialog
v-model=
"showForm"
persistent
>
<quotationstudy-form
:obj=
"null"
@
save=
"showForm=false"
></quotationstudy-form>
</q-dialog>
<studyorderForm
v-if=
"isShowOrderForm"
:save-obj=
"studyObj"
:orderType=
"2"
:modityOrderType=
"1"
@
close=
"cloStudyform"
@
save=
"refreshPage()"
></studyorderForm>
<studyorderForm
v-if=
"isShowOrderForm"
:save-obj=
"studyObj"
:orderType=
"2"
:modityOrderType=
"1"
@
close=
"cloStudyform"
@
save=
"refreshPage()"
></studyorderForm>
</div>
</div>
</template>
...
...
@@ -227,14 +224,14 @@
align
:
'left'
},
{
name
:
'ProductTypeName'
,
label
:
'类型'
,
name
:
'ProductTypeName'
,
label
:
'类型'
,
field
:
'ProductTypeName'
,
align
:
'left'
},
{
name
:
'StudyCountryName'
,
label
:
'留学国家'
,
name
:
'StudyCountryName'
,
label
:
'留学国家'
,
field
:
'StudyCountryName'
,
align
:
'left'
},
...
...
@@ -244,13 +241,6 @@
field
:
'Type'
,
align
:
'left'
},
// {
// name: 'SuggestPrice',
// label: '建议卖价',
// field: 'SuggestPrice',
// align: 'left',
// field: row => row.SuggestPrice.toFixed(2)
// },
{
name
:
'SellPrice'
,
label
:
'实际卖价'
,
...
...
@@ -258,7 +248,7 @@
align
:
'left'
,
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
)
},
{
{
name
:
"B2CRatio"
,
required
:
true
,
label
:
"直客优惠"
,
...
...
@@ -342,28 +332,7 @@
align
:
"left"
,
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'
,
label
:
'备注'
,
field
:
'Remark'
,
...
...
@@ -393,7 +362,8 @@
],
//表格可见列
visibleColumns
:
[
'Name'
,
'ProductTypeName'
,
'StudyCountryName'
,
'Type'
,
'SuggestPrice'
,
'SellPrice'
,
"PreferentialList"
,
"PreferentialListSellCommission"
,
'Name'
,
'ProductTypeName'
,
'StudyCountryName'
,
'Type'
,
'SuggestPrice'
,
'SellPrice'
,
"PreferentialList"
,
"PreferentialListSellCommission"
,
"PreferentialListB2BCommission"
,
"EducationCommission"
,
'SaleStateName'
,
'Id'
,
],
//可见列
...
...
@@ -459,7 +429,6 @@
},
}
}
</
script
>
<
style
scoped
>
.border-bottom
{
...
...
@@ -467,9 +436,7 @@
padding-bottom
:
5px
;
margin-bottom
:
5px
;
}
</
style
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
\ No newline at end of file
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