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
e3670695
Commit
e3670695
authored
Feb 17, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c9ce4794
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
13 deletions
+39
-13
study-form.vue
src/components/school/student/transfer-order/study-form.vue
+39
-13
No files found.
src/components/school/student/transfer-order/study-form.vue
View file @
e3670695
...
...
@@ -101,22 +101,20 @@
inception
:
false
,
inceptionData
:
null
,
OrderMsg
:
{
OrderType
:
2
,
GuestNum
:
1
,
//人数
Unit_Price
:
''
,
//成交单价
DiscountMoney
:
0
,
//优惠金额
PreferPrice
:
''
,
//应收
OrderSource
:
''
,
//客人来源
HelpEnterId
:
''
,
//协助老师
CourseConsultantId
:
''
,
//课程顾问
SourceId
:
1
,
//传入Id
SaleRemark
:
''
//备注
OrderType
:
2
,
GuestNum
:
1
,
//人数
Unit_Price
:
''
,
//成交单价
DiscountMoney
:
0
,
//优惠金额
PreferPrice
:
''
,
//应收
OrderSource
:
''
,
//客人来源
HelpEnterId
:
''
,
//协助老师
CourseConsultantId
:
''
,
//课程顾问
SourceId
:
1
,
//传入Id
SaleRemark
:
''
//备注
}
};
},
created
()
{
console
.
log
(
this
.
saveObj
,
'saveObj'
);
console
.
log
(
this
.
select
,
'select'
);
if
(
this
.
saveObj
)
{
this
.
OrderMsg
.
SourceId
=
this
.
saveObj
.
Id
;
this
.
OrderMsg
.
Unit_Price
=
this
.
saveObj
.
SellPrice
;
...
...
@@ -218,7 +216,35 @@
},
//修改订单
saveOrderInfo
()
{
setClassOrder
(
this
.
OrderMsg
)
.
then
(
res
=>
{
this
.
$emit
(
"cancelloading"
);
//取消按钮的加载
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
icon
:
"iconfont icon-chenggong"
,
color
:
"accent"
,
timeout
:
2000
,
message
:
"操作成功!"
,
position
:
"top"
});
//调用父页面成功方法
this
.
$emit
(
"success"
);
this
.
IsShowEditOrder
=
false
;
}
else
{
this
.
$q
.
notify
({
type
:
"negative"
,
position
:
"top"
,
message
:
res
.
Message
});
}
})
.
catch
(
err
=>
{
this
.
$emit
(
"cancelloading"
);
//取消按钮的加载
if
(
err
.
Code
==
2
)
{
this
.
inceptionData
=
err
;
this
.
inception
=
true
;
}
});
},
goorder
()
{
this
.
OpenNewUrl
(
"/sale/myOrder"
,
{
...
...
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