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
e4362493
Commit
e4362493
authored
Mar 14, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分弹窗
parent
8e443d2f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
406 additions
and
169 deletions
+406
-169
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+102
-4
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+50
-37
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+254
-128
No files found.
src/components/SalesModule/groupTourOrder.vue
View file @
e4362493
...
...
@@ -687,6 +687,41 @@
font-size
:
14px
;
vertical-align
:
top
;
}
.Ysze
{
position
:
relative
;
}
.Ysze
.changeYsze
{
position
:
absolute
;
left
:
110%
;
z-index
:
10000
;
top
:
0
;
width
:
700px
;
background
:
#fff
;
box-shadow
:
0
0
8px
#888
;
padding
:
10px
;
box-sizing
:
border-box
;
}
.Ysze
.Ysze-button
{
position
:
absolute
;
left
:
98%
;
top
:
3px
;
border-radius
:
4px
;
cursor
:
pointer
;
}
.Ysze
.changeYsze
.el-form-item
{
display
:
inline-block
;
width
:
30%
;
margin-bottom
:
5px
;
}
.Ysze
.changeYsze
.el-icon-close
{
position
:
absolute
;
right
:
6px
;
top
:
6px
;
color
:
#f78989
;
font-size
:
20px
;
cursor
:
pointer
;
}
</
style
>
<
template
>
...
...
@@ -904,10 +939,59 @@
<el-input
v-model=
'addMsg.PredictRoomNum'
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
class=
"Ysze"
>
<el-form-item
label=
"应收总额"
prop=
"PreferPrice"
>
<el-input
v-model=
'addMsg.PreferPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<button
@
click=
"Yszefz"
type=
"button"
class=
"Ysze-button el-button--primary"
style=
"background: rgb(0, 198, 255); border-color: rgb(0, 198, 255);"
>
<i
class=
"iconfont icon-nav-hangzheng"
style=
"font-size:12px"
></i>
</button>
<!-- 修改应收总额 -->
<div
class=
"changeYsze"
v-show=
"Ysze"
>
<el-form
:model=
"addMsg_form"
ref=
"addMsg_form"
label-position=
"right"
label-width=
"100px"
>
<span
class=
"el-icon-close"
@
click=
"Ysze=false"
></span>
<el-form-item
label=
"签证费"
>
<el-input
v-model=
'addMsg_form.VisaPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"退签证费"
>
<el-input
v-model=
'addMsg_form.BackVisaPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"杂费"
>
<el-input
v-model=
'addMsg_form.OtherPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"老人附加费"
>
<el-input
v-model=
'addMsg_form.OldManChargePrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"儿童附加费"
>
<el-input
v-model=
'addMsg_form.BabyChargePrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"单房差"
>
<el-input
v-model=
'addMsg_form.SingleRoomPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"儿童占床增收"
>
<el-input
v-model=
'addMsg_form.ChildNeedPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"儿童不占床减免"
>
<el-input
v-model=
'addMsg_form.ChildNoNeedPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"收损金额"
>
<el-input
v-model=
'addMsg_form.OpSetLossMoney'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"单地接"
>
<el-input
v-model=
'addMsg_form.SingleDMCPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"婴儿价"
>
<el-input
v-model=
'addMsg_form.BabyPrice'
:disabled=
"true"
></el-input>
</el-form-item>
<!--
<el-form-item
v-if=
"IsUpdateOrderMoney"
>
<el-button
type=
"primary"
style=
"padding:6px 15px"
@
click=
"submitYSZEForm"
>
确定
</el-button>
<el-button
type=
"danger"
style=
"padding:6px"
@
click=
"Ysze=false"
>
关闭
</el-button>
-->
<!--
</el-form-item>
-->
</el-form
>
</div>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"预计提成"
prop=
"Commission"
>
...
...
@@ -1730,6 +1814,10 @@
export
default
{
data
()
{
return
{
// 修改应收总额
Ysze
:
false
,
addMsg_form
:{},
pickerOptions0
:
{
disabledDate
:
time
=>
{
let
starTime
=
new
Date
(
this
.
starTime
)
...
...
@@ -1985,6 +2073,11 @@
}
},
methods
:
{
// 给其他费用赋值
Yszefz
(){
this
.
Ysze
=
true
;
this
.
addMsg_form
=
Object
.
assign
({},
this
.
addObj
);
},
//跳转
goUrlTS
(
path
,
id
,
orderId
,
title
)
{
this
.
$router
.
push
({
...
...
@@ -2406,6 +2499,7 @@
this
.
remarksMsg
.
isOrder
=
obj
.
isOrder
},
getDetail
(
obj
)
{
this
.
Ysze
=
false
;
this
.
starTime
=
obj
.
startDate
this
.
endTime
=
obj
.
backDate
this
.
getMinPrice
(
obj
.
orderId
)
...
...
@@ -2418,9 +2512,13 @@
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsUnion
=
res
.
data
.
data
.
IsUnion
this
.
isAllowUpdate
=
res
.
data
.
data
.
IsUpdatePlatOrder
this
.
addObj
=
res
.
data
.
data
.
modelPrice
let
x
=
res
.
data
.
data
.
model
this
.
addMsg
=
x
this
.
addObj
=
res
.
data
.
data
.
modelPrice
let
x
=
res
.
data
.
data
.
model
;
this
.
addObj
.
OrderId
=
x
.
OrderId
;
this
.
addObj
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
addMsg
=
x
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
this
.
addMsg
.
PlatformAccount
=
''
this
.
getScenicRefund
(
obj
.
tcid
)
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
e4362493
...
...
@@ -631,15 +631,16 @@
top
:
0
;
width
:
700px
;
background
:
#fff
;
box-shadow
:
0
0
8px
#
333
;
box-shadow
:
0
0
8px
#
888
;
padding
:
10px
;
box-sizing
:
border-box
;
}
.Ysze
.Ysze-button
{
position
:
absolute
;
left
:
98%
;
top
:
15%
;
top
:
3px
;
border-radius
:
4px
;
cursor
:
pointer
;
}
.Ysze
.changeYsze
.el-form-item
{
display
:
inline-block
;
...
...
@@ -672,20 +673,20 @@
<el-form-item
label=
"客户类型"
prop=
"CustomerType"
>
<el-select
v-model=
'addMsg.CustomerType'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'getTypePrice'
:disabled=
"true"
>
<el-option
v-for=
"
item
in khlxList"
v-for=
"
(item,index)
in khlxList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'i
tem.Id
'
>
:key=
'i
ndex
'
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"参团类型"
prop=
"GroupType"
>
<el-select
v-model=
'addMsg.GroupType'
disabled
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
v-for=
"
item
in ctlxList"
v-for=
"
(item,index)
in ctlxList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'i
tem.Id
'
>
:key=
'i
ndex
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -700,10 +701,10 @@
<el-form-item
label=
"客户门店"
prop=
"CustomerId"
v-show=
"addMsg.CustomerType==1||addMsg.CustomerType==2||addMsg.CustomerType==''"
>
<el-select
v-model=
'addMsg.CustomerId'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'getSspt'
:disabled=
"true"
>
<el-option
v-for=
"
item
in khmdList"
v-for=
"
(item,index)
in khmdList"
:label=
'item.customerName'
:value=
'item.customerId'
:key=
'i
tem.customerId
'
>
:key=
'i
ndex
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -983,7 +984,7 @@
<!-- 其他类型的修改信息2 -->
<div
class=
"productQuerybottomLayer ownScrollbarStyle"
v-show=
"isShowLayer"
>
<p>
修改
123655
<p>
修改
<span
class=
"fr"
>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"取消"
@
click=
"cancelSubmit()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"保存"
@
click=
"submitForm('addMsg')"
/>
...
...
@@ -1112,60 +1113,60 @@
<div
style=
"width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"
></div>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"成人人数"
prop=
"ManNum"
>
<el-form-item
label=
"成人人数"
>
<el-input
v-model=
'addMsg.ManNum'
@
keyup
.
native=
"checkInteger(addMsg,'ManNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<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=
"儿童不占床"
prop=
"ChirdNoNeedBedNum"
>
<el-form-item
v-if=
'IsChildrenTour==1'
label=
"儿童不占床"
>
<el-input
v-model=
'addMsg.ChirdNoNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"儿童占床"
prop=
"ChirdNeedBedNum"
>
<el-form-item
label=
"儿童占床"
>
<el-input
v-model=
'addMsg.ChirdNeedBedNum'
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
>
<el-form-item
label=
"婴儿人数"
>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"老人人数"
prop=
"OldPeopleNum"
>
<el-form-item
label=
"老人人数"
>
<el-input
v-model=
'addMsg.OldPeopleNum'
@
keyup
.
native=
"checkInteger(addMsg,'OldPeopleNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"单地接数量"
prop=
"AirticketNum"
>
<el-form-item
label=
"单地接数量"
>
<el-input
v-model=
'addMsg.AirticketNum'
@
keyup
.
native=
"checkInteger(addMsg,'AirticketNum')"
@
input=
'getNumber();getTotalPrice();getHouseNo()'
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单房数量"
prop=
"SingleRoomNum"
>
<el-form-item
label=
"单房数量"
>
<el-input
v-model=
'addMsg.SingleRoomNum'
@
keyup
.
native=
"checkInteger(addMsg,'SingleRoomNum')"
@
input=
'yzBigBed2();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"大床房"
prop=
"BigRoomNum"
>
<el-form-item
label=
"大床房"
>
<el-input
v-model=
'addMsg.BigRoomNum'
@
keyup
.
native=
"checkInteger(addMsg,'BigRoomNum')"
@
input=
'yzBigBed();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"三人房"
prop=
"TripleRoomNum"
>
<el-form-item
label=
"三人房"
>
<el-input
v-model=
'addMsg.TripleRoomNum'
@
keyup
.
native=
"checkInteger(addMsg,'TripleRoomNum')"
@
input=
'yzBigBed1();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"签证数量"
prop=
"VisaNum"
>
<el-form-item
label=
"签证数量"
>
<el-input
v-model=
'addMsg.VisaNum'
@
keyup
.
native=
"checkInteger(addMsg,'VisaNum')"
@
input=
'yzVisaNum();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"保险数量"
prop=
"SaleNum"
>
<el-form-item
label=
"保险数量"
>
<el-input
v-model=
'addMsg.SafeNum'
@
keyup
.
native=
"checkInteger(addMsg,'SafeNum')"
@
input=
'yzSafeNum();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
...
...
@@ -1175,7 +1176,7 @@
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"预计用房"
prop=
"PredictRoomNum"
>
<el-form-item
label=
"预计用房"
>
<el-input
v-model=
'addMsg.PredictRoomNum'
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -1185,13 +1186,15 @@
<el-form-item
label=
"应收总额"
prop=
"PreferPrice"
>
<el-input
v-model=
'addMsg.PreferPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<button
@
click=
"Yszefz"
type=
"button"
class=
"Ysze-button el-button--primary"
style=
"background: rgb(0, 198, 255); border-color: rgb(0, 198, 255);"
><i
class=
"iconfont icon-nav-hangzheng"
></i></button>
<button
@
click=
"Yszefz"
type=
"button"
class=
"Ysze-button el-button--primary"
style=
"background: rgb(0, 198, 255); border-color: rgb(0, 198, 255);"
>
<i
class=
"iconfont icon-nav-hangzheng"
style=
"font-size:12px"
></i>
</button>
<!-- 修改应收总额 -->
<div
class=
"changeYsze"
v-show=
"Ysze"
>
<el-form
:model=
"addMsg_form"
ref=
"addMsg_form"
label-position=
"right"
label-width=
"100px"
>
<span
class=
"el-icon-close"
@
click=
"Ysze=false"
></span>
<el-form-item
label=
"签证费"
>
<el-input
v-model=
'addMsg_form.VisaPrice'
></el-input>
<el-input
v-model=
'addMsg_form.VisaPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"退签证费"
>
<el-input
v-model=
'addMsg_form.BackVisaPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
...
...
@@ -1216,7 +1219,7 @@
<el-form-item
label=
"儿童不占床减免"
>
<el-input
v-model=
'addMsg_form.ChildNoNeedPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"收损"
>
<el-form-item
label=
"收损
金额
"
>
<el-input
v-model=
'addMsg_form.OpSetLossMoney'
:disabled=
"true"
></el-input>
</el-form-item>
...
...
@@ -1227,8 +1230,8 @@
<el-input
v-model=
'addMsg_form.BabyPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
v-if=
"IsUpdateOrderMoney"
>
<el-button
type=
"primary"
style=
"padding:6px"
@
click=
"submitYSZEForm"
>
确定
</el-button>
<
el-button
type=
"danger"
style=
"padding:6px"
@
click=
"Ysze=false"
>
关闭
</el-button
>
<el-button
type=
"primary"
style=
"padding:6px
15px
"
@
click=
"submitYSZEForm"
>
确定
</el-button>
<
!--
<el-button
type=
"danger"
style=
"padding:6px"
@
click=
"Ysze=false"
>
关闭
</el-button>
--
>
</el-form-item>
</el-form
>
</div>
...
...
@@ -1244,7 +1247,7 @@
<el-form-item
label=
"分摊人"
prop=
"CommissionSharePeople"
>
<el-select
:disabled=
"isUpdateSharePeople"
filterable
clearable
@
change=
'getTicheng'
v-model=
'addMsg.CommissionSharePeople'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
'无'
:value=
'comSelect'
></el-option>
<el-option
v-for=
'
item in employeeList'
:label=
'item.EmName'
:value=
'item.EmployeeId'
:key=
'item.EmployeeId
'
></el-option>
<el-option
v-for=
'
(item,index) in employeeList'
:label=
'item.EmName'
:value=
'item.EmployeeId'
:key=
'index
'
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -1284,7 +1287,7 @@
<el-option
v-for=
'item in ScenicRefundList'
:label=
'item.ScenicName'
:value=
'item.Id'
:key=
'item.
Id
'
>
:key=
'item.
ScenicName
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1301,7 +1304,7 @@
v-for=
"item in ddlyList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.
Id
'
>
:key=
'item.
Name
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1313,7 +1316,7 @@
v-for=
"item in ssptList"
:label=
'item.brandName'
:value=
'item.dictId'
:key=
'item.
dictId
'
>
:key=
'item.
brandName
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1325,7 +1328,7 @@
v-for=
"item in jyfsList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.
Id
'
>
:key=
'item.
Name
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1333,7 +1336,7 @@
<el-col
:span=
"4"
v-if=
'addMsg.TradeWay==1'
>
<el-form-item
label=
"收款账户"
>
<el-select
filterable
v-model=
'addMsg.PlatformAccount'
@
change=
"changeSelect"
>
<el-option
v-for=
'item in PlatformAccountList'
:label=
'item.Alias'
:value=
'item.ID'
:key=
'item.
ID
'
>
<el-option
v-for=
'item in PlatformAccountList'
:label=
'item.Alias'
:value=
'item.ID'
:key=
'item.
Alias
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -1492,6 +1495,11 @@
<div>
领队导游
</div>
</div>
</div>
<!-- v-if="tuanInfo.config.IsOrder!=1" -->
<div
style=
"float:right"
>
<span
style=
"color:#f78989"
>
订单操作已关闭,如需修改请联系OP.
</span>
</div>
<div
style=
"width: 100%; height: auto; overflow-x: auto;"
class=
"ownScrollbarStyle"
>
<!-- 表格 -->
...
...
@@ -1781,18 +1789,18 @@
<tr>
<td></td>
<td
colspan=
"14"
class=
"groupTourOrderByTuan_seat"
>
<div>
<div>
<span>
本团机位:
</span>
<span>
{{tuanInfo.config
&&
tuanInfo.config.YSeat}}Y + {{tuanInfo.config
&&
tuanInfo.config.CSeat}}E + {{tuanInfo.config
&&
tuanInfo.config.FSeat}}F
</span>
</div>
<div>
<span>
剩余机位:
</span>
<span>
{{tuanInfo.config
&&
tuanInfo.config.YSeat-seat.YSeat
>0?
tuanInfo.config.YSeat-seat.YSeat:0}}Y + {{tuanInfo.config
&&
tuanInfo.config.CSeat-seat.CSeat>0?tuanInfo.config.CSeat-seat.CSeat:0}}E + {{tuanInfo.config
&&
tuanInfo.config.FSeat-seat.FSeat>0?tuanInfo.config.FSeat-seat.FSeat:0}}F
</span>
<span>
{{tuanInfo.config
&&
tuanInfo.config.YSeat-seat.YSeat
>0 ?
tuanInfo.config.YSeat-seat.YSeat:0}}Y + {{tuanInfo.config
&&
tuanInfo.config.CSeat-seat.CSeat>0?tuanInfo.config.CSeat-seat.CSeat:0}}E + {{tuanInfo.config
&&
tuanInfo.config.FSeat-seat.FSeat>0?tuanInfo.config.FSeat-seat.FSeat:0}}F
</span>
</div>
<div>
<span>
候补机位:
</span>
<span>
{{tuanInfo.config
&&
tuanInfo.config.YSeat-seat.YSeat>0
?0:
seat.YSeat-tuanInfo.config.YSeat}}Y + {{tuanInfo.config
&&
tuanInfo.config.CSeat-seat.CSeat>0?0:seat.CSeat-tuanInfo.config.CSeat}}E + {{tuanInfo.config
&&
tuanInfo.config.FSeat-seat.FSeat>0?0:seat.FSeat-tuanInfo.config.FSeat}}F
</span>
</div>
<span>
{{tuanInfo.config
&&
tuanInfo.config.YSeat-seat.YSeat>0
? 0 :
seat.YSeat-tuanInfo.config.YSeat}}Y + {{tuanInfo.config
&&
tuanInfo.config.CSeat-seat.CSeat>0?0:seat.CSeat-tuanInfo.config.CSeat}}E + {{tuanInfo.config
&&
tuanInfo.config.FSeat-seat.FSeat>0?0:seat.FSeat-tuanInfo.config.FSeat}}F
</span>
</div>
<div>
<span>
参团:
</span>
<span>
{{seat.joinGroupNum}}
</span>
...
...
@@ -2108,6 +2116,7 @@ export default {
// 修改应收总额
Ysze
:
false
,
addMsg_form
:{},
OPRemarkMsg
:
{
OrderId
:
''
,
OP_Remarks
:
''
,
...
...
@@ -2844,7 +2853,7 @@ submitYSZEForm(){
this
.
getTotalPrice
();
}
else
{
this
.
Ysze
=
false
;
this
.
$message
.
erro
e
(
res
.
data
.
message
);
this
.
$message
.
erro
r
(
res
.
data
.
message
);
}
},
err
=>
{}
...
...
@@ -2870,8 +2879,10 @@ submitYSZEForm(){
let
modelPrice
=
res
.
data
.
data
.
modelPrice
;
this
.
addMsg
=
x
;
this
.
addObj
=
res
.
data
.
data
.
modelPrice
;
this
.
addObj
.
OrderId
=
x
.
OrderId
;
this
.
addObj
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
;
this
.
getScenicRefund
(
obj
.
tcid
);
this
.
getPlatformAccount
(
obj
.
platformAccountTypeId
,
obj
.
platformAccount
);
...
...
@@ -3856,6 +3867,8 @@ submitYSZEForm(){
this
.
seat
.
joinGroupNum
=
res
.
data
.
data
.
pageData
.
joinGroupNum
this
.
seat
.
leaderNum
=
res
.
data
.
data
.
pageData
.
leaderNum
this
.
seat
.
ownVisaNum
=
res
.
data
.
data
.
pageData
.
ownVisaNum
console
.
log
(
"this.seat"
,
this
.
seat
)
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
e4362493
...
...
@@ -813,10 +813,46 @@
.RegistrationList
.nowrap
{
white-space
:
nowrap
;
}
.Ysze
{
position
:
relative
;
}
.Ysze
.changeYsze
{
position
:
absolute
;
left
:
110%
;
z-index
:
10000
;
top
:
0
;
width
:
700px
;
background
:
#fff
;
box-shadow
:
0
0
8px
#888
;
padding
:
10px
;
box-sizing
:
border-box
;
}
.Ysze
.Ysze-button
{
position
:
absolute
;
left
:
93%
;
top
:
3px
;
border-radius
:
4px
;
cursor
:
pointer
;
}
.Ysze
.changeYsze
.el-form-item
{
display
:
inline-block
;
width
:
30%
;
margin-bottom
:
5px
;
}
.Ysze
.changeYsze
.el-icon-close
{
position
:
absolute
;
right
:
6px
;
top
:
6px
;
color
:
#f78989
;
font-size
:
20px
;
cursor
:
pointer
;
}
</
style
>
<
template
>
<div
class=
"flexOne RegistrationList"
style=
"min-width: 1200px;"
>
<div
class=
"planeTicketEdit ownScrollbarStyle"
v-show=
"isShowLayer2"
>
<p>
修改
<span
class=
"fr"
style=
"margin-right:60px;"
>
...
...
@@ -1012,6 +1048,7 @@
</el-row>
</el-form>
</div>
<div
class=
"productQuerybottomLayer ownScrollbarStyle"
v-show=
"isShowLayer"
>
<p>
修改
<span
class=
"fr"
style=
"margin-right:60px;"
>
...
...
@@ -1194,11 +1231,59 @@
<el-input
v-model=
'addMsg.PredictRoomNum'
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"应收总额"
prop=
"PreferPrice"
>
<el-col
:span=
"4"
class=
"Ysze"
>
<el-form-item
label=
"应收总额"
prop=
"PreferPrice"
style=
"position:relative"
>
<el-input
v-model=
'addMsg.PreferPrice'
type=
"number"
@
input
.
native=
'getTicheng()'
:disabled=
"!this.OrderDataList.IsUpdateOrderMoney"
></el-input>
</el-form-item>
<button
@
click=
"Yszefz"
type=
"button"
class=
"Ysze-button el-button--primary"
style=
"background: rgb(0, 198, 255); border-color: rgb(0, 198, 255);"
>
<i
class=
"iconfont icon-nav-hangzheng"
style=
"font-size:12px"
></i>
</button>
</el-form-item>
<!-- 修改应收总额 -->
<div
class=
"changeYsze"
v-show=
"Ysze"
>
<el-form
:model=
"addMsg_form"
ref=
"addMsg_form"
label-position=
"right"
label-width=
"100px"
>
<span
class=
"el-icon-close"
@
click=
"Ysze=false"
></span>
<el-form-item
label=
"签证费"
>
<el-input
v-model=
'addMsg_form.VisaPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"退签证费"
>
<el-input
v-model=
'addMsg_form.BackVisaPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"杂费"
>
<el-input
v-model=
'addMsg_form.OtherPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"老人附加费"
>
<el-input
v-model=
'addMsg_form.OldManChargePrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"儿童附加费"
>
<el-input
v-model=
'addMsg_form.BabyChargePrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"单房差"
>
<el-input
v-model=
'addMsg_form.SingleRoomPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"儿童占床增收"
>
<el-input
v-model=
'addMsg_form.ChildNeedPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"儿童不占床减免"
>
<el-input
v-model=
'addMsg_form.ChildNoNeedPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"收损金额"
>
<el-input
v-model=
'addMsg_form.OpSetLossMoney'
:disabled=
"true"
></el-input>
</el-form-item>
<el-form-item
label=
"单地接"
>
<el-input
v-model=
'addMsg_form.SingleDMCPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
label=
"婴儿价"
>
<el-input
v-model=
'addMsg_form.BabyPrice'
:disabled=
"!IsUpdateOrderMoney"
></el-input>
</el-form-item>
<el-form-item
v-if=
"IsUpdateOrderMoney"
>
<el-button
type=
"primary"
style=
"padding:6px 15px"
@
click=
"submitYSZEForm"
>
确定
</el-button>
</el-form-item>
</el-form
>
</div>
</el-col>
<!--
<el-col
:span=
"4"
>
<el-form-item
label=
"预计提成"
prop=
"Commission"
>
...
...
@@ -1371,6 +1456,8 @@
<input
type=
"button"
class=
"normalBtn"
@
click=
"goUrl('TravelPassengerList',msg.TCID,'旅客名单')"
value=
"旅客名单"
/>
</div>
</div>
<!-- 表格 -->
<div
style=
"width: 100%; height: auto; overflow-x: auto;"
class=
"ownScrollbarStyle"
>
<table
class=
"RegisTrationTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
'loading'
>
...
...
@@ -1393,6 +1480,7 @@
<tr>
<td
v-show=
"OrderDataList.Length==0"
colspan=
"14"
align=
"center"
>
暂无数据
</td>
</tr>
<tr
v-if=
"OrderDataList.leadetList!=null && OrderDataList.leadetList.length>0"
>
<td
colspan=
"14"
>
订单类型:
<span
class=
"RL-redType"
>
领队
</span>
...
...
@@ -2146,6 +2234,11 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
export
default
{
data
()
{
return
{
// 修改应收总额
Ysze
:
false
,
addMsg_form
:{},
IsUpdateOrderMoney
:
false
,
OrderLoading
:
false
,
OrderLossMsg
:{
OrderId
:
""
,
...
...
@@ -2516,6 +2609,162 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
updateSalesMan
:
updateSalesMan
},
methods
:
{
// 给其他费用赋值
Yszefz
(){
this
.
Ysze
=
true
;
this
.
addMsg_form
=
Object
.
assign
({},
this
.
addObj
);
},
// 修改应收总额
submitYSZEForm
(){
this
.
apipost
(
"sellorder_post_SetOrderHistoryPrice"
,
this
.
addMsg_form
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
Ysze
=
false
;
this
.
addObj
=
this
.
addMsg_form
;
this
.
getTotalPrice
();
}
else
{
this
.
Ysze
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
// 点击弹出下拉框
getDetail
(
obj
)
{
this
.
Ysze
=
false
;
this
.
starTime
=
obj
.
StartDate
;
this
.
endTime
=
obj
.
BackDate
;
this
.
getMinPrice
(
obj
.
OrderId
);
this
.
addMsg
.
OrderId
=
obj
.
OrderId
;
this
.
IsChargeLossOrders
=
obj
.
IsChargeLossOrders
;
this
.
apipost
(
"sellorder_post_GetOrderEntity"
,
{
ID
:
obj
.
OrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsUnion
=
res
.
data
.
data
.
IsUnion
this
.
isAllowUpdate
=
res
.
data
.
data
.
IsUpdatePlatOrder
;
this
.
addObj
=
res
.
data
.
data
.
modelPrice
;
let
x
=
res
.
data
.
data
.
model
;
this
.
addMsg
=
x
;
this
.
addObj
.
OrderId
=
x
.
OrderId
;
this
.
addObj
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
;
this
.
getScenicRefund
(
obj
.
tcid
);
this
.
getPlatformAccount
(
obj
.
PlatformAccountTypeId
,
obj
.
PlatformAccount
);
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
this
.
addMsg
.
CustomerType
=
x
.
CustomerType
.
toString
();
this
.
addMsg
.
ClientSource
=
x
.
ClientSource
.
toString
();
this
.
addMsg
.
GroupType
=
x
.
GroupType
.
toString
();
this
.
addMsg
.
TradeWay
=
x
.
TradeWay
.
toString
();
this
.
addMsg
.
PredictRoomNum
=
x
.
PredictRoomNum
;
this
.
addMsg
.
IsIntermodal
=
x
.
IsIntermodal
.
toString
();
this
.
addMsg
.
IsReturnIntermodal
=
x
.
IsReturnIntermodal
.
toString
();
this
.
addMsg
.
ChirdNum
=
x
.
ChirdNum
.
toString
();
this
.
addMsg
.
ChirdNeedBedNum
=
x
.
ChirdNeedBedNum
.
toString
();
this
.
addMsg
.
ChirdNoNeedBedNum
=
(
x
.
ChirdNum
-
x
.
ChirdNeedBedNum
).
toString
();
this
.
addMsg
.
BabyNum
=
x
.
BabyNum
.
toString
();
this
.
IsChildrenTour
=
x
.
IsChildrenTour
;
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
this
.
OpSetLossPeople
=
x
.
OpSetLossPeople
;
this
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
stratPrice
=
0
;
if
(
res
.
data
.
data
.
modelPrice
&&
res
.
data
.
data
.
modelPrice
.
GoAddPrice
)
{
this
.
stratPrice
=
res
.
data
.
data
.
modelPrice
.
GoAddPrice
;
}
if
(
this
.
stratPrice
==
0
)
{
this
.
stratPriceShow
=
false
;
}
else
{
this
.
stratPriceShow
=
true
;
}
this
.
returnPrice
=
0
;
if
(
res
.
data
.
data
.
modelPrice
&&
res
.
data
.
data
.
modelPrice
.
BackAddPrice
)
{
this
.
returnPrice
=
res
.
data
.
data
.
modelPrice
.
BackAddPrice
;
}
if
(
this
.
returnPrice
==
0
)
{
this
.
returnPriceShow
=
false
;
}
else
{
this
.
returnPriceShow
=
true
;
}
if
(
x
.
ClientSource
==
1
)
{
this
.
isPingtai
=
true
;
}
if
(
this
.
addMsg
.
GroupType
!=
5
)
{
this
.
isShowLayer
=
true
;
this
.
isShowLayer2
=
false
;
}
else
{
this
.
isShowLayer
=
false
;
this
.
isShowLayer2
=
true
;
}
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
obj
.
TCID
},
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
=>
{})
this
.
isShowLayerRemarks
=
false
;
this
.
showSetLeader
=
false
;
this
.
apipost
(
"app_today_visit_GetCustomerBrandByCustomerId"
,
{
customerInfoId
:
x
.
CustomerId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ssptList
=
res
.
data
.
data
;
this
.
addMsg
.
BrandId
=
x
.
BrandId
;
}
},
err
=>
{}
);
this
.
getKhmdList
(
this
.
addMsg
.
CustomerType
,
obj
.
LineId
,
this
.
addMsg
.
CreateBy
);
this
.
getDdlyList
(
this
.
addMsg
.
CustomerType
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
// 获取订单收损详情
OrderLossInfo
(
childItem
){
this
.
OrderLossMsg
.
OrderId
=
childItem
.
OrderId
;
...
...
@@ -2842,132 +3091,7 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
this
.
remarksMsg
.
Remarks
=
obj
.
Remarks
this
.
remarksMsg
.
OldRemarks
=
obj
.
Remarks
;
},
getDetail
(
obj
)
{
this
.
starTime
=
obj
.
StartDate
;
this
.
endTime
=
obj
.
BackDate
;
this
.
getMinPrice
(
obj
.
OrderId
);
this
.
addMsg
.
OrderId
=
obj
.
OrderId
;
this
.
IsChargeLossOrders
=
obj
.
IsChargeLossOrders
;
this
.
apipost
(
"sellorder_post_GetOrderEntity"
,
{
ID
:
obj
.
OrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
IsUnion
=
res
.
data
.
data
.
IsUnion
this
.
isAllowUpdate
=
res
.
data
.
data
.
IsUpdatePlatOrder
;
this
.
addObj
=
res
.
data
.
data
.
modelPrice
;
let
x
=
res
.
data
.
data
.
model
;
this
.
addMsg
=
x
;
this
.
addMsg
.
ScenicRefundArr
=
res
.
data
.
data
.
ScenicRefundArr
;
this
.
getScenicRefund
(
obj
.
tcid
);
this
.
getPlatformAccount
(
obj
.
PlatformAccountTypeId
,
obj
.
PlatformAccount
);
this
.
SetOutCityId
=
res
.
data
.
data
.
SetOutCityId
;
this
.
reOutCityId
=
res
.
data
.
data
.
SetBackCityId
;
this
.
addMsg
.
CustomerType
=
x
.
CustomerType
.
toString
();
this
.
addMsg
.
ClientSource
=
x
.
ClientSource
.
toString
();
this
.
addMsg
.
GroupType
=
x
.
GroupType
.
toString
();
this
.
addMsg
.
TradeWay
=
x
.
TradeWay
.
toString
();
this
.
addMsg
.
PredictRoomNum
=
x
.
PredictRoomNum
;
this
.
addMsg
.
IsIntermodal
=
x
.
IsIntermodal
.
toString
();
this
.
addMsg
.
IsReturnIntermodal
=
x
.
IsReturnIntermodal
.
toString
();
this
.
addMsg
.
ChirdNum
=
x
.
ChirdNum
.
toString
();
this
.
addMsg
.
ChirdNeedBedNum
=
x
.
ChirdNeedBedNum
.
toString
();
this
.
addMsg
.
ChirdNoNeedBedNum
=
(
x
.
ChirdNum
-
x
.
ChirdNeedBedNum
).
toString
();
this
.
addMsg
.
BabyNum
=
x
.
BabyNum
.
toString
();
this
.
IsChildrenTour
=
x
.
IsChildrenTour
;
this
.
IsBirdDiscount
=
x
.
IsBirdDiscount
;
this
.
OpSetLossPeople
=
x
.
OpSetLossPeople
;
this
.
OpSetLossMoney
=
x
.
OpSetLossMoney
;
this
.
stratPrice
=
0
;
if
(
res
.
data
.
data
.
modelPrice
&&
res
.
data
.
data
.
modelPrice
.
GoAddPrice
)
{
this
.
stratPrice
=
res
.
data
.
data
.
modelPrice
.
GoAddPrice
;
}
if
(
this
.
stratPrice
==
0
)
{
this
.
stratPriceShow
=
false
;
}
else
{
this
.
stratPriceShow
=
true
;
}
this
.
returnPrice
=
0
;
if
(
res
.
data
.
data
.
modelPrice
&&
res
.
data
.
data
.
modelPrice
.
BackAddPrice
)
{
this
.
returnPrice
=
res
.
data
.
data
.
modelPrice
.
BackAddPrice
;
}
if
(
this
.
returnPrice
==
0
)
{
this
.
returnPriceShow
=
false
;
}
else
{
this
.
returnPriceShow
=
true
;
}
if
(
x
.
ClientSource
==
1
)
{
this
.
isPingtai
=
true
;
}
if
(
this
.
addMsg
.
GroupType
!=
5
)
{
this
.
isShowLayer
=
true
;
this
.
isShowLayer2
=
false
;
}
else
{
this
.
isShowLayer
=
false
;
this
.
isShowLayer2
=
true
;
}
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
obj
.
TCID
},
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
=>
{})
this
.
isShowLayerRemarks
=
false
;
this
.
showSetLeader
=
false
;
this
.
apipost
(
"app_today_visit_GetCustomerBrandByCustomerId"
,
{
customerInfoId
:
x
.
CustomerId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ssptList
=
res
.
data
.
data
;
this
.
addMsg
.
BrandId
=
x
.
BrandId
;
}
},
err
=>
{}
);
this
.
getKhmdList
(
this
.
addMsg
.
CustomerType
,
obj
.
LineId
,
this
.
addMsg
.
CreateBy
);
this
.
getDdlyList
(
this
.
addMsg
.
CustomerType
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
getTypePrice
()
{
this
.
addMsg
.
ContactName
=
""
;
this
.
addMsg
.
ContactMobile
=
""
;
...
...
@@ -3706,8 +3830,10 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
msg
,
res
=>
{
this
.
loading
=
false
;
console
.
log
(
"数据列表"
,
res
)
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
OrderDataList
=
res
.
data
.
data
;
this
.
IsUpdateOrderMoney
=
res
.
data
.
data
.
IsUpdateOrderMoney
}
},
err
=>
{}
...
...
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