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
918a32c6
Commit
918a32c6
authored
Jun 19, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
24ecfc67
93562824
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
122 additions
and
93 deletions
+122
-93
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+7
-1
addPassenger.vue
src/components/SalesModule/addPassenger.vue
+5
-2
groupTourOrderByTuanOne.vue
src/components/SalesModule/groupTourOrderByTuanOne.vue
+4
-3
groupTourOrderOne.vue
src/components/SalesModule/groupTourOrderOne.vue
+31
-31
productQueryOne.vue
src/components/SalesModule/productQueryOne.vue
+5
-5
roomQuery2.vue
src/components/Supplier/roomQuery2.vue
+70
-51
No files found.
src/components/Hotel/roomReservationsDetails.vue
View file @
918a32c6
...
...
@@ -286,11 +286,17 @@
<td
colspan=
"2"
style=
"height:5px;"
></td>
</tr>
<tr>
<td
width=
"70"
style=
"text-align:right;"
>
备注:
</td>
<td
width=
"70"
style=
"text-align:right;"
>
对供应商
备注:
</td>
<td>
<el-input
type=
'textarea'
class=
'w135'
v-model=
'subItem.Remarks'
></el-input>
</td>
</tr>
<tr
v-if=
"subItem.SupplierToDmcRemarks"
>
<td
width=
"70"
style=
"text-align:right;"
>
供应商对地接备注:
</td>
<td>
{{
subItem
.
SupplierToDmcRemarks
}}
</td>
</tr>
</table>
</td>
<!-- 操作 -->
...
...
src/components/SalesModule/addPassenger.vue
View file @
918a32c6
...
...
@@ -1522,8 +1522,8 @@
}
},
savePassenger
(
type
)
{
if
((
this
.
LineId
===
14
||
LineId
===
2
)
&&
(
this
.
addMsg
.
IdCard
===
''
||
this
.
addMsg
.
IdCard
.
length
<
18
))
{
this
.
$message
.
error
(
'请填写身份证号码!'
);
if
((
this
.
LineId
===
14
||
this
.
LineId
===
2
)
&&
(
this
.
addMsg
.
IdCard
===
''
||
this
.
addMsg
.
IdCard
.
length
<
18
))
{
return
this
.
$message
.
error
(
'请填写身份证号码!'
);
}
this
.
addMsg
.
EconomicCapabilityList
=
[];
this
.
EconomicCapabilityS
.
forEach
(
x
=>
{
...
...
@@ -1764,6 +1764,9 @@
this
.
SafeStartStatus
=
this
.
addMsg
.
IsNeedSafe
;
this
.
$forceUpdate
();
this
.
getHouselist
(
obj
.
Sex
.
toString
(),
obj
.
TCID
,
obj
.
OrderId
,
obj
.
IsBed
)
if
(
this
.
$route
.
query
.
isOneDay
===
1
)
{
this
.
addMsg
.
IsBed
=
0
}
// this.Roominformation()
}
else
{
this
.
$message
.
error
();
...
...
src/components/SalesModule/groupTourOrderByTuanOne.vue
View file @
918a32c6
...
...
@@ -1135,12 +1135,12 @@
<el-input
v-model=
'addMsg.SafeNum'
@
keyup
.
native=
"checkInteger(addMsg,'SafeNum')"
@
input=
'yzSafeNum();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<
!-- <
el-col :span="4">
<el-form-item label="拒签人数" prop="RefuseVisaNum" >
<el-input v-model='addMsg.RefuseVisaNum' @keyup.native="checkInteger(addMsg,'RefuseVisaNum')"
@input='getTotalPrice()'></el-input>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
<!-- <el-row :gutter="20"> -->
<!-- <el-col :span="4">
...
...
@@ -3136,10 +3136,10 @@
this
.
getKhmdList
(
this
.
addMsg
.
CustomerType
,
obj
.
lineId
,
this
.
addMsg
.
CreateBy
);
this
.
getDdlyList
(
this
.
addMsg
.
CustomerType
);
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
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
obj
.
tcid
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
){
this
.
Unit_PriceList
=
[];
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
var
obj
=
{
ID
:
''
,
...
...
@@ -3160,6 +3160,7 @@
}
}
else
{
this
.
Unit_PriceList
=
[];
var
obj
=
{
ID
:
''
,
LessMoney
:
''
...
...
src/components/SalesModule/groupTourOrderOne.vue
View file @
918a32c6
...
...
@@ -3362,21 +3362,21 @@
},
saveOrder
()
{
//验证人数和机位数
if
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
!=
Number
(
this
.
addMsg
.
YSeatNum
)
+
Number
(
this
.
addMsg
.
ESeatNum
)
+
Number
(
this
.
addMsg
.
FSeatNum
)
)
{
if
(
this
.
IsChargeLossOrders
==
1
)
{
}
else
{
this
.
$message
.
warning
(
'人数和机位数不相等!'
)
return
}
}
//
if (
//
Number(this.addMsg.ManNum) +
//
Number(this.addMsg.ChirdNum) +
//
Number(this.addMsg.OldPeopleNum) !=
//
Number(this.addMsg.YSeatNum) +
//
Number(this.addMsg.ESeatNum) +
//
Number(this.addMsg.FSeatNum)
//
) {
//
if (this.IsChargeLossOrders == 1) {
//
} else {
//
this.$message.warning('人数和机位数不相等!')
//
return
//
}
//
}
if
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
...
...
@@ -3401,22 +3401,22 @@
return
}
if
(
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
>
Number
(
this
.
addMsg
.
ChirdNum
))
{
this
.
$message
.
warning
(
'儿童占床不能大于儿童数!'
)
return
}
//
if (Number(this.addMsg.ChirdNeedBedNum) > Number(this.addMsg.ChirdNum)) {
//
this.$message.warning('儿童占床不能大于儿童数!')
//
return
//
}
if
(
Number
(
this
.
addMsg
.
ChirdNum
)
-
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
>
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
)
{
this
.
$message
.
warning
(
'儿童占床数量不足!'
)
return
}
//
if (
//
Number(this.addMsg.ChirdNum) -
//
Number(this.addMsg.ChirdNeedBedNum) +
//
Number(this.addMsg.BabyNum) >
//
Number(this.addMsg.ManNum) +
//
Number(this.addMsg.OldPeopleNum) +
//
Number(this.addMsg.ChirdNeedBedNum)
//
) {
//
this.$message.warning('儿童占床数量不足!')
//
return
//
}
if
(
this
.
userId
==
this
.
createByInfo
)
{
if
(
this
.
addMsg
.
CommissionSharePeople
==
'-1'
)
{
...
...
@@ -3434,7 +3434,7 @@
this
.
addMsg
.
IsChildrenTour
=
this
.
IsChildrenTour
this
.
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
this
.
apipost
(
'sellorder_post_SetO
rderInfo_02
'
,
'sellorder_post_SetO
neDayOrderInfo
'
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/SalesModule/productQueryOne.vue
View file @
918a32c6
...
...
@@ -1531,12 +1531,12 @@
this
.
addMsg
.
CustomerId
=
'0'
this
.
addMsg
.
CommissionShareMoney
=
'0'
}
this
.
Unit_PriceList
=
[];
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
)
if
(
maxPeopleNum
>
0
){
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addObj
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
},
res
=>
{
this
.
LessMoney
=
res
.
data
.
data
.
lessMoney
;
if
(
parseFloat
(
this
.
LessMoney
)
>
0
){
if
(
parseFloat
(
this
.
LessMoney
)
>
0
){
this
.
Unit_PriceList
=
[];
for
(
var
i
=
0
;
i
<=
parseInt
(
this
.
LessMoney
)
/
10
;
i
++
)
{
var
obj
=
{
ID
:
''
,
...
...
@@ -1554,9 +1554,9 @@
obj
.
ID
=
this
.
addMsg
.
Unit_Price
;
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
}
else
{
}
}
else
{
this
.
Unit_PriceList
=
[];
var
obj
=
{
ID
:
''
,
LessMoney
:
''
...
...
src/components/Supplier/roomQuery2.vue
View file @
918a32c6
...
...
@@ -19,8 +19,7 @@
<div
style=
"font-size:12px;padding:2px 4px 3px 20px;"
>
<div
style=
"display:inline-block;color:red;display:none"
>
注意事项:每次导出数据最好不要超过一个月。
</div>
<div
class=
"rq_comSpan"
style=
"display:inline-block;"
>
颜色说明:
<span
class=
"rq_span1"
>
未操作
</span><span
class=
"rq_span2"
>
操作中
</span><span
class=
"rq_span3"
>
操作完成
</span><span
class=
"rq_span4"
>
机位数和人数不相符
</span>
<span
class=
"rq_span1"
>
新增团体
</span><span
class=
"rq_span2"
>
取消团体
</span>
</div>
</div><br
/>
<table
border=
"0"
cellspacing=
"1"
cellpadding=
"0"
class=
"roomQuery_SupplierTable"
v-loading=
'loading'
>
...
...
@@ -66,19 +65,16 @@
</td>
<td>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"酒店信息"
placement=
"top-start"
>
<el-popover
placement=
"bottom"
width=
"
125
0"
trigger=
"click"
popper-class=
"rq_HotelDetails"
>
<el-popover
placement=
"bottom"
width=
"
80
0"
trigger=
"click"
popper-class=
"rq_HotelDetails"
>
<table
class=
"rq_HotelTable"
v-loading=
"hotelLoading"
>
<tr>
<th
width=
"1
5
0"
>
<th
width=
"1
2
0"
>
时间
</th>
<th
width=
"150"
>
酒店
</th>
<th
width=
"150"
>
更换名称
</th>
<th
width=
"450"
>
<th
width=
"250"
>
价格
</th>
<th
width=
"100"
>
...
...
@@ -96,40 +92,48 @@
{{
subItem
.
UseTimeStr
}}
</td>
<td>
{{
childItem
.
HotelName
}}
</td>
<td>
{{
childItem
.
NewHotelName
!=
childItem
.
HotelName
?
childItem
.
NewHotelName
:
""
}}
<template
v-if=
"childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId"
>
{{
childItem
.
HotelName
}}
<br/>
<div
class=
"rq_changeName"
>
{{
childItem
.
NewHotelName
!=
childItem
.
HotelName
?
'更换为:'
+
childItem
.
NewHotelName
:
""
}}
</div>
</
template
>
<
template
v-else
>
业者自理
</
template
>
</td>
<td>
<template
v-for=
"(detailsItem,detailsIndex) in childItem.OrderDetailsList"
v-if=
"detailsItem.HouseTypeCount>0"
>
<template
v-if=
"detailsItem.HouseType==1"
>
单间
</
template
>
<
template
v-if=
"detailsItem.HouseType==2"
>
标准双人间
</
template
>
<
template
v-if=
"detailsItem.HouseType==3"
>
大床房
</
template
>
<
template
v-if=
"detailsItem.HouseType==4"
>
三人间
</
template
>
<
template
v-if=
"detailsItem.HouseType==4"
>
司导间
</
template
>
{{detailsItem.HouseTypeCount}} 间
价格: {{detailsItem.UnitPrice}}
返佣: {{detailsItem.RebateRatio}}
<br
/>
<
template
v-if=
"childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId"
>
<template
v-for=
"(detailsItem,detailsIndex) in childItem.OrderDetailsList"
v-if=
"detailsItem.HouseTypeCount>0"
>
<template
v-if=
"detailsItem.HouseType==1"
>
单间
</
template
>
<
template
v-if=
"detailsItem.HouseType==2"
>
标准双人间
</
template
>
<
template
v-if=
"detailsItem.HouseType==3"
>
大床房
</
template
>
<
template
v-if=
"detailsItem.HouseType==4"
>
三人间
</
template
>
<
template
v-if=
"detailsItem.HouseType==4"
>
司导间
</
template
>
{{detailsItem.HouseTypeCount}} 间
价格: {{detailsItem.UnitPrice}}
返佣: {{detailsItem.RebateRatio}}
<br
/>
</template>
</template>
</td>
<td>
<
template
v-if=
"childItem.TaxType==1"
>
税入
</
template
>
<
template
v-if=
"childItem.TaxType==2"
>
税别
</
template
>
<
template
v-if=
"childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId"
>
<template
v-if=
"childItem.TaxType==1"
>
税入
</
template
>
<
template
v-if=
"childItem.TaxType==2"
>
税别
</
template
>
</template>
</td>
<td>
<!-- <el-select v-model='childItem.SupplierToDmcHotelStatus'
:placeholder="$t('pub.pleaseSel')">
<el-option label='请选择' :value='0'></el-option>
<el-option label='一般提醒' :value='1'></el-option>
<el-option label='重要提醒' :value='2'></el-option>
</el-select> -->
<
template
v-if=
"childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId"
>
<select
class=
"rq_status"
v-model=
'childItem.SupplierToDmcHotelStatus'
:placeholder=
"$t('pub.pleaseSel')"
>
<option
label=
'请选择'
:value=
'0'
></option>
<option
label=
'一般提醒'
:value=
'1'
></option>
<option
label=
'重要提醒'
:value=
'2'
></option>
</select>
</
template
>
</td>
<td>
<!-- <el-input type='textarea' class='w135' v-model='childItem.SupplierToDmcRemarks'>
</el-input> -->
<
template
v-if=
"childItem.SupplierId==0||childItem.SupplierId==UserInfo.SupplierId"
>
<textarea
class=
"w135"
cols=
"25"
rows=
"5"
v-model=
'childItem.SupplierToDmcRemarks'
></textarea>
</
template
>
</td>
</tr>
<tr>
...
...
@@ -180,10 +184,19 @@
</tr>
<tr>
<td
colspan=
"8"
style=
"text-align:left;padding-left:5px;"
>
<div
class=
"rQ_HtList"
v-if=
"item.IsBookTeam==2&&item.Numbers>=0"
>
<span
v-for=
"subItem in item.Numbers"
></span>
<div
class=
"rq_remark"
v-if=
"item.IsBookTeam==2&&item.Numbers>=0"
>
<span
class=
"rq_reSpan"
>
取消团体提醒
</span>
<span
class=
"rQ_HtList"
>
<span
v-for=
"subItem in item.Numbers"
></span>
</span>
</div>
<div
class=
"rq_remark"
v-if=
"item.SupplierHotelStatus==1||item.SupplierHotelStatus==2&&item.Numbers>=0"
>
<span
class=
"rq_reSpan"
>
酒店提醒
</span>
<span
class=
"rQ_HtList"
>
<span
v-for=
"subItem in item.Numbers"
></span>
</span>
</div>
<div>
注意事项:
{{item.SupplierRemarks}}
</div>
<div>
<span
class=
"rq_reSpan"
>
注意事项
</span>
{{item.SupplierRemarks}}
</div>
</td>
</tr>
<tr>
...
...
@@ -203,7 +216,6 @@
return
{
loading
:
false
,
hotelLoading
:
false
,
HotelUseLoading
:
false
,
total
:
0
,
msg
:
{
pageIndex
:
1
,
...
...
@@ -267,9 +279,9 @@
},
//保存信息
saveSupplierjourneyorder
(
HotelList
)
{
this
.
HotelUse
Loading
=
true
;
this
.
hotel
Loading
=
true
;
this
.
ApiPost2
(
'dmcstatistics_post_SetSupplierjourneyorderService'
,
HotelList
,
res
=>
{
this
.
HotelUse
Loading
=
false
;
this
.
hotel
Loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
getList
();
...
...
@@ -315,7 +327,6 @@
this
.
hotelLoading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HotelList
=
res
.
data
.
data
;
console
.
log
(
this
.
HotelList
,
'hotellist'
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -434,19 +445,12 @@
margin-right
:
10px
;
}
.roomQuery
.rq_span1
{
background-color
:
#333
;
}
.roomQuery
.rq_span
2
{
.roomQuery
.rq_span
1
{
background-color
:
#7abd53
;
}
.roomQuery
.rq_span3
{
background-color
:
blue
;
}
.roomQuery
.rq_span4
{
.roomQuery
.rq_span2
{
background-color
:
red
;
}
...
...
@@ -555,7 +559,8 @@
}
.rQ_HtList
{
margin-top
:
5px
0
3px
0
;
position
:
relative
;
top
:
3px
;
}
.rQ_HtList
span
{
...
...
@@ -574,5 +579,19 @@
.rq_disImNote
{
color
:
#ea6d6d
;
}
.rq_status
{
height
:
25px
;
}
.rq_changeName
{
margin-top
:
10px
;
color
:
red
;
}
.roomQuery_SupplierTable
.rq_remark
{
margin-bottom
:
5px
;
}
.roomQuery_SupplierTable
.rq_reSpan
{
display
:
inline-block
;
width
:
75px
;
text-align
:
right
;
}
</
style
>
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