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
70499f36
Commit
70499f36
authored
Sep 03, 2024
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
0e1a109f
7f86410c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
87 deletions
+28
-87
quasar.conf.js
quasar.conf.js
+1
-1
orderlist.vue
src/components/sale/orderlist.vue
+18
-83
abroad-form.vue
src/components/school/student/abroad-form.vue
+4
-0
study-form.vue
src/components/school/student/transfer-order/study-form.vue
+3
-1
studyOrder.vue
src/pages/sale/studyOrder.vue
+1
-1
studyOrderStatistics.vue
src/pages/sale/studyOrderStatistics.vue
+1
-1
No files found.
quasar.conf.js
View file @
70499f36
...
...
@@ -47,7 +47,7 @@ module.exports = function(ctx) {
vueRouterMode
:
'history'
,
// available values: 'hash', 'history'
env
:
ctx
.
dev
?
{
API
:
'http://192.168.5.
46:8300
/api'
,
API
:
'http://192.168.5.
57:5001
/api'
,
// API: 'http://192.168.10.128:8300/api',
// API: 'https://eduapi.oytour.com/api',
API_ZC
:
'http://192.168.5.238:8087/api'
,
...
...
src/components/sale/orderlist.vue
View file @
70499f36
...
...
@@ -2,86 +2,16 @@
<
template
>
<div
class=
"classorder"
>
<div
class=
"table-head"
>
<!--
<table
class=
"enrollTotalSearchTable"
border=
"1"
cellspacing=
"0"
cellpadding=
"0"
>
<colgroup>
<col
width=
"12%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<template
v-if=
"AuthorityObj.isShowStudyRebate"
>
<col
width=
"6%"
/>
</
template
>
<col
width=
"6%"
/>
<col
/>
</colgroup>
<thead>
<tr
class=
"fix_th"
>
<th
width=
"12%"
>
单号
</th>
<th
width=
"6%"
>
人数
</th>
<th
width=
"6%"
>
单价
</th>
<th
width=
"6%"
>
教材费
</th>
<th
width=
"6%"
>
课件费
</th>
<th
width=
"6%"
>
总课时
</th>
<th
width=
"6%"
>
成交
</th>
<th
width=
"6%"
>
应收总额
</th>
<th
width=
"6%"
>
实收
</th>
<th
width=
"6%"
>
优惠
</th>
<th
width=
"6%"
>
少价金额
</th>
<th
width=
"6%"
>
退款
</th>
<th
width=
"6%"
>
平台税金
</th>
<th
width=
"6%"
>
待收金额
</th>
<
template
v-if=
"AuthorityObj.isShowStudyRebate"
>
<th
width=
"6%"
>
留学订单回佣
</th>
</
template
>
<th
width=
"6%"
>
状态
</th>
<th
v-if=
"viewType == 0"
>
操作
</th>
</tr>
</thead>
</table>
-->
</div>
<div
class=
"table-body"
v-loading=
"loading"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<!-- <colgroup>
<col width="12%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<col width="6%" />
<template v-if="AuthorityObj.isShowStudyRebate">
<col width="6%" />
</template>
<col width="6%" />
<col v-if="viewType == 0" />
</colgroup> -->
<tr
class=
"fix_th"
>
<th
width=
"12%"
>
单号
</th>
<th
width=
"6%"
>
人数
</th>
<th
width=
"6%"
>
单价
</th>
<th
width=
"6%"
>
教材费
</th>
<th
width=
"6%"
>
课件费
</th>
<th
width=
"6%"
>
总课时
</th>
<th
width=
"6%"
v-if=
"studyOrderType!=1"
>
教材费
</th>
<th
width=
"6%"
v-if=
"studyOrderType!=1"
>
课件费
</th>
<th
width=
"6%"
v-if=
"studyOrderType!=1"
>
总课时
</th>
<th
width=
"6%"
>
成交
</th>
<th
width=
"6%"
>
应收总额
</th>
<th
width=
"6%"
>
实收
</th>
...
...
@@ -261,20 +191,21 @@
<
template
v-if=
"item.Class_Price >= 0"
>
{{
item
.
Class_Price
.
toFixed
(
2
)
}}
</br>
(
{{
item
.
SellPriceType
==
2
?
'课时单价'
:
'课时总价'
}}
)
<template
v-if=
"studyOrderType!=1"
>
(
{{
item
.
SellPriceType
==
2
?
'课时单价'
:
'课时总价'
}}
)
</
template
>
</template>
</td>
<td
style=
"border:none;"
>
<td
style=
"border:none;"
v-if=
"studyOrderType!=1"
>
<
template
v-if=
"item.TextbookFee >= 0"
>
{{
item
.
TextbookFee
.
toFixed
(
2
)
}}
</
template
>
</td>
<td
style=
"border:none;"
>
<td
style=
"border:none;"
v-if=
"studyOrderType!=1"
>
<
template
v-if=
"item.CoursewareFee >= 0"
>
{{
item
.
CoursewareFee
.
toFixed
(
2
)
}}
</
template
>
</td>
<td
style=
"border:none;"
>
<td
style=
"border:none;"
v-if=
"studyOrderType!=1"
>
{{ item.TotalClassHours }}
...
...
@@ -519,7 +450,7 @@
</td>
</tr>
<tr>
<td
:colspan=
"
17
"
style=
"text-align: left"
>
<td
:colspan=
"
studyOrderType!=1?17:14
"
style=
"text-align: left"
>
<div
class=
"row"
v-if=
"item.GuestList && item.GuestList.length > 0"
>
学生名单:
<
template
v-for=
"(x, j) in item.GuestList"
:index=
"j"
>
...
...
@@ -591,7 +522,7 @@
</td>
</tr>
<tr>
<td
:colspan=
"
17
"
style=
"height: 168px;text-align: left"
>
<td
:colspan=
"
studyOrderType!=1?17:14
"
style=
"height: 168px;text-align: left"
>
<div
class=
"col row remarks q-gutter-x-md"
>
<div
class=
"col"
>
<div>
销售备注:
</div>
...
...
@@ -950,7 +881,7 @@
</template>
<tbody
v-if=
"cancelList && cancelList.length > 0"
>
<tr>
<td
:colspan=
"
17
"
>
<td
:colspan=
"
studyOrderType!=1?17:14
"
>
<span
style=
"color:red;cursor:pointer;font-weight:bold;"
@
click=
"isShowCancel = !isShowCancel"
>
取消订单
</span>
</td>
</tr>
...
...
@@ -976,17 +907,17 @@
{{
item
.
Class_Price
.
toFixed
(
2
)
}}
</
template
>
</td>
<td
style=
"border:none;"
>
<td
style=
"border:none;"
v-if=
"studyOrderType!=1"
>
<
template
v-if=
"item.TextbookFee >= 0"
>
{{
item
.
TextbookFee
.
toFixed
(
2
)
}}
</
template
>
</td>
<td
style=
"border:none;"
>
<td
style=
"border:none;"
v-if=
"studyOrderType!=1"
>
<
template
v-if=
"item.CoursewareFee >= 0"
>
{{
item
.
CoursewareFee
.
toFixed
(
2
)
}}
</
template
>
</td>
<td
style=
"border:none;"
>
<td
style=
"border:none;"
v-if=
"studyOrderType!=1"
>
{{ item.TotalClassHours }}
</td>
...
...
@@ -1361,6 +1292,10 @@
type
:
Number
,
default
:
0
//1-销售修改,2-OP修改,3-总经理修改
},
studyOrderType
:
{
type
:
Number
,
default
:
0
//1-留学订单
},
isShowEditBtn
:
{
type
:
Number
,
default
:
null
...
...
src/components/school/student/abroad-form.vue
View file @
70499f36
...
...
@@ -124,6 +124,10 @@
if
(
val
&&
val
.
length
>
0
){
this
.
saveObj
=
val
[
0
];
this
.
defaultCourse
=
val
;
this
.
saveObj
.
OrderCourseList
=
[];
this
.
saveObj
.
OrderCourseList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
saveObj
)));
this
.
saveObj
.
TextbookFee
=
0
;
this
.
saveObj
.
CoursewareFee
=
0
;
}
},
next
()
{
...
...
src/components/school/student/transfer-order/study-form.vue
View file @
70499f36
...
...
@@ -122,7 +122,8 @@
SourceId
:
1
,
//传入Id
SaleRemark
:
''
,
//备注
EnterId
:
0
,
//市场人员
StuIds
:
''
StuIds
:
''
,
OrderCourseList
:[],
},
EnterName
:
''
,
HelpEnterDisable
:
false
,
...
...
@@ -134,6 +135,7 @@
this
.
OrderMsg
.
SourceId
=
this
.
saveObj
.
Id
;
this
.
OrderMsg
.
Unit_Price
=
this
.
saveObj
.
SellPrice
;
this
.
OrderMsg
.
PreferPrice
=
this
.
OrderMsg
.
Unit_Price
;
this
.
OrderMsg
.
OrderCourseList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
saveObj
.
OrderCourseList
));
}
if
(
this
.
select
&&
this
.
select
.
length
>
0
){
this
.
OrderMsg
.
EnterId
=
this
.
select
[
0
].
CreateBy
;
...
...
src/pages/sale/studyOrder.vue
View file @
70499f36
...
...
@@ -85,7 +85,7 @@
</div>
</div>
<div
class=
"page-content"
>
<orderlist
:dataList=
"data.List"
:authObj=
"authObj"
:modityOrderType=
"1"
@
success=
"refreshClassOrder"
ref=
"orderL"
<orderlist
:dataList=
"data.List"
:authObj=
"authObj"
:
studyOrderType=
"1"
:
modityOrderType=
"1"
@
success=
"refreshClassOrder"
ref=
"orderL"
:loading=
"loading"
>
</orderlist>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
...
...
src/pages/sale/studyOrderStatistics.vue
View file @
70499f36
...
...
@@ -94,7 +94,7 @@
</div>
</div>
<div
class=
"page-content"
>
<orderlist
:dataList=
"data.List"
:authObj=
"authObj"
:modityOrderType=
"3"
@
success=
"refreshClassOrder"
ref=
"orderL"
:loading=
"loading"
>
<orderlist
:dataList=
"data.List"
:authObj=
"authObj"
:
studyOrderType=
"1"
:
modityOrderType=
"3"
@
success=
"refreshClassOrder"
ref=
"orderL"
:loading=
"loading"
>
</orderlist>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
...
...
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