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
561fa599
Commit
561fa599
authored
Sep 03, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ee3cd3f3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
8 deletions
+13
-8
orderlist.vue
src/components/sale/orderlist.vue
+1
-3
transfer-order.vue
src/components/school/student/transfer-order.vue
+8
-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/orderlist.vue
View file @
561fa599
...
@@ -200,9 +200,7 @@
...
@@ -200,9 +200,7 @@
<
template
v-if=
"item.OrderType == 1"
>
<
template
v-if=
"item.OrderType == 1"
>
<div
v-if=
"item.ClassList&&item.ClassList.length>0"
>
<div
v-if=
"item.ClassList&&item.ClassList.length>0"
>
课程名称:
课程名称:
<span
v-for=
"(itemc, indexc) in item.ClassList"
>
<span
v-for=
"(itemc, indexc) in item.ClassList"
>
{{
indexc
>
0
?
','
:
""
}}{{
itemc
.
CourseName
}}
</span>
{{
indexc
>
1
?
','
:
""
}}{{
itemc
.
CourseName
}}
</span>
</div>
</div>
<div
v-else=
"item.CourseName"
>
<div
v-else=
"item.CourseName"
>
课程名称:
{{
item
.
CourseName
}}
课程名称:
{{
item
.
CourseName
}}
...
...
src/components/school/student/transfer-order.vue
View file @
561fa599
...
@@ -297,22 +297,28 @@ export default {
...
@@ -297,22 +297,28 @@ export default {
// 选择班级
// 选择班级
selectClass
(
val
)
{
selectClass
(
val
)
{
this
.
selectedCourseList
=
[]
this
.
selectedCourseList
=
[]
if
(
val
.
length
>
0
)
{
if
(
val
.
length
>
0
)
{
this
.
saveObj
=
val
[
0
];
this
.
saveObj
=
val
[
0
];
this
.
saveObj
.
Unit_Price
=
this
.
saveObj
.
SellPrice
;
this
.
saveObj
.
Unit_Price
=
this
.
saveObj
.
SellPrice
;
this
.
defaultCourse
=
val
;
this
.
defaultCourse
=
val
;
this
.
saveObj
.
OrderCourseList
=
[];
this
.
saveObj
.
OrderCourseList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
saveObj
)));
console
.
log
(
"this.saveObj.OrderCourseList"
,
this
.
saveObj
.
OrderCourseList
);
this
.
saveObj
.
TextbookFee
=
0
;
this
.
saveObj
.
CoursewareFee
=
0
;
}
else
{
}
else
{
this
.
saveObj
=
{};
this
.
saveObj
=
{};
this
.
saveObj
.
Unit_Price
=
0
;
this
.
saveObj
.
Unit_Price
=
0
;
this
.
defaultCourse
=
[];
this
.
defaultCourse
=
[];
}
}
},
},
// 选择课程
// 选择课程
selectCourse
(
val
)
{
selectCourse
(
val
)
{
this
.
selectedCourseList
=
[]
this
.
selectedCourseList
=
[]
if
(
val
.
length
>
0
)
{
if
(
val
.
length
>
0
)
{
// this.saveObj = val[0];
// this.saveObj.Unit_Price = this.saveObj.SellPrice;
this
.
selectedCourseList
=
val
;
this
.
selectedCourseList
=
val
;
}
}
this
.
saveObj
=
{};
this
.
saveObj
=
{};
...
@@ -322,10 +328,8 @@ export default {
...
@@ -322,10 +328,8 @@ export default {
this
.
selectedCourseList
.
forEach
((
item
,
index
)
=>
{
this
.
selectedCourseList
.
forEach
((
item
,
index
)
=>
{
if
(
index
==
0
){
if
(
index
==
0
){
this
.
saveObj
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
this
.
saveObj
=
JSON
.
parse
(
JSON
.
stringify
(
item
));
console
.
log
(
"this.saveObj111"
,
this
.
saveObj
);
this
.
saveObj
.
Unit_Price
=
item
.
SellPrice
;
this
.
saveObj
.
Unit_Price
=
item
.
SellPrice
;
this
.
saveObj
.
PreferPrice
=
item
.
SellPrice
;
this
.
saveObj
.
PreferPrice
=
item
.
SellPrice
;
console
.
log
(
"this.saveObj111.Unit_Price"
,
this
.
saveObj
.
Unit_Price
);
}
}
else
{
else
{
this
.
saveObj
.
CourseName
+=
","
+
item
.
CourseName
this
.
saveObj
.
CourseName
+=
","
+
item
.
CourseName
...
...
src/components/school/student/transfer-order/order-form.vue
View file @
561fa599
...
@@ -196,6 +196,7 @@
...
@@ -196,6 +196,7 @@
/>
/>
</
template
>
</
template
>
<q-input
<q-input
v-if=
"mode!=1"
filled
filled
stack-label
stack-label
:dense=
"false"
:dense=
"false"
...
@@ -207,6 +208,7 @@
...
@@ -207,6 +208,7 @@
label=
"课件费"
label=
"课件费"
/>
/>
<q-input
<q-input
v-if=
"mode!=1"
filled
filled
stack-label
stack-label
:dense=
"false"
:dense=
"false"
...
@@ -348,6 +350,7 @@
...
@@ -348,6 +350,7 @@
label="协助老师"
label="协助老师"
/> -->
/> -->
<q-select
<q-select
v-if=
"mode!=1"
v-model=
"OrderMsg.HelpEnterId"
v-model=
"OrderMsg.HelpEnterId"
:options=
"AssistList"
:options=
"AssistList"
filled
filled
...
...
src/utils/erpindex.js
View file @
561fa599
...
@@ -82,7 +82,7 @@ export default {
...
@@ -82,7 +82,7 @@ export default {
Vue
.
prototype
.
domainManager
=
function
()
{
Vue
.
prototype
.
domainManager
=
function
()
{
//let domainUrl = 'http://192.168.10.214';
//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
viewFileUrl
=
'http://192.168.5.214:8120'
;
let
mallUrl
=
"http://192.168.5.2:8088"
;
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