Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
fa8448db
Commit
fa8448db
authored
Jul 15, 2019
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超哥修改报名清单修复不能修改单地接价格
parent
405f643a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+6
-4
No files found.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
fa8448db
...
...
@@ -1191,7 +1191,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
v-else
>
<el-input
v-model=
'addMsg.Unit_Price'
@
change=
"getTotalPrice(3)"
></el-input
>
<el-input
v-model=
'addMsg.Unit_Price'
@
change=
"getTotalPrice(3)"
></el-input>
<!--:disabled="addMsg.GroupType==4" --
>
</el-form-item>
</
template
>
<el-form-item
label=
"高于本团单价"
v-show=
"addMsg.GroupType != 4"
>
...
...
@@ -1206,7 +1206,7 @@
<el-col
:span=
"5"
v-else
>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
>
<el-input
v-model=
'addMsg.Unit_Price'
class=
"w210"
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
</el-form-item>
<el-form-item>
<p
style=
"line-height: 18px; color: #E95252;"
>
注:如果超出本团的最低让价,差价将由你来承担
</p>
...
...
@@ -3249,6 +3249,7 @@
},
// 点击弹出下拉框
getDetail
(
obj
)
{
console
.
log
(
obj
)
this
.
Ysze
=
false
;
this
.
starTime
=
obj
.
StartDate
;
this
.
endTime
=
obj
.
BackDate
;
...
...
@@ -3846,13 +3847,14 @@
}
},
getTotalPrice
(
t
)
{
console
.
log
(
t
)
if
(
t
===
3
)
{
if
(
parseFloat
(
this
.
addMsg
.
Unit_Price
).
toString
()
===
"NaN"
)
{
this
.
$message
.
error
(
'请输入正确的价格!'
)
this
.
addMsg
.
Unit_Price
=
this
.
addMsg
.
TC_Price
return
}
if
(
this
.
addMsg
.
Unit_Price
<
this
.
addMsg
.
TC_Price
)
{
if
(
this
.
addMsg
.
Unit_Price
<
this
.
addMsg
.
TC_Price
&&
this
.
addMsg
.
GroupType
!=
4
)
{
this
.
$message
.
error
(
'成交单价必须大于等于本团单价!'
)
this
.
addMsg
.
Unit_Price
=
this
.
addMsg
.
TC_Price
return
...
...
@@ -4966,7 +4968,7 @@
gettypechange
(
type
)
{
//切换参团类型时 把值初始化
if
(
type
==
4
)
{
this
.
addMsg
.
Unit_Price
=
this
.
Unit_
Price
;
//成交单价
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
SingleDMC
Price
;
//成交单价
this
.
HightUnitPrice
=
'1'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
...
...
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