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
Hide 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 @@
...
@@ -101,22 +101,20 @@
inception
:
false
,
inception
:
false
,
inceptionData
:
null
,
inceptionData
:
null
,
OrderMsg
:
{
OrderMsg
:
{
OrderType
:
2
,
OrderType
:
2
,
GuestNum
:
1
,
//人数
GuestNum
:
1
,
//人数
Unit_Price
:
''
,
//成交单价
Unit_Price
:
''
,
//成交单价
DiscountMoney
:
0
,
//优惠金额
DiscountMoney
:
0
,
//优惠金额
PreferPrice
:
''
,
//应收
PreferPrice
:
''
,
//应收
OrderSource
:
''
,
//客人来源
OrderSource
:
''
,
//客人来源
HelpEnterId
:
''
,
//协助老师
HelpEnterId
:
''
,
//协助老师
CourseConsultantId
:
''
,
//课程顾问
CourseConsultantId
:
''
,
//课程顾问
SourceId
:
1
,
//传入Id
SourceId
:
1
,
//传入Id
SaleRemark
:
''
//备注
SaleRemark
:
''
//备注
}
}
};
};
},
},
created
()
{
created
()
{
console
.
log
(
this
.
saveObj
,
'saveObj'
);
console
.
log
(
this
.
select
,
'select'
);
if
(
this
.
saveObj
)
{
if
(
this
.
saveObj
)
{
this
.
OrderMsg
.
SourceId
=
this
.
saveObj
.
Id
;
this
.
OrderMsg
.
SourceId
=
this
.
saveObj
.
Id
;
this
.
OrderMsg
.
Unit_Price
=
this
.
saveObj
.
SellPrice
;
this
.
OrderMsg
.
Unit_Price
=
this
.
saveObj
.
SellPrice
;
...
@@ -218,7 +216,35 @@
...
@@ -218,7 +216,35 @@
},
},
//修改订单
//修改订单
saveOrderInfo
()
{
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
()
{
goorder
()
{
this
.
OpenNewUrl
(
"/sale/myOrder"
,
{
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