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
52836c76
Commit
52836c76
authored
Sep 03, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
64ce9bc1
8e9c7c75
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
11 deletions
+21
-11
editOrder-form.vue
src/components/sale/editOrder-form.vue
+10
-3
orderlist.vue
src/components/sale/orderlist.vue
+1
-3
transfer-order.vue
src/components/school/student/transfer-order.vue
+6
-4
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+3
-0
erpindex.js
src/utils/erpindex.js
+1
-1
No files found.
src/components/sale/editOrder-form.vue
View file @
52836c76
...
...
@@ -79,16 +79,19 @@
<q-input
filled
stack-label
:dense=
"false"
v-model=
"OrderMsg.Unit_Price"
@
input=
"calcPrice()"
class=
"col-12"
label=
"成交单价"
:rules=
"[val => !!val || '请填成交单价']"
/>
</
template
>
<
template
v-if=
"OrderMsg.Unit_PriceType==2"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"OrderMsg.TotalClassHours"
@
input=
"calcPrice()"
class=
"col-12"
label=
"总课时数"
type=
"number"
:min=
"0"
:rules=
"[val => !!val || '请填总课时数']"
/>
</
template
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"OrderMsg.TextbookFee"
@
input=
"calcPrice()"
class=
"col-12"
<
template
v-if=
"OrderMsg.ClassList&&OrderMsg.ClassList.length>0"
>
<q-input
v-if=
"OrderMsg.ClassList[0].ClassScrollType==2"
filled
stack-label
:dense=
"false"
v-model=
"OrderMsg.TextbookFee"
@
input=
"calcPrice()"
class=
"col-12"
label=
"教材费"
type=
"number"
:min=
"0"
:rules=
"[val => !!val || '请填教材费']"
/>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"OrderMsg.CoursewareFee"
@
input=
"calcPrice()"
class=
"col-12"
<q-input
v-if=
"OrderMsg.ClassList[0].ClassScrollType==2"
filled
stack-label
:dense=
"false"
v-model=
"OrderMsg.CoursewareFee"
@
input=
"calcPrice()"
class=
"col-12"
label=
"课件费"
type=
"number"
:min=
"0"
:rules=
"[val => !!val || '请填课件费']"
/>
</
template
>
<q-input
filled
stack-label
:disable=
"modityOrderType!=3"
:dense=
"false"
maxlength=
"10"
@
keyup
.
native=
"checkPrice(OrderMsg,'PreferPrice')"
v-model=
"OrderMsg.PreferPrice"
class=
"col-12 q-pb-lg"
label=
"应收"
/>
...
...
@@ -232,6 +235,7 @@
TotalClassHours
:
0
,
//总课时数 2024-08-26 add by:W
CoursewareFee
:
0
,
//教材费
TextbookFee
:
0
,
//课件费
ClassList
:[],
},
Unit_PriceRemark
:
""
,
//单价规则
IsShowUpPrice
:
false
,
//是否显示高于定价
...
...
@@ -275,6 +279,7 @@
}
queryChaClassInfo
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
CourseList
=
res
.
Data
.
otherCourse
;
if
(
this
.
saveObj
&&
this
.
saveObj
.
OrderId
>
0
)
{}
else
{
this
.
OrderMsg
.
StartClassHours
=
res
.
Data
.
finishHours
;
...
...
@@ -445,6 +450,7 @@
this
.
OrderMsg
.
TotalClassHours
=
tempData
.
TotalClassHours
;
this
.
OrderMsg
.
CoursewareFee
=
tempData
.
CoursewareFee
;
this
.
OrderMsg
.
TextbookFee
=
tempData
.
TextbookFee
;
this
.
OrderMsg
.
ClassList
=
JSON
.
parse
(
JSON
.
stringify
(
tempData
.
ClassList
));
this
.
IsShowEditOrder
=
true
;
}
})
...
...
@@ -503,6 +509,7 @@
}
this
.
OrderMsg
.
DiscountMoney
=
this
.
OrderMsg
.
Class_Price
*
this
.
OrderMsg
.
GuestNum
*
(
this
.
OrderMsg
.
B2CRatio
>
1
?
this
.
OrderMsg
.
B2CRatio
/
100
:
this
.
OrderMsg
.
B2CRatio
)
this
.
IsShowEditOrder
=
true
;
this
.
OrderMsg
.
ClassList
=
[];
this
.
calcPrice
();
}
},
...
...
src/components/sale/orderlist.vue
View file @
52836c76
...
...
@@ -200,9 +200,7 @@
<
template
v-if=
"item.OrderType == 1"
>
<div
v-if=
"item.ClassList&&item.ClassList.length>0"
>
课程名称:
<span
v-for=
"(itemc, indexc) in item.ClassList"
>
{{
indexc
>
1
?
','
:
""
}}{{
itemc
.
CourseName
}}
</span>
<span
v-for=
"(itemc, indexc) in item.ClassList"
>
{{
indexc
>
0
?
','
:
""
}}{{
itemc
.
CourseName
}}
</span>
</div>
<div
v-else=
"item.CourseName"
>
课程名称:
{{
item
.
CourseName
}}
...
...
src/components/school/student/transfer-order.vue
View file @
52836c76
...
...
@@ -301,18 +301,22 @@ export default {
this
.
saveObj
=
val
[
0
];
this
.
saveObj
.
Unit_Price
=
this
.
saveObj
.
SellPrice
;
this
.
defaultCourse
=
val
;
this
.
saveObj
.
OrderCourseList
=
[];
this
.
saveObj
.
OrderCourseList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
saveObj
)));
this
.
saveObj
.
TextbookFee
=
0
;
this
.
saveObj
.
CoursewareFee
=
0
;
}
else
{
this
.
saveObj
=
{};
this
.
saveObj
.
Unit_Price
=
0
;
this
.
defaultCourse
=
[];
}
},
// 选择课程
selectCourse
(
val
)
{
this
.
selectedCourseList
=
[]
if
(
val
.
length
>
0
)
{
// this.saveObj = val[0];
// this.saveObj.Unit_Price = this.saveObj.SellPrice;
this
.
selectedCourseList
=
val
;
}
this
.
saveObj
=
{};
...
...
@@ -322,10 +326,8 @@ export default {
this
.
selectedCourseList
.
forEach
((
item
,
index
)
=>
{
if
(
index
==
0
){
this
.
saveObj
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
console
.
log
(
"this.saveObj111"
,
this
.
saveObj
);
this
.
saveObj
.
Unit_Price
=
item
.
SellPrice
;
this
.
saveObj
.
PreferPrice
=
item
.
SellPrice
;
console
.
log
(
"this.saveObj111.Unit_Price"
,
this
.
saveObj
.
Unit_Price
);
}
else
{
this
.
saveObj
.
CourseName
+=
","
+
item
.
CourseName
...
...
src/components/school/student/transfer-order/order-form.vue
View file @
52836c76
...
...
@@ -196,6 +196,7 @@
/>
</
template
>
<q-input
v-if=
"mode!=1"
filled
stack-label
:dense=
"false"
...
...
@@ -207,6 +208,7 @@
label=
"课件费"
/>
<q-input
v-if=
"mode!=1"
filled
stack-label
:dense=
"false"
...
...
@@ -348,6 +350,7 @@
label="协助老师"
/> -->
<q-select
v-if=
"mode!=1"
v-model=
"OrderMsg.HelpEnterId"
:options=
"AssistList"
filled
...
...
src/utils/erpindex.js
View file @
52836c76
...
...
@@ -82,7 +82,7 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
//let domainUrl = 'http://192.168.10.214';
let
domainUrl
=
'http://192.168.5.
34
'
;
let
domainUrl
=
'http://192.168.5.
57
'
;
let
viewFileUrl
=
'http://192.168.5.214:8120'
;
let
mallUrl
=
"http://192.168.5.2:8088"
;
...
...
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