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
a0f193e1
Commit
a0f193e1
authored
Aug 26, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7c79d3fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
61 additions
and
2 deletions
+61
-2
courseprice-form.vue
src/components/course/courseprice-form.vue
+52
-2
yueke.vue
src/components/school/student/transfer-order/yueke.vue
+9
-0
No files found.
src/components/course/courseprice-form.vue
View file @
a0f193e1
...
@@ -34,8 +34,15 @@
...
@@ -34,8 +34,15 @@
<div>
<div>
<table
style=
"margin-left:10px;"
>
<table
style=
"margin-left:10px;"
>
<tr>
<tr>
<td
style=
"width:70px;text-align:right;"
>
<td
style=
"width:110px;text-align:right;"
>
卖价
<el-select
v-model=
"priceObj.courseObj.SellPriceType"
placeholder=
"请选择报价类型"
>
<el-option
v-for=
"item in PriceTypeList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</td>
</td>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
<q-input
filled
stack-label
maxlength=
"8"
style=
"padding-bottom:0;width:390px;margin-left:10px;"
dense
<q-input
filled
stack-label
maxlength=
"8"
style=
"padding-bottom:0;width:390px;margin-left:10px;"
dense
...
@@ -45,6 +52,35 @@
...
@@ -45,6 +52,35 @@
</tr>
</tr>
</table>
</table>
</div>
</div>
<div
class=
"text-caption q-mb-lg q-mt-lg text-grey-6 row wrap"
>
<span
class=
"course_Line"
></span>
其他价格设置
</div>
<div>
<table
style=
"margin-left:10px;"
>
<tr>
<td
style=
"width:110px;text-align:right;"
>
教材费
</td>
<td
colspan=
"2"
>
<q-input
filled
stack-label
maxlength=
"8"
style=
"padding-bottom:0;width:390px;margin-left:10px;"
dense
v-model=
"priceObj.courseObj.TextbookFee"
ref=
"TextbookFee"
label=
"价格"
@
keyup
.
native=
"checkPrice(priceObj.courseObj, 'TextbookFee')"
:rules=
"[val => !!val || '请填写教材费价格']"
/>
</td>
</tr>
<tr>
<td
style=
"width:110px;text-align:right;"
>
课件费
</td>
<td
colspan=
"2"
>
<q-input
filled
stack-label
maxlength=
"8"
style=
"padding-bottom:0;width:390px;margin-left:10px;"
dense
v-model=
"priceObj.courseObj.CoursewareFee"
ref=
"CoursewareFee"
label=
"价格"
@
keyup
.
native=
"checkPrice(priceObj.courseObj, 'CoursewareFee')"
:rules=
"[val => !!val || '请填写课件费价格']"
/>
</td>
</tr>
</table>
</div>
<div
class=
"text-caption q-mb-lg q-mt-lg text-grey-6"
v-if=
"false"
>
<div
class=
"text-caption q-mb-lg q-mt-lg text-grey-6"
v-if=
"false"
>
<span
class=
"course_Line"
></span>
<span
class=
"course_Line"
></span>
优惠
优惠
...
@@ -364,6 +400,13 @@
...
@@ -364,6 +400,13 @@
},
},
data
()
{
data
()
{
return
{
return
{
PriceTypeList
:[{
value
:
1
,
label
:
'课程总价'
},
{
value
:
2
,
label
:
'课时单价'
}],
persistent
:
true
,
persistent
:
true
,
optionTitle
:
""
,
optionTitle
:
""
,
saveCourseLoading
:
false
,
saveCourseLoading
:
false
,
...
@@ -373,6 +416,9 @@
...
@@ -373,6 +416,9 @@
CourseId
:
0
,
//课程编号
CourseId
:
0
,
//课程编号
OriginalPrice
:
0
,
//原价
OriginalPrice
:
0
,
//原价
SellPrice
:
0
,
//售价
SellPrice
:
0
,
//售价
SellPriceType
:
1
,
//价格类型:基础售价1/课时售价2
TextbookFee
:
0
,
//教材费
CoursewareFee
:
0
,
//课件费
CommissionReType
:
1
,
//返佣类型(1比例返佣,2-固定金额返佣)
CommissionReType
:
1
,
//返佣类型(1比例返佣,2-固定金额返佣)
B2CRatio
:
0
,
//直客首次报名优惠比例
B2CRatio
:
0
,
//直客首次报名优惠比例
B2CReNewRatio
:
0
,
//直客续费优惠比例
B2CReNewRatio
:
0
,
//直客续费优惠比例
...
@@ -475,6 +521,9 @@
...
@@ -475,6 +521,9 @@
this
.
priceObj
.
courseObj
.
CourseId
=
res
.
Data
.
CourseId
;
this
.
priceObj
.
courseObj
.
CourseId
=
res
.
Data
.
CourseId
;
this
.
priceObj
.
courseObj
.
OriginalPrice
=
res
.
Data
.
OriginalPrice
;
this
.
priceObj
.
courseObj
.
OriginalPrice
=
res
.
Data
.
OriginalPrice
;
this
.
priceObj
.
courseObj
.
SellPrice
=
res
.
Data
.
SellPrice
;
this
.
priceObj
.
courseObj
.
SellPrice
=
res
.
Data
.
SellPrice
;
this
.
priceObj
.
courseObj
.
SellPriceType
=
res
.
Data
.
SellPriceType
;
this
.
priceObj
.
courseObj
.
TextbookFee
=
res
.
Data
.
TextbookFee
;
this
.
priceObj
.
courseObj
.
CoursewareFee
=
res
.
Data
.
CoursewareFee
;
this
.
priceObj
.
courseObj
.
CommissionReType
=
res
.
Data
.
CommissionReType
;
this
.
priceObj
.
courseObj
.
CommissionReType
=
res
.
Data
.
CommissionReType
;
this
.
priceObj
.
courseObj
.
B2CRatio
=
res
.
Data
.
B2CRatio
;
this
.
priceObj
.
courseObj
.
B2CRatio
=
res
.
Data
.
B2CRatio
;
this
.
priceObj
.
courseObj
.
B2CRatioType
=
res
.
Data
.
B2CRatioType
;
this
.
priceObj
.
courseObj
.
B2CRatioType
=
res
.
Data
.
B2CRatioType
;
...
@@ -526,6 +575,7 @@
...
@@ -526,6 +575,7 @@
this
.
priceObj
.
courseObj
.
CourseId
=
0
;
this
.
priceObj
.
courseObj
.
CourseId
=
0
;
this
.
priceObj
.
courseObj
.
OriginalPrice
=
0
;
this
.
priceObj
.
courseObj
.
OriginalPrice
=
0
;
this
.
priceObj
.
courseObj
.
SellPrice
=
0
;
this
.
priceObj
.
courseObj
.
SellPrice
=
0
;
this
.
priceObj
.
courseObj
.
SellPriceType
=
1
;
}
}
},
},
//关闭弹窗
//关闭弹窗
...
...
src/components/school/student/transfer-order/yueke.vue
View file @
a0f193e1
...
@@ -137,7 +137,16 @@ export default {
...
@@ -137,7 +137,16 @@ export default {
label
:
"直客价"
,
label
:
"直客价"
,
align
:
"left"
,
align
:
"left"
,
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
)
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
)
},
{
name
:
"SellPriceType"
,
required
:
true
,
label
:
"价格类型"
,
align
:
"left"
,
field
:
row
=>
row
.
SellPriceType
==
1
?
'课程总价'
:
(
row
.
SellPriceType
==
2
?
'课时单价'
:
''
)
}
}
],
],
// msg: {
// msg: {
// pageIndex: 1,
// pageIndex: 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