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
87d1c45c
Commit
87d1c45c
authored
Jun 11, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 黑名单功能
parent
aadaee09
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4504 additions
and
4146 deletions
+4504
-4146
App.vue
src/App.vue
+1
-1
customerTransfer.vue
src/components/SalesModule/customerTransfer.vue
+58
-1
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+4
-2
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+3538
-3400
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+903
-742
No files found.
src/App.vue
View file @
87d1c45c
...
@@ -113,7 +113,7 @@ export default {
...
@@ -113,7 +113,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
p5609mvb4qe
.css"
;
@import
"//at.alicdn.com/t/font_635492_
l8xc381dki8
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/components/SalesModule/customerTransfer.vue
View file @
87d1c45c
...
@@ -194,6 +194,40 @@
...
@@ -194,6 +194,40 @@
@
click=
"deletelist(item)"
@
click=
"deletelist(item)"
></el-button>
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"加入黑名单"
placement=
"top-start"
>
<el-button
v-if=
"item.CustomerStatus == 2"
type=
"warning"
class
icon=
"iconfont icon-jiaruheimingdan"
circle
@
click=
"getBlacklist(item)"
>
</el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"移除黑名单"
placement=
"top-start"
>
<el-button
v-if=
"item.CustomerStatus == 4"
type=
"info"
class
icon=
"iconfont icon-yichuheimingdan"
circle
@
click=
"getBlacklist(item)"
>
</el-button>
</el-tooltip>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -522,7 +556,8 @@ export default {
...
@@ -522,7 +556,8 @@ export default {
],
],
Address
:
[{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
}]
Address
:
[{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
}]
},
},
employeeList1
:
[]
employeeList1
:
[],
HightUnitPrice
:
'2'
,
};
};
},
},
methods
:
{
methods
:
{
...
@@ -1017,6 +1052,28 @@ export default {
...
@@ -1017,6 +1052,28 @@ export default {
resetForm
(
formName
)
{
resetForm
(
formName
)
{
// 重置表单
// 重置表单
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
[
formName
].
resetFields
();
},
getBlacklist
(
item
){
let
DisabledType
let
CustomerId
=
item
.
CustomerId
.
split
(
'|'
)[
0
]
if
(
item
.
CustomerStatus
==
2
){
DisabledType
=
1
}
else
if
(
item
.
CustomerStatus
==
4
){
DisabledType
=
2
}
this
.
apipost
(
"app_customer_DisabledCustomer"
,
{
CustomerId
:
CustomerId
,
DisabledType
:
DisabledType
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getList
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
}
},
},
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
87d1c45c
...
@@ -838,7 +838,7 @@
...
@@ -838,7 +838,7 @@
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice()"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice()"
>
<el-option
v-for=
"
item in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'item.ID
'
>
<el-option
v-for=
"
(item,index) in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'index
'
>
</el-option>
</el-option>
</el-select>
</el-select>
<!--
<el-input
v-model=
'addMsg.Unit_Price'
:disabled=
"true"
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
-->
<!--
<el-input
v-model=
'addMsg.Unit_Price'
:disabled=
"true"
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
-->
...
@@ -883,7 +883,7 @@
...
@@ -883,7 +883,7 @@
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice()
;getTotalPrice()
'
></el-input>
@
input=
'getNumber();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
...
@@ -2916,6 +2916,7 @@
...
@@ -2916,6 +2916,7 @@
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
)
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
)
this
.
Unit_PriceList
=
[];
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addMsg
.
TCID
,
"TCID"
:
this
.
addMsg
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
"MaxPeopleNum"
:
maxPeopleNum
...
@@ -2949,6 +2950,7 @@
...
@@ -2949,6 +2950,7 @@
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
this
.
Unit_PriceList
.
push
(
obj
);
}
}
},
err
=>
{})
},
err
=>
{})
},
},
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
87d1c45c
<
style
>
<
style
>
@import
"../../assets/css/newTravelManager.css"
;
@import
"../../assets/css/newTravelManager.css"
;
.color_red_order
{
.color_red_order
{
color
:
#e95252
!important
;
color
:
#e95252
!important
;
}
}
.groupTourOrderSearch
{
.groupTourOrderSearch
{
width
:
100%
;
width
:
100%
;
min-height
:
auto
;
min-height
:
auto
;
overflow
:
hidden
;
overflow
:
hidden
;
padding
:
0
0
20px
0
;
padding
:
0
0
20px
0
;
}
}
.groupTourOrderSearch
li
{
.groupTourOrderSearch
li
{
float
:
left
;
float
:
left
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#666
;
color
:
#666
;
margin
:
20px
0
0px
0
;
margin
:
20px
0
0px
0
;
}
}
.groupTourOrderSearch
li
>
span
{
.groupTourOrderSearch
li
>
span
{
display
:
inline-block
;
display
:
inline-block
;
}
}
.groupTourOrderSearch
li
span
>
em
{
.groupTourOrderSearch
li
span
>
em
{
display
:
inline-block
;
display
:
inline-block
;
min-width
:
60px
;
min-width
:
60px
;
text-align
:
right
;
text-align
:
right
;
font-style
:
normal
;
font-style
:
normal
;
margin
:
0
12px
0
0
;
margin
:
0
12px
0
0
;
}
}
.groupTourOrderSearch
li
:last-child
{
.groupTourOrderSearch
li
:last-child
{
float
:
right
;
float
:
right
;
}
}
.groupTourOrderSearch
ul
{
.groupTourOrderSearch
ul
{
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.groupTourOrderSearchTable
{
.groupTourOrderSearchTable
{
width
:
100%
;
width
:
100%
;
min-width
:
1500px
;
min-width
:
1500px
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -39,14 +39,14 @@
...
@@ -39,14 +39,14 @@
border-bottom
:
1px
solid
#cccccc
;
border-bottom
:
1px
solid
#cccccc
;
border-right
:
1px
solid
#cccccc
;
border-right
:
1px
solid
#cccccc
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
.groupTourOrderSearchTable
tbody
tr
:last-child
{
.groupTourOrderSearchTable
tbody
tr
:last-child
{
border-bottom
:
2px
solid
#333
;
border-bottom
:
2px
solid
#333
;
}
}
.groupTourOrderSearchTable
tr
:first-child
td
:first-child
{
.groupTourOrderSearchTable
tr
:first-child
td
:first-child
{
border-bottom
:
2px
solid
#333
;
border-bottom
:
2px
solid
#333
;
}
}
.groupTourOrderSearchTable
tr
th
{
.groupTourOrderSearchTable
tr
th
{
background
:
#e6e6e6
;
background
:
#e6e6e6
;
height
:
30px
;
height
:
30px
;
font-size
:
12px
;
font-size
:
12px
;
...
@@ -54,95 +54,95 @@
...
@@ -54,95 +54,95 @@
text-indent
:
15px
;
text-indent
:
15px
;
border-top
:
1px
solid
#cccccc
;
border-top
:
1px
solid
#cccccc
;
border-left
:
1px
solid
#cccccc
;
border-left
:
1px
solid
#cccccc
;
}
}
.groupTourOrderSearchTable
tr
{
.groupTourOrderSearchTable
tr
{
background
:
#fff
;
background
:
#fff
;
text-align
:
left
;
text-align
:
left
;
}
}
.groupTourOrderSearchTable
tr
td
{
.groupTourOrderSearchTable
tr
td
{
height
:
60px
;
height
:
60px
;
padding
:
10px
;
padding
:
10px
;
border-top
:
1px
solid
#cccccc
;
border-top
:
1px
solid
#cccccc
;
border-left
:
1px
solid
#cccccc
;
border-left
:
1px
solid
#cccccc
;
}
}
.groupTourOrderSearchTable
tr
td
p
{
.groupTourOrderSearchTable
tr
td
p
{
line-height
:
20px
;
line-height
:
20px
;
}
}
.groupTourOrderSearchTable
span
.personNo
{
.groupTourOrderSearchTable
span
.personNo
{
text-decoration
:
underline
;
text-decoration
:
underline
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.groupTourOrderSearchTable
span
.personNo
:hover
{
.groupTourOrderSearchTable
span
.personNo
:hover
{
font-weight
:
bold
;
font-weight
:
bold
;
color
:
#e95252
;
color
:
#e95252
;
}
}
.personNolayer
p
{
.personNolayer
p
{
height
:
28px
;
height
:
28px
;
line-height
:
28px
;
line-height
:
28px
;
padding-left
:
15px
;
padding-left
:
15px
;
}
}
.personNolayer
p
>
span
{
.personNolayer
p
>
span
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#333
;
color
:
#333
;
margin-right
:
15px
;
margin-right
:
15px
;
}
}
.personNolayer
table
{
.personNolayer
table
{
padding
:
10px
0
0
20px
;
padding
:
10px
0
0
20px
;
width
:
100%
;
width
:
100%
;
background-color
:
#ededed
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.personNolayer
table
th
{
.personNolayer
table
th
{
background-color
:
#ededed
;
background-color
:
#ededed
;
height
:
34px
;
height
:
34px
;
text-indent
:
15px
;
text-indent
:
15px
;
}
}
.personNolayer
table
td
{
.personNolayer
table
td
{
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
9px
15px
;
padding
:
9px
15px
;
color
:
#333333
;
color
:
#333333
;
border
:
1px
solid
#d2d2d2
;
border
:
1px
solid
#d2d2d2
;
}
}
.personNolayer
table
._color_666
{
.personNolayer
table
._color_666
{
color
:
#666666
;
color
:
#666666
;
}
}
.personNolayer
table
tr
._color_666
th
{
.personNolayer
table
tr
._color_666
th
{
padding
:
9px
15px
;
padding
:
9px
15px
;
}
}
.groupSuperSearchLayer
{
.groupSuperSearchLayer
{
}
}
.groupSuperSearchLayer
>
p
{
.groupSuperSearchLayer
>
p
{
padding
:
20px
0
;
padding
:
20px
0
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#333
;
color
:
#333
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.groupSuperSearchLayerTable
{
.groupSuperSearchLayerTable
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#666
;
color
:
#666
;
}
}
.groupSuperSearchLayerTable
tr
{
.groupSuperSearchLayerTable
tr
{
height
:
50px
;
height
:
50px
;
}
}
.groupSuperSearchLayerTable
td
{
.groupSuperSearchLayerTable
td
{
padding-right
:
15px
;
padding-right
:
15px
;
}
}
.groupTourOrderIcon
button
{
.groupTourOrderIcon
button
{
width
:
30px
;
width
:
30px
;
height
:
30px
;
height
:
30px
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.groupTourOrderIcon
.el-button--primary
{
.groupTourOrderIcon
.el-button--primary
{
padding
:
5px
;
padding
:
5px
;
margin
:
0
;
margin
:
0
;
font-size
:
14px
!important
;
font-size
:
14px
!important
;
}
}
.groupTourOrderIcon
.el-button
+
.el-button
{
.groupTourOrderIcon
.el-button
+
.el-button
{
margin-left
:
0
!important
;
margin-left
:
0
!important
;
}
}
.productQuerybottomLayer
{
.productQuerybottomLayer
{
overflow
:
auto
;
overflow
:
auto
;
position
:
fixed
;
position
:
fixed
;
min-height
:
300px
;
min-height
:
300px
;
...
@@ -153,11 +153,11 @@
...
@@ -153,11 +153,11 @@
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
10px
10px
0
;
padding
:
10px
10px
0
;
width
:
100%
;
width
:
100%
;
}
}
.productQuerybottomLayer
.el-form-item__label
{
.productQuerybottomLayer
.el-form-item__label
{
font-size
:
12px
!important
;
font-size
:
12px
!important
;
}
}
.productQuerybottomLayer
>
p
{
.productQuerybottomLayer
>
p
{
border-left
:
3px
solid
#e95252
;
border-left
:
3px
solid
#e95252
;
text-indent
:
15px
;
text-indent
:
15px
;
height
:
16px
;
height
:
16px
;
...
@@ -166,11 +166,11 @@
...
@@ -166,11 +166,11 @@
margin-bottom
:
20px
;
margin-bottom
:
20px
;
line-height
:
14px
;
line-height
:
14px
;
color
:
#000
;
color
:
#000
;
}
}
.productQuerybottomLayer
.el-input-number
{
.productQuerybottomLayer
.el-input-number
{
width
:
auto
!important
;
width
:
auto
!important
;
}
}
.groupTourOrderLeaderItem
{
.groupTourOrderLeaderItem
{
display
:
inline-block
;
display
:
inline-block
;
min-width
:
122px
;
min-width
:
122px
;
padding
:
10px
0
;
padding
:
10px
0
;
...
@@ -178,26 +178,26 @@
...
@@ -178,26 +178,26 @@
margin
:
10px
0
;
margin
:
10px
0
;
height
:
56px
;
height
:
56px
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.groupTourOrderLeaderItem
>
img
{
.groupTourOrderLeaderItem
>
img
{
width
:
36px
;
width
:
36px
;
height
:
36px
;
height
:
36px
;
border-radius
:
18px
;
border-radius
:
18px
;
float
:
left
;
float
:
left
;
margin
:
0
8px
;
margin
:
0
8px
;
}
}
.groupTourOrderSearchTable
tr
td
>
img
{
.groupTourOrderSearchTable
tr
td
>
img
{
width
:
32px
;
width
:
32px
;
height
:
32px
;
height
:
32px
;
border-radius
:
16px
;
border-radius
:
16px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
margin-right
:
5px
;
margin-right
:
5px
;
}
}
.groupTourOrder_more
{
.groupTourOrder_more
{
margin
:
0
-12px
;
margin
:
0
-12px
;
}
}
.groupTourOrder_more
>
div
{
.groupTourOrder_more
>
div
{
width
:
100%
;
width
:
100%
;
height
:
30px
;
height
:
30px
;
line-height
:
30px
;
line-height
:
30px
;
...
@@ -206,81 +206,81 @@
...
@@ -206,81 +206,81 @@
color
:
#333333
;
color
:
#333333
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.groupTourOrder_more
>
div
:hover
{
.groupTourOrder_more
>
div
:hover
{
color
:
#297bef
;
color
:
#297bef
;
background-color
:
#dcebff
;
background-color
:
#dcebff
;
}
}
.groupTourOrder_remarks
{
.groupTourOrder_remarks
{
font-size
:
0px
;
font-size
:
0px
;
}
}
.groupTourOrder_remarks
>
div
{}
.groupTourOrder_remarks
>
div
{}
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
1
)
{
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
1
)
{
float
:
left
;
float
:
left
;
display
:
flex
;
display
:
flex
;
align-items
:
flex-start
;
align-items
:
flex-start
;
}
}
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
1
)>
span
{
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
1
)>
span
{
line-height
:
20px
;
line-height
:
20px
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#e95252
;
color
:
#e95252
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
1
)>
p
{
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
1
)>
p
{
line-height
:
20px
;
line-height
:
20px
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#e95252
;
color
:
#e95252
;
}
}
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
2
)
{
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
2
)
{
float
:
right
;
float
:
right
;
text-align
:
right
;
text-align
:
right
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#e95252
;
color
:
#e95252
;
}
}
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
2
)
>
i
{
.groupTourOrder_remarks
>
div
>
div
:nth-child
(
2
)
>
i
{
font-size
:
10px
;
font-size
:
10px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.groupTourOrder_remarks
>
div
::after
{
.groupTourOrder_remarks
>
div
::after
{
display
:
block
;
display
:
block
;
clear
:
both
;
clear
:
both
;
content
:
""
;
content
:
""
;
visibility
:
hidden
;
visibility
:
hidden
;
height
:
0
;
height
:
0
;
}
}
.groupTourOrder_remarks_btn
{
.groupTourOrder_remarks_btn
{
padding
:
0px
;
padding
:
0px
;
width
:
12px
;
width
:
12px
;
height
:
12px
;
height
:
12px
;
border
:
none
;
border
:
none
;
background-color
:
transparent
;
background-color
:
transparent
;
}
}
.groupTourOrder_remarks_btn
>
i
{
.groupTourOrder_remarks_btn
>
i
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#e95252
;
color
:
#e95252
;
}
}
.groupTourOrder_remarks_popover
>
div
{
.groupTourOrder_remarks_popover
>
div
{
display
:
inline-block
;
display
:
inline-block
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#000000
;
color
:
#000000
;
}
}
.groupTourOrder_remarks_popover
>
div
::before
{
.groupTourOrder_remarks_popover
>
div
::before
{
content
:
''
;
content
:
''
;
display
:
inline-block
;
display
:
inline-block
;
margin
:
0
5px
0
0
;
margin
:
0
5px
0
0
;
width
:
2px
;
width
:
2px
;
height
:
12px
;
height
:
12px
;
background-color
:
#e95252
;
background-color
:
#e95252
;
}
}
.groupTourOrder_remarks_popover
>
span
{
.groupTourOrder_remarks_popover
>
span
{
display
:
block
;
display
:
block
;
margin
:
5px
0
0
0
;
margin
:
5px
0
0
0
;
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#000000
;
color
:
#000000
;
}
}
.groupTourOrder_remarks_popover
>
p
{
.groupTourOrder_remarks_popover
>
p
{
margin
:
5px
0
0
0
;
margin
:
5px
0
0
0
;
padding
:
3px
;
padding
:
3px
;
width
:
100%
;
width
:
100%
;
...
@@ -288,119 +288,119 @@
...
@@ -288,119 +288,119 @@
overflow-y
:
auto
;
overflow-y
:
auto
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#000000
;
color
:
#000000
;
}
}
.groupTourOrder_remarks_popover
>
p
:nth-child
(
even
)
{
.groupTourOrder_remarks_popover
>
p
:nth-child
(
even
)
{
background-color
:
#E6E6E6
;
background-color
:
#E6E6E6
;
}
}
.groupTourOrder_remarks_popover
>
p
>
span
:nth-child
(
1
)
{
.groupTourOrder_remarks_popover
>
p
>
span
:nth-child
(
1
)
{
float
:
left
;
float
:
left
;
}
}
.groupTourOrder_remarks_popover
>
p
>
span
:nth-child
(
2
)
{
.groupTourOrder_remarks_popover
>
p
>
span
:nth-child
(
2
)
{
margin
:
0
10px
0
0
;
margin
:
0
10px
0
0
;
float
:
right
;
float
:
right
;
}
}
.groupTourOrder_remarks_popover
>
p
::after
{
.groupTourOrder_remarks_popover
>
p
::after
{
display
:
block
;
display
:
block
;
clear
:
both
;
clear
:
both
;
content
:
""
;
content
:
""
;
visibility
:
hidden
;
visibility
:
hidden
;
height
:
0
;
height
:
0
;
}
}
.groupTourOrder_tickets
>
div
{
.groupTourOrder_tickets
>
div
{
display
:
table
;
display
:
table
;
}
}
.groupTourOrder_tickets
>
div
>
div
{
.groupTourOrder_tickets
>
div
>
div
{
display
:
table-cell
;
display
:
table-cell
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.groupTourOrder_tickets
>
div
>
div
:nth-child
(
1
)
{
.groupTourOrder_tickets
>
div
>
div
:nth-child
(
1
)
{
width
:
80px
;
width
:
80px
;
}
}
.groupTourOrder_tickets
>
div
>
div
>
span
{
.groupTourOrder_tickets
>
div
>
div
>
span
{
display
:
inline-block
;
display
:
inline-block
;
margin
:
0
10px
0
0
;
margin
:
0
10px
0
0
;
}
}
.groupTourOrder_tickets_red
{
.groupTourOrder_tickets_red
{
color
:
#ff0000
;
color
:
#ff0000
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
.groupTourOrder_tickets_blue
{
.groupTourOrder_tickets_blue
{
color
:
#0000ff
;
color
:
#0000ff
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
.groupTourOrder_tickets_green
{
.groupTourOrder_tickets_green
{
color
:
#008000
;
color
:
#008000
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
.groupTourOrder_tickets_black
{
.groupTourOrder_tickets_black
{
color
:
#000000
;
color
:
#000000
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
.groupTourOrderByTuan_ico
{
.groupTourOrderByTuan_ico
{
margin
:
0
10px
0
0
;
margin
:
0
10px
0
0
;
}
}
.groupTourOrderByTuan_ico
>
i
{
.groupTourOrderByTuan_ico
>
i
{
display
:
inline-block
;
display
:
inline-block
;
margin
:
0
2px
0
0
;
margin
:
0
2px
0
0
;
width
:
8px
;
width
:
8px
;
height
:
8px
;
height
:
8px
;
border-radius
:
2px
;
border-radius
:
2px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.groupTourOrderByTuan_ico
>
span
{
.groupTourOrderByTuan_ico
>
span
{
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.groupTourOrder_count_green
{
.groupTourOrder_count_green
{
color
:
#1BC594
;
color
:
#1BC594
;
}
}
.groupTourOrder_count_blue
{
.groupTourOrder_count_blue
{
color
:
#4D7AFD
;
color
:
#4D7AFD
;
}
}
.groupTourOrder_count_yellow
{
.groupTourOrder_count_yellow
{
color
:
#FF9C00
;
color
:
#FF9C00
;
}
}
.groupTourOrder_count_gray
{
.groupTourOrder_count_gray
{
color
:
#999999
;
color
:
#999999
;
}
}
.groupTourOrder_count
{
.groupTourOrder_count
{
margin
:
0
0
20px
0
;
margin
:
0
0
20px
0
;
width
:
100%
;
width
:
100%
;
height
:
auto
;
height
:
auto
;
}
}
.groupTourOrder_count_col
{
.groupTourOrder_count_col
{
height
:
80px
;
height
:
80px
;
}
}
.groupTourOrder_count_item
{
.groupTourOrder_count_item
{
font-weight
:
400
;
font-weight
:
400
;
padding
:
10px
;
padding
:
10px
;
height
:
100%
;
height
:
100%
;
border
:
1px
solid
#E6E6E6
;
border
:
1px
solid
#E6E6E6
;
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
color
:
#333333
;
color
:
#333333
;
}
}
.groupTourOrder_count_item
>
div
>
i
{
.groupTourOrder_count_item
>
div
>
i
{
font-size
:
12px
;
font-size
:
12px
;
vertical-align
:
bottom
;
vertical-align
:
bottom
;
}
}
.groupTourOrder_count_item
>
div
>
span
:nth-child
(
2
)
{
.groupTourOrder_count_item
>
div
>
span
:nth-child
(
2
)
{
font-size
:
14px
;
font-size
:
14px
;
vertical-align
:
bottom
;
vertical-align
:
bottom
;
}
}
.groupTourOrder_count_item
>
div
>
span
:nth-child
(
3
)
{
.groupTourOrder_count_item
>
div
>
span
:nth-child
(
3
)
{
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
16px
;
font-size
:
16px
;
vertical-align
:
bottom
;
vertical-align
:
bottom
;
}
}
.groupTourOrder_count_item
>
p
{
.groupTourOrder_count_item
>
p
{
font-size
:
12px
;
font-size
:
12px
;
line-height
:
18px
;
line-height
:
18px
;
}
}
.groupTourOrder_count_item
>
p
>
span
{
.groupTourOrder_count_item
>
p
>
span
{
margin
:
0
5px
0
0
;
margin
:
0
5px
0
0
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.groupTourOrderByTuan_transfer
{
.groupTourOrderByTuan_transfer
{
...
@@ -545,9 +545,9 @@
...
@@ -545,9 +545,9 @@
color
:
red
;
color
:
red
;
}
}
.planeTicketEdit
{
overflow
:
auto
;
position
:
fixed
;
height
:
550px
;
z-index
:
100
;
bottom
:
0
;
left
:
0
;
border-top
:
3px
solid
#38425d
;
background-color
:
#FFFFFF
;
padding
:
10px
10px
0
;
width
:
100%
;}
.planeTicketEdit
{
overflow
:
auto
;
position
:
fixed
;
height
:
550px
;
z-index
:
100
;
bottom
:
0
;
left
:
0
;
border-top
:
3px
solid
#38425d
;
background-color
:
#FFFFFF
;
padding
:
10px
10px
0
;
width
:
100%
;}
.planeTicketEdit
.el-form-item__label
{
font-size
:
12px
!important
;}
.planeTicketEdit
.el-form-item__label
{
font-size
:
12px
!important
;}
.planeTicketEdit
>
p
{
border-left
:
3px
solid
#E95252
;
text-indent
:
15px
;
height
:
16px
;
font-family
:
'PingFangSc-Fine'
;
font-size
:
16px
;
margin-bottom
:
20px
;
line-height
:
14px
;
color
:
#000
;}
.planeTicketEdit
>
p
{
border-left
:
3px
solid
#E95252
;
text-indent
:
15px
;
height
:
16px
;
font-family
:
'PingFangSc-Fine'
;
font-size
:
16px
;
margin-bottom
:
20px
;
line-height
:
14px
;
color
:
#000
;}
.planeTicketEdit
.el-input
{
width
:
auto
!important
}
.planeTicketEdit
.el-input
{
width
:
auto
!important
}
.GB_LeaderContent
{
.GB_LeaderContent
{
float
:
left
;
float
:
left
;
margin
:
7px
0
0
25px
;
margin
:
7px
0
0
25px
;
...
@@ -781,7 +781,7 @@
...
@@ -781,7 +781,7 @@
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"成人人数"
prop=
"ManNum"
>
<el-form-item
label=
"成人人数"
prop=
"ManNum"
>
<el-input
v-model=
'addMsg.ManNum'
@
keyup
.
native=
"checkInteger(addMsg,'ManNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
<el-input
v-model=
'addMsg.ManNum'
@
keyup
.
native=
"checkInteger(addMsg,'ManNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -798,7 +798,7 @@
...
@@ -798,7 +798,7 @@
</el-col>
-->
</el-col>
-->
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice
();getTotalPrice()'
></el-input>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber
();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
...
@@ -970,7 +970,7 @@
...
@@ -970,7 +970,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"参团类型"
prop=
"GroupType"
>
<el-form-item
label=
"参团类型"
prop=
"GroupType"
>
<el-select
v-model=
'addMsg.GroupType'
filterable
:placeholder=
"$t('pub.pleaseSel'
)"
>
<el-select
v-model=
'addMsg.GroupType'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"gettypechange(addMsg.GroupType
)"
>
<el-option
<el-option
v-for=
"item in ctlxList"
v-for=
"item in ctlxList"
:label=
'item.Name'
:label=
'item.Name'
...
@@ -1064,7 +1064,7 @@
...
@@ -1064,7 +1064,7 @@
<template>
<template>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice(2)"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice(2)"
>
<el-option
v-for=
"
item in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'item.ID
'
>
<el-option
v-for=
"
(item,index) in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'index+1
'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -1072,10 +1072,10 @@
...
@@ -1072,10 +1072,10 @@
<el-input
v-model=
'addMsg.Unit_Price'
@
change=
"getTotalPrice(3)"
></el-input>
<el-input
v-model=
'addMsg.Unit_Price'
@
change=
"getTotalPrice(3)"
></el-input>
</el-form-item>
</el-form-item>
</
template
>
</
template
>
<el-form-item
label=
"高于本团单价"
>
<el-form-item
label=
"高于本团单价"
v-show=
"addMsg.GroupType != 4"
>
<el-switch
v-model=
"HightUnitPrice"
active-value=
"1"
inactive-value=
"2"
></el-switch>
<el-switch
v-model=
"HightUnitPrice"
active-value=
"1"
inactive-value=
"2"
></el-switch>
</el-form-item>
</el-form-item>
<el-form-item
>
<el-form-item
v-show=
"addMsg.GroupType != 4"
>
<p
v-if=
"LessMoney==0"
style=
"line-height: 18px; color: #E95252;"
>
注:如果超出本团的最低让价,差价将由你来承担
</p>
<p
v-if=
"LessMoney==0"
style=
"line-height: 18px; color: #E95252;"
>
注:如果超出本团的最低让价,差价将由你来承担
</p>
<p
v-else=
"LessMoney>0"
style=
"line-height: 18px; color: #E95252;"
>
注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管
</p>
<p
v-else=
"LessMoney>0"
style=
"line-height: 18px; color: #E95252;"
>
注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管
</p>
</el-form-item>
</el-form-item>
...
@@ -1092,33 +1092,33 @@
...
@@ -1092,33 +1092,33 @@
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"成人人数"
>
<el-form-item
label=
"成人人数"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.ManNum'
@
keyup
.
native=
"checkInteger(addMsg,'ManNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
<el-input
v-model=
'addMsg.ManNum'
@
keyup
.
native=
"checkInteger(addMsg,'ManNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<p
v-if=
'IsChildrenTour==2'
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
本团不支持儿童出游!
</p>
<p
v-if=
'IsChildrenTour==2'
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
本团不支持儿童出游!
</p>
<el-form-item
v-if=
'IsChildrenTour==1'
label=
"儿童不占床
"
>
<el-form-item
v-if=
'IsChildrenTour==1'
label=
"儿童不占床"
v-show=
"addMsg.GroupType !== '4'
"
>
<el-input
v-model=
'addMsg.ChirdNoNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
<el-input
v-model=
'addMsg.ChirdNoNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"儿童占床
"
>
<el-form-item
label=
"儿童占床"
v-show=
"addMsg.GroupType !== '4'
"
>
<el-input
v-model=
'addMsg.ChirdNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
<el-input
v-model=
'addMsg.ChirdNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"婴儿人数
"
>
<el-form-item
label=
"婴儿人数"
v-show=
"addMsg.GroupType !== '4'
"
>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice();getTotalPrice()'
></el-input>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"老人人数
"
>
<el-form-item
label=
"老人人数"
v-show=
"addMsg.GroupType !== '4'
"
>
<el-input
v-model=
'addMsg.OldPeopleNum'
@
keyup
.
native=
"checkInteger(addMsg,'OldPeopleNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
<el-input
v-model=
'addMsg.OldPeopleNum'
@
keyup
.
native=
"checkInteger(addMsg,'OldPeopleNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单地接数量
"
>
<el-form-item
label=
"单地接数量"
v-show=
"addMsg.GroupType !== '1'
"
>
<el-input
v-model=
'addMsg.AirticketNum'
@
keyup
.
native=
"checkInteger(addMsg,'AirticketNum')"
@
input=
'getNumber();getTotalPrice();getHouseNo()'
></el-input>
<el-input
v-model=
'addMsg.AirticketNum'
@
keyup
.
native=
"checkInteger(addMsg,'AirticketNum')"
@
input=
'getNumber();getTotalPrice();getHouseNo()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -1750,9 +1750,9 @@
...
@@ -1750,9 +1750,9 @@
<span
class=
"RL-redType RL-remarkCon"
v-if=
"item.guestList.length>0 && (item.isOwn==1||userId==1||userId==5||positionId==168||isUpdateOrder) "
>
<span
class=
"RL-redType RL-remarkCon"
v-if=
"item.guestList.length>0 && (item.isOwn==1||userId==1||userId==5||positionId==168||isUpdateOrder) "
>
<span
v-for=
"(childItem) in item.guestList"
>
{{childItem.userName}}
</span>
<span
v-for=
"(childItem) in item.guestList"
>
{{childItem.userName}}
</span>
</span>
</span>
<!-- <span class="RL-redType RL-remarkCon" v-else>-->
<!-- <span class="RL-redType RL-remarkCon" v-else>-->
<!-- <span>暂无名单</span>-->
<!-- <span>暂无名单</span>-->
<!-- </span>-->
<!-- </span>-->
<span
style=
"display: block"
>
房间信息:{{item.orderGuestHouseStr}}
</span>
<span
style=
"display: block"
>
房间信息:{{item.orderGuestHouseStr}}
</span>
<span
v-if=
"item.tipMoney"
style=
"color:red"
>
(小费:{{item.tipMoney}})
</span>
<span
v-if=
"item.tipMoney"
style=
"color:red"
>
(小费:{{item.tipMoney}})
</span>
</td>
</td>
...
@@ -2209,12 +2209,12 @@
...
@@ -2209,12 +2209,12 @@
</template>
</template>
<
script
>
<
script
>
import
moment
from
"moment"
;
import
moment
from
"moment"
;
import
payURL
from
"../commonPage/payURL.vue"
;
import
payURL
from
"../commonPage/payURL.vue"
;
import
payURL1
from
"../commonPage/payURL1.vue"
;
import
payURL1
from
"../commonPage/payURL1.vue"
;
import
tripDownLoadCommon
from
"../commonPage/TripDownLoadCommon.vue"
;
import
tripDownLoadCommon
from
"../commonPage/TripDownLoadCommon.vue"
;
import
updateSalesMan
from
"../commonPage/updateSalesMan.vue"
;
import
updateSalesMan
from
"../commonPage/updateSalesMan.vue"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
// 修改应收总额
// 修改应收总额
...
@@ -2525,6 +2525,7 @@ export default {
...
@@ -2525,6 +2525,7 @@ export default {
},
},
SuperiorPeople
:[],
SuperiorPeople
:[],
TransferMission
:
''
,
//订单转团
TransferMission
:
''
,
//订单转团
Unit_Price
:
0
,
// 地接临时存值
};
};
},
},
components
:
{
components
:
{
...
@@ -2996,7 +2997,7 @@ export default {
...
@@ -2996,7 +2997,7 @@ export default {
this
.
addMsg_form
=
Object
.
assign
({},
this
.
addObj
);
this
.
addMsg_form
=
Object
.
assign
({},
this
.
addObj
);
},
},
// 修改应收总额
// 修改应收总额
submitYSZEForm
(){
submitYSZEForm
(){
this
.
apipost
(
"sellorder_post_SetOrderHistoryPrice"
,
this
.
addMsg_form
,
this
.
apipost
(
"sellorder_post_SetOrderHistoryPrice"
,
this
.
addMsg_form
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
@@ -3011,7 +3012,7 @@ submitYSZEForm(){
...
@@ -3011,7 +3012,7 @@ submitYSZEForm(){
},
},
err
=>
{}
err
=>
{}
);
);
},
},
// 点击修改
// 点击修改
getDetail
(
obj
)
{
getDetail
(
obj
)
{
this
.
Ysze
=
false
;
this
.
Ysze
=
false
;
...
@@ -3071,7 +3072,13 @@ submitYSZEForm(){
...
@@ -3071,7 +3072,13 @@ submitYSZEForm(){
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
this
.
OpSetLossPeople
=
x
.
OpSetLossPeople
;
this
.
OpSetLossPeople
=
x
.
OpSetLossPeople
;
this
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
HightUnitPrice
=
'1'
this
.
Unit_Price
=
x
.
Unit_Price
}
else
{
this
.
HightUnitPrice
=
'2'
this
.
Unit_Price
=
this
.
addObj
.
SingleDMCPrice
}
this
.
stratPrice
=
res
.
data
.
data
.
modelPrice
.
GoAddPrice
;
this
.
stratPrice
=
res
.
data
.
data
.
modelPrice
.
GoAddPrice
;
if
(
this
.
stratPrice
==
0
)
{
if
(
this
.
stratPrice
==
0
)
{
...
@@ -3450,8 +3457,14 @@ submitYSZEForm(){
...
@@ -3450,8 +3457,14 @@ submitYSZEForm(){
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
let
dandijie
=
let
dandijie
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
if
(
this
.
addMsg
.
GroupType
==
4
){
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
this
.
addMsg
.
PreferPrice
=
this
.
addMsg
.
PreferPrice
=
this
.
OpSetLossMoney
+
this
.
OpSetLossMoney
+
dandijie
+
dandijie
+
...
@@ -3502,8 +3515,14 @@ submitYSZEForm(){
...
@@ -3502,8 +3515,14 @@ submitYSZEForm(){
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
let
dandijie
=
let
dandijie
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
if
(
this
.
addMsg
.
GroupType
==
4
){
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
this
.
addMsg
.
PreferPrice
=
this
.
addMsg
.
PreferPrice
=
this
.
OpSetLossMoney
+
this
.
OpSetLossMoney
+
dandijie
+
dandijie
+
...
@@ -3525,6 +3544,9 @@ submitYSZEForm(){
...
@@ -3525,6 +3544,9 @@ submitYSZEForm(){
}
}
this
.
getTicheng
();
this
.
getTicheng
();
if
(
!
t
)
{
this
.
getTypePrice2
()
}
},
},
yzBigBed2
()
{
yzBigBed2
()
{
...
@@ -4222,7 +4244,123 @@ submitYSZEForm(){
...
@@ -4222,7 +4244,123 @@ submitYSZEForm(){
}
}
)
)
},
gettypechange
(
type
){
//切换参团类型时 把值初始化
if
(
type
==
4
){
this
.
addMsg
.
Unit_Price
=
this
.
Unit_Price
;
//成交单价
this
.
HightUnitPrice
=
'1'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
this
.
addMsg
.
ChirdNeedBedNum
=
0
;
this
.
addMsg
.
PreferPrice
=
0
;
this
.
addMsg
.
SafeNum
=
0
;
this
.
addMsg
.
VisaNum
=
0
;
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
}
else
{
this
.
HightUnitPrice
=
'2'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0; //?
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
this
.
addMsg
.
ChirdNeedBedNum
=
0
;
this
.
addMsg
.
PreferPrice
=
0
;
this
.
addMsg
.
SafeNum
=
0
;
this
.
addMsg
.
VisaNum
=
0
;
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
};
if
(
this
.
addMsg
.
CustomerType
==
1
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2BMemberPrice
;
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2BMemberPrice
;
}
}
}
if
(
this
.
addMsg
.
CustomerType
==
2
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2BPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2BPrice
;
}
}
if
(
this
.
addMsg
.
CustomerType
==
3
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2CMemberPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2CMemberPrice
;
}
this
.
addMsg
.
CustomerId
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
if
(
this
.
addMsg
.
CustomerType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2CPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2CPrice
;
}
this
.
addMsg
.
CustomerId
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
},
getTypePrice2
()
{
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
)
this
.
Unit_PriceList
=
[];
console
.
log
(
this
.
Unit_PriceList
)
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addMsg
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
TC_Price
-
i
*
10
;
obj
.
LessMoney
=
this
.
addMsg
.
TC_Price
-
i
*
10
;
this
.
Unit_PriceList
.
push
(
obj
);
}
if
(
this
.
Unit_PriceList
.
findIndex
(
markers
=>
markers
.
ID
==
this
.
addMsg
.
Unit_Price
)
<
0
)
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
}
else
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
},
err
=>
{})
},
},
},
mounted
()
{
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
...
@@ -4244,6 +4382,6 @@ submitYSZEForm(){
...
@@ -4244,6 +4382,6 @@ submitYSZEForm(){
this
.
getTuanInfo
();
this
.
getTuanInfo
();
this
.
canEditUnitPrice
();
this
.
canEditUnitPrice
();
}
}
};
};
</
script
>
</
script
>
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
87d1c45c
...
@@ -987,7 +987,7 @@
...
@@ -987,7 +987,7 @@
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice
();getTotalPrice()'
></el-input>
@
input=
'getNumber
();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
...
@@ -1094,7 +1094,7 @@
...
@@ -1094,7 +1094,7 @@
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
@
click=
"submitForm('addMsg')"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
@
click=
"submitForm('addMsg')"
/>
</span>
</span>
</p>
</p>
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-position=
"right"
:rules=
"rules"
label-width=
"
8
0px"
>
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-position=
"right"
:rules=
"rules"
label-width=
"
9
0px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"客户类型"
prop=
"CustomerType"
>
<el-form-item
label=
"客户类型"
prop=
"CustomerType"
>
...
@@ -1105,7 +1105,7 @@
...
@@ -1105,7 +1105,7 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"参团类型"
prop=
"GroupType"
>
<el-form-item
label=
"参团类型"
prop=
"GroupType"
>
<el-select
v-model=
'addMsg.GroupType'
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
'addMsg.GroupType'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"gettypechange(addMsg.GroupType)"
>
<el-option
v-for=
"item in ctlxList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
<el-option
v-for=
"item in ctlxList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
v-if=
"item.Id!=5"
>
v-if=
"item.Id!=5"
>
</el-option>
</el-option>
...
@@ -1167,7 +1167,7 @@
...
@@ -1167,7 +1167,7 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"
5
"
>
<el-col
:span=
"
4
"
>
<el-form-item
label=
"本团单价"
prop=
"TC_Price"
>
<el-form-item
label=
"本团单价"
prop=
"TC_Price"
>
<el-input
v-model=
'addMsg.TC_Price'
:disabled=
"true"
class=
"w210"
></el-input>
<el-input
v-model=
'addMsg.TC_Price'
:disabled=
"true"
class=
"w210"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -1180,15 +1180,24 @@
...
@@ -1180,15 +1180,24 @@
<span
class=
"colorE95252"
v-show=
'!returnPriceShow'
>
暂无报价!
</span>
<span
class=
"colorE95252"
v-show=
'!returnPriceShow'
>
暂无报价!
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
v-if=
"isChecked==true"
>
<el-col
:span=
"3"
v-if=
"isChecked==true"
>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
>
<template>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice()"
>
@
change=
"getTotalPrice()"
>
<el-option
v-for=
"item in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'item.ID
'
>
<el-option
v-for=
"(item,index) in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'index
'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<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-form-item>
</
template
>
<el-form-item
label=
"高于本团单价"
v-show=
"addMsg.GroupType != 4"
>
<el-switch
v-model=
"HightUnitPrice"
active-value=
"1"
inactive-value=
"2"
></el-switch>
</el-form-item>
<el-form-item
v-show=
"addMsg.GroupType != 4"
>
<p
v-if=
"LessMoney==0"
style=
"line-height: 18px; color: #E95252;"
>
注:如果超出本团的最低让价,差价将由你来承担
</p>
<p
v-if=
"LessMoney==0"
style=
"line-height: 18px; color: #E95252;"
>
注:如果超出本团的最低让价,差价将由你来承担
</p>
<p
v-else=
"LessMoney>0"
style=
"line-height: 18px; color: #E95252;"
>
注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管
</p>
<p
v-else=
"LessMoney>0"
style=
"line-height: 18px; color: #E95252;"
>
注:最多少价{{LessMoney}}元,如需少价更多请联系上级主管
</p>
...
@@ -1207,7 +1216,7 @@
...
@@ -1207,7 +1216,7 @@
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"成人人数"
prop=
"ManNum"
>
<el-form-item
label=
"成人人数"
prop=
"ManNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.ManNum'
@
keyup
.
native=
"checkInteger(addMsg,'ManNum')"
<el-input
v-model=
'addMsg.ManNum'
@
keyup
.
native=
"checkInteger(addMsg,'ManNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
...
@@ -1215,37 +1224,38 @@
...
@@ -1215,37 +1224,38 @@
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<p
v-if=
'IsChildrenTour==2'
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
<p
v-if=
'IsChildrenTour==2'
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
本团不支持儿童出游!
</p>
本团不支持儿童出游!
</p>
<el-form-item
v-if=
'IsChildrenTour==1'
label=
"儿童不占床"
prop=
"ChirdNoNeedBedNum"
>
<el-form-item
v-if=
'IsChildrenTour==1'
label=
"儿童不占床"
prop=
"ChirdNoNeedBedNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.ChirdNoNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
<el-input
v-model=
'addMsg.ChirdNoNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"儿童占床"
prop=
"ChirdNeedBedNum"
>
<el-form-item
label=
"儿童占床"
prop=
"ChirdNeedBedNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.ChirdNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNeedBedNum')"
<el-input
v-model=
'addMsg.ChirdNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNeedBedNum')"
@
input=
'getHouseNo();getTotalPrice()'
></el-input>
@
input=
'getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice
();getTotalPrice()'
></el-input>
@
input=
'getNumber
();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"老人人数"
prop=
"OldPeopleNum"
>
<el-form-item
label=
"老人人数"
prop=
"OldPeopleNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.OldPeopleNum'
@
keyup
.
native=
"checkInteger(addMsg,'OldPeopleNum')"
<el-input
v-model=
'addMsg.OldPeopleNum'
@
keyup
.
native=
"checkInteger(addMsg,'OldPeopleNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-col
:span=
"3"
>
<el-row
:gutter=
"20"
>
<el-form-item
label=
"单地接数量"
prop=
"AirticketNum"
v-show=
"addMsg.GroupType !== '1'"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单地接数量"
prop=
"AirticketNum"
>
<el-input
v-model=
'addMsg.AirticketNum'
@
keyup
.
native=
"checkInteger(addMsg,'AirticketNum')"
<el-input
v-model=
'addMsg.AirticketNum'
@
keyup
.
native=
"checkInteger(addMsg,'AirticketNum')"
@
input=
'getNumber();getTotalPrice();getHouseNo()'
></el-input>
@
input=
'getNumber();getTotalPrice();getHouseNo()'
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单房数量"
prop=
"SingleRoomNum"
>
<el-form-item
label=
"单房数量"
prop=
"SingleRoomNum"
>
<el-input
v-model=
'addMsg.SingleRoomNum'
@
keyup
.
native=
"checkInteger(addMsg,'SingleRoomNum')"
<el-input
v-model=
'addMsg.SingleRoomNum'
@
keyup
.
native=
"checkInteger(addMsg,'SingleRoomNum')"
...
@@ -1688,9 +1698,9 @@
...
@@ -1688,9 +1698,9 @@
<span
style=
"color:blue !important"
v-for=
"(childItem) in item.GuestList"
<span
style=
"color:blue !important"
v-for=
"(childItem) in item.GuestList"
@
click=
"goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')"
>
{{childItem.userName}}
</span>
@
click=
"goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')"
>
{{childItem.userName}}
</span>
</p>
</p>
<!--
<p
class=
"RL-redType RL-remarkCon"
v-else
>
-->
<!-- <p class="RL-redType RL-remarkCon" v-else>-->
<!--
<span>
暂无名单
</span>
-->
<!-- <span>暂无名单</span>-->
<!--
</p>
-->
<!-- </p>-->
<span>
房间信息:{{item.OrderGuestHouseStr}}
</span>
<span>
房间信息:{{item.OrderGuestHouseStr}}
</span>
<span
v-if=
"item.TipMoney"
style=
"color:red"
>
(小费:{{item.TipMoney}})
</span>
<span
v-if=
"item.TipMoney"
style=
"color:red"
>
(小费:{{item.TipMoney}})
</span>
</td>
</td>
...
@@ -1955,9 +1965,9 @@
...
@@ -1955,9 +1965,9 @@
<span
style=
"color:blue !important"
v-for=
"(fourthItem) in childItem.GuestList"
<span
style=
"color:blue !important"
v-for=
"(fourthItem) in childItem.GuestList"
@
click=
"goUrl('TravelPassengerList',msg.TCID,fourthItem.OrderId,'旅客名单')"
>
{{
fourthItem
.
userName
}}
</span>
@
click=
"goUrl('TravelPassengerList',msg.TCID,fourthItem.OrderId,'旅客名单')"
>
{{
fourthItem
.
userName
}}
</span>
</span>
</span>
<!--
<span
class=
"RL-redType RL-remarkCon"
v-else
>
-->
<!--
<span
class=
"RL-redType RL-remarkCon"
v-else
>
-->
<!--
<span>
暂无名单
</span>
-->
<!--
<span>
暂无名单
</span>
-->
<!--
</span>
-->
<!--
</span>
-->
<span
style=
"display: block"
>
房间信息:
{{
childItem
.
OrderGuestHouseStr
}}
</span>
<span
style=
"display: block"
>
房间信息:
{{
childItem
.
OrderGuestHouseStr
}}
</span>
<span
v-if=
"childItem.TipMoney"
style=
"color:red"
>
(小费:
{{
childItem
.
TipMoney
}}
)
</span>
<span
v-if=
"childItem.TipMoney"
style=
"color:red"
>
(小费:
{{
childItem
.
TipMoney
}}
)
</span>
</td>
</td>
...
@@ -2274,9 +2284,9 @@
...
@@ -2274,9 +2284,9 @@
<span
style=
"color:blue !important"
v-for=
"(childItem) in item.GuestList"
<span
style=
"color:blue !important"
v-for=
"(childItem) in item.GuestList"
@
click=
"goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')"
>
{{childItem.userName}}
</span>
@
click=
"goUrl('TravelPassengerList',msg.TCID,childItem.OrderId,'旅客名单')"
>
{{childItem.userName}}
</span>
</span>
</span>
<!-- <span class="RL-redType RL-remarkCon" v-else>-->
<!-- <span class="RL-redType RL-remarkCon" v-else>-->
<!-- <span>暂无名单</span>-->
<!-- <span>暂无名单</span>-->
<!-- </span>-->
<!-- </span>-->
<span
v-if=
"item.TipMoney"
style=
"color:red"
>
(小费:{{item.TipMoney}})
</span>
<span
v-if=
"item.TipMoney"
style=
"color:red"
>
(小费:{{item.TipMoney}})
</span>
</td>
</td>
</tr>
</tr>
...
@@ -3063,7 +3073,9 @@
...
@@ -3063,7 +3073,9 @@
OrderUnitPrice
:
0
OrderUnitPrice
:
0
},
},
SuperiorPeople
:
[],
SuperiorPeople
:
[],
IsBackStatus
:
1
IsBackStatus
:
1
,
HightUnitPrice
:
'2'
,
Unit_Price
:
0
,
};
};
},
},
components
:
{
components
:
{
...
@@ -3169,7 +3181,13 @@
...
@@ -3169,7 +3181,13 @@
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
this
.
OpSetLossPeople
=
x
.
OpSetLossPeople
;
this
.
OpSetLossPeople
=
x
.
OpSetLossPeople
;
this
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
HightUnitPrice
=
'1'
this
.
Unit_Price
=
x
.
Unit_Price
}
else
{
this
.
HightUnitPrice
=
'2'
this
.
Unit_Price
=
this
.
addObj
.
SingleDMCPrice
}
this
.
stratPrice
=
0
;
this
.
stratPrice
=
0
;
if
(
res
.
data
.
data
.
modelPrice
&&
res
.
data
.
data
.
modelPrice
.
GoAddPrice
)
{
if
(
res
.
data
.
data
.
modelPrice
&&
res
.
data
.
data
.
modelPrice
.
GoAddPrice
)
{
this
.
stratPrice
=
res
.
data
.
data
.
modelPrice
.
GoAddPrice
;
this
.
stratPrice
=
res
.
data
.
data
.
modelPrice
.
GoAddPrice
;
...
@@ -3204,7 +3222,7 @@
...
@@ -3204,7 +3222,7 @@
this
.
Unit_PriceList
=
[];
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
obj
.
TCID
,
"TCID"
:
obj
.
TCID
,
"MaxPeopleNum"
:
M
axPeopleNum
"MaxPeopleNum"
:
m
axPeopleNum
},
res
=>
{
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
...
@@ -3716,7 +3734,19 @@
...
@@ -3716,7 +3734,19 @@
}
}
},
},
getTotalPrice
()
{
getTotalPrice
(
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
)
{
this
.
$message
.
error
(
'成交单价必须大于等于本团单价!'
)
this
.
addMsg
.
Unit_Price
=
this
.
addMsg
.
TC_Price
return
}
}
if
(
this
.
addMsg
.
GroupType
!=
5
)
{
if
(
this
.
addMsg
.
GroupType
!=
5
)
{
this
.
addMsg
.
ChirdNum
=
this
.
addMsg
.
ChirdNoNeedBedNum
*
1
+
this
.
addMsg
.
ChirdNeedBedNum
*
1
this
.
addMsg
.
ChirdNum
=
this
.
addMsg
.
ChirdNoNeedBedNum
*
1
+
this
.
addMsg
.
ChirdNeedBedNum
*
1
if
(
this
.
addObj
.
IsBirdDiscount
==
1
)
{
if
(
this
.
addObj
.
IsBirdDiscount
==
1
)
{
...
@@ -3769,8 +3799,14 @@
...
@@ -3769,8 +3799,14 @@
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
let
dandijie
=
let
dandijie
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
if
(
this
.
addMsg
.
GroupType
==
4
){
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
this
.
addMsg
.
PreferPrice
=
this
.
addMsg
.
PreferPrice
=
this
.
OpSetLossMoney
+
this
.
OpSetLossMoney
+
dandijie
+
dandijie
+
...
@@ -3825,8 +3861,15 @@
...
@@ -3825,8 +3861,15 @@
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
Number
(
this
.
addMsg
.
OldPeopleNum
))
*
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
(
Number
(
this
.
stratPrice
)
+
Number
(
this
.
returnPrice
));
let
dandijie
=
let
dandijie
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
if
(
this
.
addMsg
.
GroupType
==
4
){
dandijie
=
this
.
addMsg
.
Unit_Price
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
else
{
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
this
.
addMsg
.
PreferPrice
=
this
.
addMsg
.
PreferPrice
=
this
.
OpSetLossMoney
+
this
.
OpSetLossMoney
+
dandijie
+
dandijie
+
...
@@ -3847,6 +3890,9 @@
...
@@ -3847,6 +3890,9 @@
this
.
addMsg
.
PreferPrice
=
Number
(
this
.
addMsg
.
YSeatNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
OpSetLossMoney
;
this
.
addMsg
.
PreferPrice
=
Number
(
this
.
addMsg
.
YSeatNum
)
*
Number
(
this
.
addMsg
.
Unit_Price
)
+
this
.
OpSetLossMoney
;
}
}
this
.
getTicheng
();
this
.
getTicheng
();
if
(
!
t
)
{
this
.
getTypePrice2
()
}
},
},
yzBigBed2
()
{
yzBigBed2
()
{
let
x
=
let
x
=
...
@@ -4809,7 +4855,122 @@
...
@@ -4809,7 +4855,122 @@
// }
// }
// },
// },
// err => {})
// err => {})
},
gettypechange
(
type
){
//切换参团类型时 把值初始化
if
(
type
==
4
){
this
.
addMsg
.
Unit_Price
=
this
.
Unit_Price
;
//成交单价
this
.
HightUnitPrice
=
'1'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0;
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
this
.
addMsg
.
ChirdNeedBedNum
=
0
;
this
.
addMsg
.
PreferPrice
=
0
;
this
.
addMsg
.
SafeNum
=
0
;
this
.
addMsg
.
VisaNum
=
0
;
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
}
else
{
this
.
HightUnitPrice
=
'2'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
ManNum
=
0
;
// this.addMsg.ChirdNum = 0; //?
this
.
addMsg
.
BabyNum
=
0
;
this
.
addMsg
.
OldPeopleNum
=
0
;
this
.
addMsg
.
ChirdNoNeedBedNum
=
0
;
this
.
addMsg
.
ChirdNeedBedNum
=
0
;
this
.
addMsg
.
PreferPrice
=
0
;
this
.
addMsg
.
SafeNum
=
0
;
this
.
addMsg
.
VisaNum
=
0
;
this
.
addMsg
.
PredictRoomNum
=
0
;
this
.
addMsg
.
YSeatNum
=
0
;
};
if
(
this
.
addMsg
.
CustomerType
==
1
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2BMemberPrice
;
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2BMemberPrice
;
}
}
if
(
this
.
addMsg
.
CustomerType
==
2
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2BPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2BPrice
;
}
}
if
(
this
.
addMsg
.
CustomerType
==
3
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2CMemberPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2CMemberPrice
;
}
}
this
.
addMsg
.
CustomerId
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
if
(
this
.
addMsg
.
CustomerType
==
4
)
{
if
(
this
.
addMsg
.
GroupType
==
4
){
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
SingleDMCPrice
;
}
else
{
this
.
addMsg
.
TC_Price
=
this
.
addObj
.
B2CPrice
this
.
addMsg
.
Unit_Price
=
this
.
addObj
.
B2CPrice
;
}
this
.
addMsg
.
CustomerId
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
},
getTypePrice2
()
{
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
)
this
.
Unit_PriceList
=
[];
console
.
log
(
this
.
Unit_PriceList
)
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addMsg
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
)
{
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
TC_Price
-
i
*
10
;
obj
.
LessMoney
=
this
.
addMsg
.
TC_Price
-
i
*
10
;
this
.
Unit_PriceList
.
push
(
obj
);
}
if
(
this
.
Unit_PriceList
.
findIndex
(
markers
=>
markers
.
ID
==
this
.
addMsg
.
Unit_Price
)
<
0
)
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
}
else
{
var
obj
=
{
ID
:
''
,
LessMoney
:
''
}
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
},
err
=>
{})
},
},
},
mounted
()
{
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
...
...
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