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
d48ac28f
Commit
d48ac28f
authored
Oct 17, 2023
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
f273cae1
cf43b8f1
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
927 additions
and
752 deletions
+927
-752
list.vue
src/components/FinancialModule/HandDispensingFee/list.vue
+687
-668
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+1
-0
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+19
-4
PassengerList.vue
src/components/Ticketing/PassengerList.vue
+67
-8
TicketManager.vue
src/components/Ticketing/TicketManager.vue
+0
-1
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+20
-6
LeaderHander.vue
src/components/dmc/manager/LeaderHander.vue
+1
-1
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+1
-1
TravelManagerThree.vue
...ewTravelmanager/TravelGroupControl/TravelManagerThree.vue
+22
-19
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+1
-1
TravelPrice3.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice3.vue
+107
-32
travelDays.vue
...newTravelmanager/travelLineTrip/components/travelDays.vue
+1
-11
No files found.
src/components/FinancialModule/HandDispensingFee/list.vue
View file @
d48ac28f
...
...
@@ -32,11 +32,13 @@
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DetailList.length"
>
{{
subItem
.
ClientName
}}
<el-popover
v-if=
"subItem.HistoryClientList.length>0"
style=
"width: 500px;overflow: hidden;"
trigger=
"click"
popper-class=
"pro_tripDetails"
>
<el-popover
v-if=
"subItem.HistoryClientList.length>0"
style=
"width: 500px;overflow: hidden;"
trigger=
"click"
popper-class=
"pro_tripDetails"
>
<div
v-if=
"Details.length>0"
style=
"display: flex;flex-wrap: wrap;"
>
<el-tag
v-for=
"(ds, din) in Details"
:key=
"din"
size=
"small"
>
{{
ds
.
ClientName
}}
</el-tag>
</div>
<span
slot=
"reference"
@
click=
"getDetails(subIndex,1)"
style=
"color: #409EFF;cursor: pointer;"
>
历史付款对象
</span>
<span
slot=
"reference"
@
click=
"getDetails(subIndex,1)"
style=
"color: #409EFF;cursor: pointer;"
>
历史付款对象
</span>
</el-popover>
</td>
<td><span
v-if=
"childItem.Type==1"
>
房
</span>
...
...
@@ -102,7 +104,7 @@
<
template
v-for=
"(subItem,subIndex) in visaDataList"
>
<tr>
<td>
{{
subItem
.
SetUpTypeStr
}}
</td>
<td
>
<td
>
{{
subItem
.
ExpenseAccountStr
}}
</td>
<td>
...
...
@@ -160,16 +162,18 @@
<el-col
:span=
"8"
>
<el-form-item
label=
"付款对象"
prop=
"ClientID"
>
<el-select
filterable
v-model=
"addMsg.ClientID"
placeholder=
"选择付款对象"
style=
"width: 100%;"
>
<el-option
v-for=
"item in ClientAccountList
"
:label=
"item.AccountAlias"
:value=
"item.ID"
:key=
'item.ID'
>
<el-option
v-for=
"item in ClientAccountList"
:label=
"item.AccountAlias"
:value=
"item.ID
"
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"历史对象"
prop=
"ClientIdList"
>
<el-select
filterable
v-model=
"addMsg.ClientIdList"
multiple
collapse-tags
placeholder=
"历史对象"
style=
"width: 100%;"
>
<el-option
v-for=
"(item,index) in ClientAccountList"
:key=
"item.ID"
:label=
"item.AccountAlias"
:value=
"item.ID"
>
<el-select
filterable
v-model=
"addMsg.ClientIdList"
multiple
collapse-tags
placeholder=
"历史对象"
style=
"width: 100%;"
>
<el-option
v-for=
"(item,index) in ClientAccountList"
:key=
"item.ID"
:label=
"item.AccountAlias"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -184,8 +188,8 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"币种"
prop=
"CurrencyId"
>
<el-select
placeholder=
"选择币种"
v-model=
"addMsg.CurrencyId"
style=
"width: 100%;"
@
change=
"getCurrent(addMsg.CurrencyId)"
>
<el-select
placeholder=
"选择币种"
v-model=
"addMsg.CurrencyId"
style=
"width: 100%;"
@
change=
"getCurrent(addMsg.CurrencyId)"
>
<el-option
v-for=
"item in allCurrencyList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
...
...
@@ -197,40 +201,34 @@
v-for=
"(x,y) in addMsg.DetailList"
:key=
'y'
>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;"
>
<el-form-item
label=
"类型"
>
<el-select
style=
"width: 80px;"
v-model=
"x.Type"
@
change=
"gettdName(x.Id,y,1)"
clearable
disabled
>
<el-select
style=
"width: 80px;"
v-model=
"x.Type"
@
change=
"gettdName(x.Id,y,1)"
clearable
disabled
>
<el-option
v-for=
"item in TypeListArr"
:key=
"item.Id"
:label=
"item.Name"
:disabled=
"item.disabled"
:value=
"item.Id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:prop=
"'DetailList.'+ y +'.Unit_Price'"
:rules=
"productGroup.Unit_Price"
label=
"金额"
>
<el-form-item
:prop=
"'DetailList.'+ y +'.Unit_Price'"
:rules=
"productGroup.Unit_Price"
label=
"金额"
>
<el-input
style=
"width: 100px;"
type=
"Number"
v-model=
"x.Unit_Price"
@
keyup
.
native=
"checkPrice(x,'Unit_Price',true)"
>
</el-input>
</el-form-item>
<el-form-item
:prop=
"'DetailList.'+ y +'.CostTypeId'"
:rules=
"productGroup.CostTypeId"
label=
"费用类型"
>
<el-form-item
:prop=
"'DetailList.'+ y +'.CostTypeId'"
:rules=
"productGroup.CostTypeId"
label=
"费用类型"
>
<el-select
filterable
v-model=
"x.CostTypeId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,2)"
clearable
>
<el-option
v-for=
"item in costType"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-option
v-for=
"item in costType"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowZId'"
:rules=
"productGroup.FlowZId"
label=
"总部流程"
>
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowZId'"
:rules=
"productGroup.FlowZId"
label=
"总部流程"
>
<el-select
filterable
v-model=
"x.FlowZId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,3)"
clearable
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowFId'"
:rules=
"productGroup.FlowFId"
label=
"分部流程"
>
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowFId'"
:rules=
"productGroup.FlowFId"
label=
"分部流程"
>
<el-select
filterable
v-model=
"x.FlowFId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,4)"
clearable
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -251,35 +249,34 @@
<el-row
style=
"height: 100px;"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"类型"
prop=
"SetUpType"
>
<el-select
filterable
v-model=
"addMsg.SetUpType"
placeholder=
"选择类型"
style=
"width: 100%;"
clearable
>
<el-option
v-for=
"item in SetUpTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
<el-select
filterable
v-model=
"addMsg.SetUpType"
placeholder=
"选择类型"
style=
"width: 100%;"
clearable
>
<el-option
v-for=
"item in SetUpTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"费用类型"
prop=
"ExpenseAccount"
>
<el-select
filterable
v-model=
"addMsg.ExpenseAccount"
placeholder=
"选择费用类型"
style=
"width: 100%;"
>
<el-option
v-for=
"(item,index) in costType"
:key=
"index"
:label=
"item.Name"
:value=
'item.ID'
>
</el-option>
<el-select
filterable
v-model=
"addMsg.ExpenseAccount"
placeholder=
"选择费用类型"
style=
"width: 100%;"
>
<el-option
v-for=
"(item,index) in costType"
:key=
"index"
:label=
"item.Name"
:value=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"总司流程"
prop=
"CompanyCourse"
>
<el-select
filterable
v-model=
"addMsg.CompanyCourse"
placeholder=
"选择总公司流程"
style=
"width: 100%;"
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"分司流程"
prop=
"BranchCourse"
>
<el-select
filterable
v-model=
"addMsg.BranchCourse"
placeholder=
"选择分公司流程"
style=
"width: 100%;"
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -287,14 +284,15 @@
<el-col
:span=
"8"
>
<el-form-item
label=
"月总流程"
prop=
"MonthlyCourse"
>
<el-select
filterable
v-model=
"addMsg.MonthlyCourse"
placeholder=
"选择月结总公司流程"
style=
"width: 100%;"
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"月分流程"
prop=
"BranchMonthlyCourse"
>
<el-select
filterable
v-model=
"addMsg.BranchMonthlyCourse"
placeholder=
"选择月结分公司流程"
style=
"width: 100%;"
>
<el-select
filterable
v-model=
"addMsg.BranchMonthlyCourse"
placeholder=
"选择月结分公司流程"
style=
"width: 100%;"
>
<el-option
v-for=
"item in TemplateGetList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
...
...
@@ -308,10 +306,7 @@
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"启用月结"
prop=
""
>
<el-switch
v-model=
"addMsg.IsMonthly"
active-value=
"1"
inactive-value=
"0"
>
<el-switch
v-model=
"addMsg.IsMonthly"
active-value=
"1"
inactive-value=
"0"
>
</el-switch>
</el-form-item>
</el-col>
...
...
@@ -327,15 +322,15 @@
</div>
</template>
<
script
>
</template>
<
script
>
import
Vue
from
"vue"
;
const
addobj
=
{
Id
:
0
,
Name
:
''
,
ClientID
:
null
,
ClientIdList
:
[],
ClientIds
:
''
,
ClientIdList
:
[],
ClientIds
:
''
,
DetailList
:
[{
Type
:
1
,
Unit_Price
:
null
,
...
...
@@ -359,10 +354,10 @@
submitLoading
:
false
,
loadingVisa
:
false
,
divTitle
:
''
,
visaDataList
:
[],
visaDataList
:
[],
costType
:
[],
TemplateGetList
:
[],
Details
:
[],
TemplateGetList
:
[],
Details
:
[],
S_CheckAllOrder
:
false
,
CurrentNmae
:
''
,
//所有币种
...
...
@@ -378,15 +373,42 @@
loading
:
false
,
//加载层
DataList
:
[],
total
:
0
,
SetUpTypeList
:[],
TypeListArr
:
[
{
Name
:
'房'
,
Id
:
1
,
disabled
:
false
},
{
Name
:
'餐'
,
Id
:
2
,
disabled
:
false
},
{
Name
:
'车'
,
Id
:
3
,
disabled
:
false
},
{
Name
:
'门票'
,
Id
:
4
,
disabled
:
false
},
{
Name
:
'房费送客手数料'
,
Id
:
5
,
disabled
:
false
},
{
Name
:
'餐费送客手数料'
,
Id
:
6
,
disabled
:
false
},
{
Name
:
'门票送客手数料'
,
Id
:
7
,
disabled
:
false
},
SetUpTypeList
:
[],
TypeListArr
:
[{
Name
:
'房'
,
Id
:
1
,
disabled
:
false
},
{
Name
:
'餐'
,
Id
:
2
,
disabled
:
false
},
{
Name
:
'车'
,
Id
:
3
,
disabled
:
false
},
{
Name
:
'门票'
,
Id
:
4
,
disabled
:
false
},
{
Name
:
'房费送客手数料'
,
Id
:
5
,
disabled
:
false
},
{
Name
:
'餐费送客手数料'
,
Id
:
6
,
disabled
:
false
},
{
Name
:
'门票送客手数料'
,
Id
:
7
,
disabled
:
false
},
],
//类型
ClientAccountList
:
[],
//付款对象
showVisible
:
false
,
//弹窗的显示
...
...
@@ -448,7 +470,7 @@
trigger
:
'change'
}],
},
productGroupRules2
:
{
productGroupRules2
:
{
Id
:
[{
required
:
true
,
// message: '请选择人员',
...
...
@@ -482,8 +504,8 @@
trigger
:
'change'
}],
},
StencilFlowList
:[],
//签证制单流程
CostTypeList
:[],
//签证费用类型
StencilFlowList
:
[],
//签证制单流程
CostTypeList
:
[],
//签证费用类型
};
},
created
()
{
...
...
@@ -507,7 +529,7 @@
this
.
$refs
[
"addMsg"
].
resetFields
();
},
// 获取所有费用类型
getTemplateCostTypeList
()
{
getTemplateCostTypeList
()
{
// 单项签证制单费用类型
// this.apipost('Financial_post_GetTemplateCostTypeList',{},res=>{
// if(res.data.resultCode==1){
...
...
@@ -515,30 +537,29 @@
// }else{}
// },err=>{})
// 手配费费用类型
this
.
apipost
(
'financeinfo_post_GetCostTypeList'
,{
Type
:
null
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
costType
=
res
.
data
.
data
;
}
else
{
}
},
err
=>
{})
this
.
apipost
(
'financeinfo_post_GetCostTypeList'
,
{
Type
:
null
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
costType
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
// 单项签证制单类型
this
.
apipost
(
'Financial_post_GetSetUpTypeEnumList'
,{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
SetUpTypeList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
this
.
apipost
(
'Financial_post_GetSetUpTypeEnumList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
SetUpTypeList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
},
// 所有审核流程
FinancialFlowTemplate_post_GetList
()
{
// 手配费流程
this
.
apipost
(
"FinancialFlowTemplate_post_GetSingleList"
,
{},
"FinancialFlowTemplate_post_GetSingleList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TemplateGetList
=
res
.
data
.
data
;
}
else
{
}
}
else
{}
},
err
=>
{}
);
...
...
@@ -556,8 +577,8 @@
// );
},
//获取历史详情
getDetails
(
index
,
type
)
{
this
.
Details
=
type
==
1
?
this
.
DataList
[
index
].
HistoryClientList
:
this
.
DataList
[
index
].
DetailList
;
getDetails
(
index
,
type
)
{
this
.
Details
=
type
==
1
?
this
.
DataList
[
index
].
HistoryClientList
:
this
.
DataList
[
index
].
DetailList
;
},
//获取当前下拉选中币种
getCurrent
(
currencyId
)
{
...
...
@@ -570,14 +591,13 @@
//获取所有币种
getAllCurrency
()
{
this
.
apipost
(
"financeinfo_post_GetList"
,
{},
"financeinfo_post_GetList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
allCurrencyList
=
res
.
data
.
data
;
}
},
err
=>
{
}
err
=>
{
}
);
},
//获取公司
...
...
@@ -610,11 +630,10 @@
},
GetVisaSetUpList
()
{
GetVisaSetUpList
()
{
this
.
loadingVisa
=
true
this
.
apipost
(
"Financial_post_GetVisaSetUpList"
,
{},
"Financial_post_GetVisaSetUpList"
,
{},
res
=>
{
this
.
loadingVisa
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -624,8 +643,8 @@
err
=>
{}
);
},
gettdName
(
id
,
index
,
type
)
{
//获取团队类型名称
if
(
type
==
1
)
{
gettdName
(
id
,
index
,
type
)
{
//获取团队类型名称
if
(
type
==
1
)
{
this
.
TypeListArr
.
map
(
x
=>
{
if
(
x
.
Id
==
id
)
{
this
.
addMsg
.
DetailList
[
index
].
Name
=
x
.
Name
;
...
...
@@ -633,15 +652,14 @@
}
})
}
},
//获取付款列表
getFKList
()
{
let
msg
=
{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
}
this
.
apipost
(
"financeinfo_post_GetClientAccountList"
,
msg
,
...
...
@@ -652,34 +670,31 @@
}
);
},
getEdit
(
row
,
type
)
{
//修改
getEdit
(
row
,
type
)
{
//修改
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
addMsg
=
data
console
.
log
(
"data"
,
data
);
if
(
type
==
1
){
this
.
addMsg
.
DetailList
.
forEach
(
item
=>
{
if
(
type
==
1
)
{
this
.
addMsg
.
DetailList
.
forEach
(
item
=>
{
item
.
Unit_Price
=
Number
(
item
.
Unit_Price
)
})
this
.
addMsg
.
ClientIdList
=
data
.
ClientIds
.
split
(
','
).
map
(
Number
)
}
this
.
addMsg
=
Object
.
assign
({},
this
.
addMsg
)
if
(
!
type
)
{
if
(
!
type
)
{
this
.
addMsg
.
SetUpType
=
String
(
row
.
SetUpType
)
this
.
addMsg
.
IsMonthly
=
String
(
row
.
IsMonthly
)
this
.
addMsg
.
MonthlyCourse
=
row
.
MonthlyCourse
?
row
.
MonthlyCourse
:
null
this
.
addMsg
.
BranchMonthlyCourse
=
row
.
BranchMonthlyCourse
?
row
.
BranchMonthlyCourse
:
null
this
.
addMsg
.
MonthlyCourse
=
row
.
MonthlyCourse
?
row
.
MonthlyCourse
:
null
this
.
addMsg
.
BranchMonthlyCourse
=
row
.
BranchMonthlyCourse
?
row
.
BranchMonthlyCourse
:
null
}
this
.
showVisible
=
true
;
},
DeleteRules
(
ID
,
type
)
{
//删除
DeleteRules
(
ID
,
type
)
{
//删除
let
text
let
cmd
if
(
type
==
1
)
{
if
(
type
==
1
)
{
text
=
'是否删除手配费单据配置'
cmd
=
'handfee_post_DelHandFee'
}
else
{
}
else
{
text
=
'是否删除单项签证单据配置'
cmd
=
'Financial_post_DelVisaSetUp'
}
...
...
@@ -694,9 +709,9 @@
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
if
(
type
==
1
)
{
if
(
type
==
1
)
{
this
.
getList
()
}
else
{
}
else
{
this
.
GetVisaSetUpList
()
}
}
else
{
...
...
@@ -711,8 +726,8 @@
Id
:
0
,
Name
:
''
,
ClientID
:
null
,
ClientIdList
:
[],
ClientIds
:
''
,
ClientIdList
:
[],
ClientIds
:
''
,
DetailList
:
[{
Type
:
1
,
Unit_Price
:
null
,
...
...
@@ -730,14 +745,14 @@
MonthlyCourse
:
null
,
BranchMonthlyCourse
:
null
,
}
this
.
divTitle
=
type
==
1
?
'新增手配费'
:
'新增单项签证单据配置'
this
.
divTitle
=
type
==
1
?
'新增手配费'
:
'新增单项签证单据配置'
this
.
showVisible
=
true
;
this
.
addDetailList
()
},
addDetailList
()
{
//新增类型
// let isdisabled = false
// let isdisabledXHS = false
for
(
let
i
=
2
;
i
<
8
;
i
++
)
{
for
(
let
i
=
2
;
i
<
8
;
i
++
)
{
let
obj
=
{
Type
:
i
,
Unit_Price
:
null
,
...
...
@@ -749,21 +764,21 @@
}
},
submit
(
formName
)
{
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=-
1
)
{
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=
-
1
)
{
this
.
addMsg
.
ClientIds
=
this
.
addMsg
.
ClientIdList
.
join
(
','
)
}
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=-
1
)
{
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=
-
1
)
{
let
addMsg
=
{
Id
:
this
.
addMsg
.
Id
,
Name
:
this
.
addMsg
.
Name
,
ClientID
:
this
.
addMsg
.
ClientID
,
ClientIdList
:
this
.
addMsg
.
ClientIdList
,
ClientIds
:
this
.
addMsg
.
ClientIds
,
DetailList
:
this
.
addMsg
.
DetailList
,
BranchId
:
this
.
addMsg
.
BranchId
,
CurrencyId
:
this
.
addMsg
.
CurrencyId
,
ClientIdList
:
this
.
addMsg
.
ClientIdList
,
ClientIds
:
this
.
addMsg
.
ClientIds
,
DetailList
:
this
.
addMsg
.
DetailList
,
BranchId
:
this
.
addMsg
.
BranchId
,
CurrencyId
:
this
.
addMsg
.
CurrencyId
,
}
this
.
submitLoading
=
true
this
.
apipost
(
...
...
@@ -781,7 +796,7 @@
},
err
=>
{}
)
}
else
{
}
else
{
let
addMsg
=
{
Id
:
this
.
addMsg
.
Id
,
SetUpType
:
this
.
addMsg
.
SetUpType
,
...
...
@@ -818,31 +833,35 @@
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
if
(
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
this
.
S_CheckAllOrder
=
true
}
if
(
!
this
.
S_CheckAllOrder
)
{
if
(
!
this
.
S_CheckAllOrder
)
{
this
.
msg
.
BranchId
=
userInfo
.
RB_Group_id
}
}
};
</
script
>
<
style
scoped
>
</
script
>
<
style
scoped
>
@import
"../../../assets/css/cssReset.css"
;
/* .rule-box .el-select__tags{
top: 100%;
} */
.domesticCommissionRule
.query-box
input
{
height
:
34px
!important
;
}
.p-5
{
.p-5
{
padding
:
5px
0
;
}
/
deep
/
.el-tag--small
{
/
deep
/
.el-tag--small
{
margin
:
0
2px
2px
;
padding
:
0
3px
;
}
.sfd_tit
{
border-left
:
3px
solid
#E95252
;
text-indent
:
10px
;
...
...
@@ -851,4 +870,4 @@
margin
:
20px
0
10px
0
;
}
</
style
>
</
style
>
src/components/SalesModule/groupTourOrder.vue
View file @
d48ac28f
...
...
@@ -2144,6 +2144,7 @@
<span
class=
"RL-redType RL-remarkCon"
v-if=
"item.guestList.length > 0"
>
<span
v-for=
"childItem in item.guestList"
style=
"color: blue"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
<span
style=
"color:#f56c6c"
>
{{childItem.ticketOutTypeStr}}
</span>
<span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color: red"
>
({{ $t("salesModule.Zhao") }})
</span>
</span>
<span
v-if=
"item.photoNum > 0"
>
({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
d48ac28f
...
...
@@ -2336,13 +2336,20 @@
IsLookOrder ||
isUpdateOrder)
"
>
<span
v-for=
"childItem in item.guestList"
style=
"color: blue"
>
{{childItem.userName}}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span><span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color: red"
>
(照)
</span>
</span>
<span
v-for=
"childItem in item.guestList"
style=
"color: blue"
>
{{childItem.userName}}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
<span
style=
"color:#f56c6c"
>
{{childItem.ticketOutTypeStr}}
</span>
<span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color: red"
>
(照)
</span>
</span>
<span
v-if=
"item.photoNum > 0"
>
(照片一人 {{ item.photoNum }}份)
</span>
</span>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length > 0"
>
<span
class=
""
>
取消名单:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
style=
"color: red"
n
v-for=
"(childItem, childIndex) in item.cancelGuestList"
:key=
"childIndex+150000"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
</span>
<span
style=
"color: red"
n
v-for=
"(childItem, childIndex) in item.cancelGuestList"
:key=
"childIndex+150000"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
</span>
</span>
</p>
<span
style=
"display: block"
>
房间信息
<span
v-if=
"item.oneSex > 0"
...
...
@@ -2885,13 +2892,21 @@
IsLookOrder ||
isUpdateOrder)
"
>
<span
v-for=
"childItem in item.guestList"
style=
"color: blue"
>
{{ childItem.userName}}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span><span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color: red"
>
(照)
</span>
</span>
<span
v-for=
"childItem in item.guestList"
style=
"color: blue"
>
{{ childItem.userName}}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
<span
style=
"color:#f56c6c"
>
{{childItem.ticketOutTypeStr}}
</span>
<span
v-if=
"childItem.isApplyPhoto == 1"
style=
"color: red"
>
(照)
</span>
</span>
<span
v-if=
"item.photoNum > 0"
>
(照片一人 {{ item.photoNum }}份)
</span>
</span>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length > 0"
>
<span
class=
""
>
取消名单:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
style=
"color: red"
v-for=
"(childItem, childIndex) in item.cancelGuestList"
:key=
"childIndex+260000"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
</span>
<span
style=
"color: red"
v-for=
"(childItem, childIndex) in item.cancelGuestList"
:key=
"childIndex+260000"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
</span>
</span>
</p>
<span
style=
"display: block"
>
房间信息
<span
v-if=
"item.oneSex > 0"
...
...
src/components/Ticketing/PassengerList.vue
View file @
d48ac28f
...
...
@@ -143,6 +143,12 @@
</table>
</li>
<li>
<input
v-if=
"!isShowAirticketOut"
type=
"button"
class=
"normalBtn"
value=
"开票"
@
click=
"openAirticket"
/>
<el-select
v-if=
"isShowAirticketOut"
size=
"small"
v-model=
"checkOutMsg.TicketOutType"
placeholder=
"请选择开票类型"
>
<el-option
label=
"团队票"
:value=
"1"
></el-option>
<el-option
label=
"散客票"
:value=
"2"
></el-option>
</el-select>
<input
v-if=
"isShowAirticketOut"
type=
"button"
class=
"normalBtn"
value=
"保存开票信息"
@
click=
"setAirticketGuest"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"导出报表"
@
click=
"getFlightInfo(0),getCombinTeam()"
/>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"包含机票信息"
placement=
"bottom"
>
<input
type=
"button"
class=
"normalBtn"
value=
"导出旅客&航班"
@
click=
"getFlightInfo(1),getCombinTeam()"
/>
...
...
@@ -164,6 +170,10 @@
v-model=
"checkedshuijin"
/></th>
<th
v-if=
"isShowGuoji"
>
升舱
<input
type=
"checkbox"
@
change=
"checkAllbox(checkedsc,'shengcang')"
v-model=
"checkedsc"
/></th>
<th
v-if=
"isShowAirticketOut"
>
出票
<input
type=
"checkbox"
@
change=
"checkAllbox(checkAirticketOut,'checkAirticketOut')"
v-model=
"checkAirticketOut"
/>
</th>
<th>
旅客姓名
</th>
<th>
身份证
</th>
<th>
英文姓
</th>
...
...
@@ -175,6 +185,7 @@
<th>
证件有效期
</th>
<th>
客人联系方式
</th>
<th>
签证状态
</th>
<th>
出票状态
</th>
</tr>
<tr
v-for=
"(item,index) in QueryMsg.dataList"
:class=
"
{'redTr':item.VisaState==1}" :key="index+10000">
<td
v-if=
"isShowGuoji"
>
...
...
@@ -192,6 +203,9 @@
<td
v-if=
"isShowGuoji"
>
<input
v-model=
"item.shengcang"
type=
"checkbox"
/>
</td>
<td
v-if=
"isShowAirticketOut"
>
<input
type=
"checkbox"
v-model=
"item.checkAirticketOut"
/>
</td>
<td>
{{
item
.
GuestName
}}
</td>
<td>
{{
item
.
IdCard
}}
</td>
<td>
{{
item
.
ESurName
}}
</td>
...
...
@@ -203,6 +217,17 @@
<td>
{{
item
.
PassportExpiry
}}
</td>
<td>
{{
item
.
NaMobilePhoneme
}}
</td>
<td>
{{
item
.
VisaState
==
1
?
"拒签"
:
"正常"
}}
</td>
<td>
<template
v-if=
"item.TicketOutType==0"
>
<span
style=
"color:red"
>
{{
item
.
TicketOutTypeStr
}}
</span>
</
template
>
<
template
v-if=
"item.TicketOutType==1"
>
<span
style=
"color:green"
>
{{
item
.
TicketOutTypeStr
}}
</span>
</
template
>
<
template
v-if=
"item.TicketOutType==2"
>
<span
style=
"color:blue"
>
{{
item
.
TicketOutTypeStr
}}
</span>
</
template
>
</td>
</tr>
</table>
<div
class=
"noData"
v-show=
"QueryMsg.noData"
>
...
...
@@ -354,10 +379,45 @@
checkedshuijin
:
false
,
checkedsc
:
false
,
isShowSelect
:
0
,
checkModule
:
0
checkModule
:
0
,
isShowAirticketOut
:
false
,
//是否线下开票
checkAirticketOut
:
false
,
//提交开票类型
checkOutMsg
:
{
TicketOutType
:
1
,
GuestIds
:
""
}
};
},
methods
:
{
openAirticket
()
{
this
.
isShowAirticketOut
=
true
;
},
//设置旅客的出票类型
setAirticketGuest
()
{
var
tempIds
=
""
;
if
(
this
.
QueryMsg
.
dataList
&&
this
.
QueryMsg
.
dataList
.
length
>
0
)
{
this
.
QueryMsg
.
dataList
.
forEach
(
item
=>
{
if
(
item
.
checkAirticketOut
)
{
tempIds
+=
","
+
item
.
Id
;
}
})
}
this
.
checkOutMsg
.
GuestIds
=
tempIds
;
this
.
apipost
(
"travel_get_SetAirticketGuest"
,
this
.
checkOutMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
isShowAirticketOut
=
false
;
this
.
checkOutMsg
.
GuestIds
=
""
;
this
.
checkOutMsg
.
TicketOutType
=
1
;
this
.
checkAirticketOut
=
false
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
//获取数据
getList
()
{
this
.
QueryMsg
.
loading
=
true
;
...
...
@@ -376,6 +436,7 @@
}
else
{
item
.
Sex
=
"女"
;
}
item
.
checkAirticketOut
=
false
;
});
if
(
this
.
isShowGuoji
)
{
this
.
QueryMsg
.
dataList
.
forEach
(
x
=>
{
...
...
@@ -402,7 +463,7 @@
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
}
,
err
=>
{}
);
});
this
.
outerVisible
=
true
;
},
//获取联运团信息
...
...
@@ -475,7 +536,7 @@
Type
:
this
.
checkModule
,
TemplateType
:
this
.
TemplateType
};
var
fileName
=
this
.
$route
.
query
.
flightdate
//this.QueryMsg.nowDate
;
var
fileName
=
this
.
$route
.
query
.
flightdate
;
var
TempfileName
=
""
this
.
QueryMsg
.
TeamInfoData
.
forEach
(
item
=>
{
if
(
TempfileName
.
length
>
0
)
{
...
...
@@ -495,9 +556,6 @@
fileName
=
fileName
+
".xls"
;
this
.
GetLocalFile
(
"travel_get_GetAirTicketGuestExport"
,
msg
,
fileName
);
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
...
...
@@ -564,7 +622,7 @@
name
:
'ChoiceAddFinancialDocuments'
,
query
:
{
"Type"
:
2
,
"portTypeId"
:
1
,
"portTypeId"
:
1
,
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
...
...
@@ -583,7 +641,8 @@
x
[
y
]
=
false
})
}
}
},
},
mounted
()
{
this
.
QueryMsg
.
AirTicketId
=
this
.
$route
.
query
.
id
;
...
...
src/components/Ticketing/TicketManager.vue
View file @
d48ac28f
...
...
@@ -1878,7 +1878,6 @@
<el-button
v-else
type=
"primary"
icon=
"iconfont icon-xiazai2"
style=
"margin-left:0;"
@
click=
"DownLoad(3,item.TripItinerary)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"散卖"
placement=
"top-start"
>
<el-button
type=
"primary"
icon=
"iconfont icon-maichu"
@
click=
"sanSale(item)"
></el-button>
</el-tooltip>
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
d48ac28f
...
...
@@ -2095,13 +2095,18 @@
<span
class=
"RL-remarkTitle"
v-if=
"item.GuestList.length > 0"
>
{{ $t("salesModule.MD") }}:
</span>
<p
class=
"RL-redType RL-remarkCon"
v-if=
"item.GuestList.length > 0"
>
<span
style=
"color: blue !important"
v-for=
"(childItem,childIndex) in item.GuestList"
:key=
"childIndex"
@
click=
"goToPassenger(childItem, 2)"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.VisaType==1?'(个签)':''}}
</span></span>
@
click=
"goToPassenger(childItem, 2)"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.VisaType==1?'(个签)':''}}
</span>
<span
style=
"color:#f56c6c"
>
{{childItem.TicketOutTypeStr}}
</span>
</span>
</p>
<p
v-if=
"item.CancelGuestList.length > 0"
>
<span
class=
""
>
{{ $t("salesModule.CancelOrder") }}:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
v-for=
"(childItem,childIndex) in item.CancelGuestList"
:key=
"childIndex"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.VisaType==1?'(个签)':''}}
</span>
</span>
:key=
"childIndex"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.VisaType==1?'(个签)':''}}
</span>
</span>
</span>
</p>
<span>
{{ $t("salesModule.RoomInfo") }}:{{
...
...
@@ -2136,6 +2141,7 @@
</td>
<td
colspan=
"3"
>
<div>
<!-- {{item.OrderGuestFlightList}} -->
<
template
v-if=
"item.OrderGuestFlightList&&item.OrderGuestFlightList.length>0"
>
<template
v-for=
"(uItem,uIndex) in item.OrderGuestFlightList"
>
<div
:key=
"uIndex+20000"
>
...
...
@@ -2627,13 +2633,21 @@
<td
colspan=
"15"
class=
"RL_Order"
>
<span
class=
"RL-remarkTitle"
v-if=
"childItem.GuestList.length > 0"
>
{{ $t("salesModule.MD") }}:
</span>
<span
class=
"RL-redType RL-remarkCon"
v-if=
"childItem.GuestList.length > 0"
>
<span
style=
"color: blue !important"
v-for=
"fourthItem in childItem.GuestList"
@
click=
"goToPassenger2(msg.TCID, fourthItem.OrderId, 2)"
>
{{ fourthItem.userName }}
<span
style=
"color:#f56c6c"
>
{{fourthItem.VisaType==1?'(个签)':''}}
</span></span>
<
template
v-for=
"(fourthItem,fourthIndex) in childItem.GuestList"
>
<span
style=
"color: blue !important"
:key=
"fourthIndex"
@
click=
"goToPassenger2(msg.TCID, fourthItem.OrderId, 2)"
>
{{
fourthItem
.
userName
}}
<span
style=
"color:#f56c6c"
>
{{
fourthItem
.
VisaType
==
1
?
'(个签)'
:
''
}}
</span>
<span
style=
"color:#f56c6c"
>
{{
fourthItem
.
TicketOutTypeStr
}}
</span>
</span>
</
template
>
</span>
<p
v-if=
"childItem.CancelGuestList.length > 0"
>
<span
class=
""
>
{{ $t("salesModule.CancelOrder") }}:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<span
v-for=
"subItem in childItem.CancelGuestList"
>
{{ subItem.userName }}
<span
style=
"color:#f56c6c"
>
{{subItem.VisaType==1?'(个签)':''}}
</span>
</span>
<span
v-for=
"subItem in childItem.CancelGuestList"
>
{{ subItem.userName }}
<span
style=
"color:#f56c6c"
>
{{subItem.VisaType==1?'(个签)':''}}
</span>
</span>
</span>
</p>
<span
style=
"display: block"
>
...
...
@@ -6006,7 +6020,7 @@
"sellorder_get_GetOrderListByTCID"
,
msg
,
(
res
)
=>
{
console
.
log
(
"RegistrationList_sellorder_get_GetOrderListByTCID"
,
res
.
data
);
console
.
log
(
"RegistrationList_sellorder_get_GetOrderListByTCID"
,
res
.
data
);
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
OrderDataList
=
res
.
data
.
data
;
...
...
src/components/dmc/manager/LeaderHander.vue
View file @
d48ac28f
...
...
@@ -613,7 +613,7 @@
NewCombinationNum
:
this
.
NewCombinationNum
};
this
.
loading
=
true
;
var
fileName
=
"领队交接表"
+
"
"
+
".xls"
;
var
fileName
=
"领队交接表"
+
this
.
NewCombinationNum
+
"("
+
tcids
+
")
"
+
".xls"
;
this
.
GetLocalFile
(
"dmc_get_DownLoadLeaderHander"
,
msg
,
fileName
,
res
=>
{
this
.
loading
=
false
;
});
...
...
src/components/dmc/manager/dmcTotalTable.vue
View file @
d48ac28f
...
...
@@ -337,7 +337,7 @@
</td>
<td>
<div
class=
"fz16 fbold linkspan"
@
click=
"goUrl([131,14, 90].includes(item.LineId) ? 'roomReservationsDetails' : 'roomReservationsDetailsNew',item,outItem,'订房详情')"
>
@
click=
"goUrl([131,14, 90
,118
].includes(item.LineId) ? 'roomReservationsDetails' : 'roomReservationsDetailsNew',item,outItem,'订房详情')"
>
<span
style=
"color: #4BCA81;"
v-if=
"item.HotelResult==1"
>
√
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
HotelResult
==
'-1'
?
"x"
:
"O"
}}
</span>
</div>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelManagerThree.vue
View file @
d48ac28f
...
...
@@ -81,25 +81,28 @@
<TravelNotice
:class=
"
{'showOther':TeamType==3}" ref="TravelNotice" id="fourAnchor" @headCallBack="getNotice"
:subArray="NoticeParameters" :NoticeData="NoticeData" v-bind:PostConfig="PostConfig"
v-bind:AllCityList="AllCityList" v-bind:CountryID="PostConfig.CountryID">
</TravelNotice>
<div
id=
"fiveAnchor"
>
<!--常规团-->
<TravelPrice
v-show=
"PostConfig.TeamType==0"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
id=
"fiveAnchor
"
@
headCallBack=
"getPrice"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid
"
:CurrentUserInfo=
"CurrentUserInfo"
:IsDirect=
"PostConfig.IsDirect"
></TravelPrice>
<TravelPrice
v-show=
"PostConfig.TeamType==0"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
@
headCallBack=
"getPrice
"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:CurrentUserInfo=
"CurrentUserInfo
"
:IsDirect=
"PostConfig.IsDirect"
></TravelPrice>
<!--小包团-->
<TravelPrice2
v-show=
"PostConfig.TeamType==1"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
id=
"fiveAnchor
"
@
headCallBack=
"getPrice"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid
"
:CurrentUserInfo=
"CurrentUserInfo"
:IsDirect=
"PostConfig.IsDirect"
>
<TravelPrice2
v-show=
"PostConfig.TeamType==1"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
@
headCallBack=
"getPrice
"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:CurrentUserInfo=
"CurrentUserInfo
"
:IsDirect=
"PostConfig.IsDirect"
>
</TravelPrice2>
<!--当地游-->
<TravelPrice3
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip
"
v-if=
"PostConfig.TeamType==2"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid
"
<TravelPrice3
v-show=
"PostConfig.TeamType==2"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
@
headCallBack=
"getPrice
"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:CurrentUserInfo=
"CurrentUserInfo
"
:TeamType=
"PostConfig.TeamType"
></TravelPrice3>
<!--地接团-->
<TravelPrice4
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
id=
"fiveAnchor"
@
headCallBack=
"getPrice"
:PostDaysTrip=
"PostDaysTrip"
v-if=
"PostConfig.TeamType==3"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:TeamType=
"PostConfig.TeamType"
></TravelPrice4>
<TravelPrice4
v-show=
"PostConfig.TeamType==3"
@
saveMsg=
"SaveData(1)"
ref=
"TravelPrice"
@
headCallBack=
"getPrice"
:priceList=
"PriceList"
:PostConfig=
"PostConfig"
:modifyTcid=
"modifyTcid"
:CurrentUserInfo=
"CurrentUserInfo"
:TeamType=
"PostConfig.TeamType"
></TravelPrice4>
</div>
<div
class=
"btnFixedDiv"
v-if=
"IsShowBtn"
>
<div
class=
"toTop"
@
click=
"backTop"
>
...
...
@@ -418,8 +421,8 @@
basicData
.
TeamType
=
this
.
PostConfig
.
TeamType
;
basicData
.
TripMapList
=
this
.
PostConfig
.
TripMapList
;
basicData
.
TripCountryList
=
this
.
PostConfig
.
TripCountryList
;
basicData
.
TripCityList
=
this
.
PostConfig
.
TripCityList
;
basicData
.
TripCountryList
=
this
.
PostConfig
.
TripCountryList
;
basicData
.
TripCityList
=
this
.
PostConfig
.
TripCityList
;
basicData
.
StartCityId
=
0
;
basicData
.
ReturnArriveCityId
=
0
;
if
(
this
.
PostDaysTrip
)
{
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
d48ac28f
...
...
@@ -461,7 +461,7 @@
</el-checkbox>
<template
v-if=
"CurrentUserInfo.RB_Group_id==2"
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('op.HotelUse')"
@
click=
"outerVisible=true"
v-if=
"(PostConfig.LineId==14 || PostConfig.LineId==131|| PostConfig.LineId==90||PostConfig.LineId==168) "
/>
v-if=
"(PostConfig.LineId==14 || PostConfig.LineId==131|| PostConfig.LineId==90||PostConfig.LineId==168
||PostConfig.LineId==118
) "
/>
</
template
>
<
template
v-else
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('op.HotelUse')"
@
click=
"outerVisible=true"
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice3.vue
View file @
d48ac28f
...
...
@@ -438,9 +438,14 @@
<el-checkbox
v-model=
"priceData.IsBookTeam"
:true-label=
"CheckedVaule"
v-if=
"PostConfig.LineId==14"
style=
"display:none;"
:false-label=
"UnCheckedVaule"
>
{{
$t
(
'op.OrderTeam'
)
}}
</el-checkbox>
<input
type=
"button"
style=
"display:none;"
class=
"normalBtn"
:value=
"$t('op.HotelUse')"
@
click=
"outerVisible=true"
v-if=
"PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0"
/>
<template
v-if=
"CurrentUserInfo.RB_Group_id==2"
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('op.HotelUse')"
@
click=
"outerVisible=true"
v-if=
"(PostConfig.LineId==14 || PostConfig.LineId==131|| PostConfig.LineId==90||PostConfig.LineId==168||PostConfig.LineId==118) "
/>
</
template
>
<
template
v-else
>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('op.HotelUse')"
@
click=
"outerVisible=true"
v-if=
"IsDirect==1 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0"
/>
</
template
>
</div>
<el-form-item
prop=
"B2BMemberPrice"
>
<el-input
:placeholder=
"$t('pub.pleaseImport')"
class=
"w190 ComSeat"
...
...
@@ -828,42 +833,102 @@
</div>
<el-dialog
custom-class=
'Tp_hotelDialog'
title=
"酒店使用情况"
:visible
.
sync=
"outerVisible"
center
>
<table
class=
"TphotelTable"
border=
"0"
cellspacing=
'1'
v-if=
"priceData.TCID>0"
>
<tr
v-if=
"priceData.PriceHotelList"
v-for=
"item in priceData.PriceHotelList"
>
<td
style=
"background-color:#E6E6E6;color:#333;"
width=
"120"
>
{{item.UseDay}}
({{getDayByDate(item.UseDay)}})
</td>
<td>
<div
class=
"tp_divList"
v-for=
"(subItem,index) in item.SubList"
>
<div>
{{index+1}}.{{subItem.HotelName}}
【
<span
style=
"color:#E95252;"
>
{{$t('hotel.hotel_Inventory')}}:{{subItem.RemainingInventory}}
</span>
】
<el-checkbox
v-model=
"item.CheckList[index].CheckStatus"
@
change=
"changeHotelStatus(item,index),changeHotelList()"
></el-checkbox>
</div>
</div>
<tr>
<th
width=
"100"
>
{{$t('sm.Date')}}
</th>
<th
width=
"150"
>
{{$t('hotel.hotel')}}
</th>
<th
width=
"240"
>
{{$t('op.jdqk')}}
</th>
<th
width=
"100"
>
{{$t('salesModule.UseRoomTime')}}
</th>
<th
width=
"100"
>
{{$t('salesModule.ChangeHotel')}}
</th>
<th
width=
"120"
>
{{$t('system.table_operation')}}
</th>
</tr>
<
template
v-for=
"(subItem,subIndex) in priceData.PriceHotelList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.SubList"
>
<td
style=
"background-color:#E6E6E6;color:#333;"
v-if=
"childIndex==0"
:rowspan=
"subItem.SubList.length"
>
{{
subItem
.
UseDay
}}
(
{{
getDayByDate
(
subItem
.
UseDay
)
}}
)
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
{{
childItem
.
HotelName
}}
</td>
<td
style=
"text-align:left;padding-left:3px;"
>
<span
v-if=
"childItem.UseCount>0 && subItem.SubList.length==1"
>
<template
v-if=
"childItem.OPState==1&&childItem.HotelName!='温馨的家'&&childItem.HotelName!='机场附近酒店'"
>
<a
style=
"color:green"
>
【
{{
$t
(
'salesModule.OPZD'
)
}}
】
</a>
</
template
>
<
template
v-else-if=
"childItem.OPState==2&&childItem.DMCState==0&&childItem.HotelName!='温馨的家'&&childItem.HotelName!='机场附近酒店'"
>
<a
style=
"color:red"
>
【
{{
$t
(
'salesModule.OPZD'
)
}}
】
</a>
</
template
>
<
template
v-else
>
<template
v-if=
"childItem.DMCState==1&&childItem.HotelName!='温馨的家'&&childItem.HotelName!='机场附近酒店'"
>
<a
style=
"color:green"
>
【
{{
$t
(
'salesModule.DJOK'
)
}}
】
</a>
</
template
>
<
template
v-if=
"childItem.DMCState==2&&childItem.HotelName!='温馨的家'&&childItem.HotelName!='机场附近酒店'"
>
<a
style=
"color:red"
>
【
{{
$t
(
'salesModule.DJZK'
)
}}
】
</a>
</
template
>
<
template
v-if=
"childItem.DMCState==0&&childItem.HotelName!='温馨的家'&&childItem.HotelName!='机场附近酒店'"
>
<a
style=
"color:red"
>
【
{{
$t
(
'salesModule.DJWCZ'
)
}}
】
</a>
</
template
>
</template>
【
<span
style=
"color:green"
>
{{$t('op.btsy')}}:{{childItem.UseCount}}
{{childItem.CostPrice!=0?"价格:"+childItem.CostPrice:""}}
</span>
】
</span>
<span
style=
"color:#E95252;"
v-if=
"childItem.HotelName!='温馨的家'&&childItem.HotelName!='机场附近酒店'"
>
【{{$t('hotel.hotel_remainList')}}:{{childItem.RemainingInventory}}】
</span>
</td>
<td>
<el-select
class=
"w180"
v-model=
"item.NewHotelId"
@
visible-change=
"getHotelList(item,$event)"
<
template
v-if=
"childItem.OPState==1||(childItem.OPState==2 && childItem.DMCState==0)"
>
{{
childItem
.
CreateDateStr
}}
</
template
>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.SubList.length"
>
<el-select
class=
"w180"
v-model=
"subItem.NewHotelId"
@
visible-change=
"getHotelList(subItem,$event)"
@
change=
"changeHotelList()"
filterable
>
<el-option
:key=
"0"
:label=
"$t('pub.pleaseSel')"
:value=
"0"
></el-option>
<el-option
v-for=
"subItem in item.HotelList"
:key=
"subItem.ID"
:label=
"subItem.Name"
:value=
"subItem.ID"
>
<span
style=
"float: left"
>
{{subItem.Name}}
</span>
<span
style=
"float: right; color:red; font-size: 13px"
>
{{ subItem.Inventory }}
</span>
<el-option
v-for=
"hotelItem in subItem.HotelList"
:key=
"hotelItem.ID"
:label=
"hotelItem.Name"
:value=
"hotelItem.ID"
>
<span
style=
"float:left"
>
{{hotelItem.Name}}
</span>
<span
style=
"float:right;color:red;font-size:13px"
>
{{$t('hotel.hotel_remainList')}}:{{hotelItem.Inventory}}/{{$t('Operation.Op_price')}}:{{hotelItem.CostPrice}}{{hotelItem.PriceTaxTypeStr}}
</span>
</el-option>
</el-select>
</td>
<td>
<span
v-if=
"childItem.UseCount>0 && subItem.SubList.length==1"
>
<span
style=
"color:red;white-space:nowrap;cursor:pointer;"
@
click=
"DeleteStock(subItem)"
>
{{$t('system.ph_shanchu')}}
</span>
</span>
<span>
<el-popover
width=
"700"
trigger=
"click"
popper-class=
"DMC_HotelPop"
>
<commonPHInfo
:name=
'"comPriceHotelInfo"+subIndex+childIndex'
:ref=
'"comPriceHotelInfo"+subIndex+childIndex'
></commonPHInfo>
<span
slot=
"reference"
class=
"price"
style=
"cursor:pointer;text-decoration:underline;"
@
click=
"GetHotelUsePriceList(childItem.HotelId,subItem.UseDay,subIndex,childIndex)"
>
{{$t('op.kcqk')}}
</span>
</el-popover>
</span>
</td>
</tr>
</template>
</table>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"saveHoteluseDetail()"
:class=
"{'disClick':!isSaved}"
>
{{btnText}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"PostConfig.IsUpdateHotel=1,saveHoteluseDetail(1)"
v-if=
"!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)"
:class=
"{'disClick':!isSaved}"
>
{{btnText}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"PostConfig.IsUpdateHotel=2;saveHoteluseDetail(2)"
v-if=
"!(priceData.IsOpenHotel&&priceData.IsOpenHotel==1)"
:class=
"{'disClick':!isSaved}"
>
{{btnTongBu}}
</button>
<button
class=
"hollowFixedBtn"
:class=
"{'disClick':!isSaved}"
@
click=
"cancelHotelUseDetail()"
>
{{$t('pub.cancelBtn')}}
</button>
<
template
v-if=
"priceData.IsOpenHotel&&priceData.IsOpenHotel==1"
>
<br
/>
<span
style=
"color:red;font-weight:bold;"
>
※
{{
$t
(
'op.DJyiguanbi'
)
}}
.
</span>
</
template
>
</div>
</el-dialog>
</div>
</template>
<
script
>
import
TravelPriceFlightList
from
"../TravelGroupControl/TravelPriceFlightList.vue"
;
import
commonPHlInfo
from
"../../commonPage/commonPriceHotelInfo.vue"
;
export
default
{
props
:
[
"priceList"
,
"PostConfig"
,
"modifyTcid"
,
"CurrentUserInfo"
,
"IsDirect"
],
data
()
{
...
...
@@ -878,6 +943,7 @@
UnCheckedVaule
:
2
,
//没选中
isSaved
:
true
,
btnText
:
'保存'
,
btnTongBu
:
'同步酒店'
,
//日期数组
days
:
[],
dateString
:
"2016-01-02"
,
...
...
@@ -1652,14 +1718,22 @@
}
},
//保存酒店使用情况
saveHoteluseDetail
()
{
saveHoteluseDetail
(
type
)
{
var
that
=
this
;
this
.
Confirm
(
"是否确定提交选中的酒店?"
,
function
()
{
var
str
=
"是否确定提交选中的酒店?"
;
if
(
type
==
2
)
{
str
=
"是否同步行程酒店到地接?"
;
}
this
.
Confirm
(
str
,
function
()
{
if
(
that
.
isSaved
)
{
that
.
isSaved
=
false
;
that
.
$emit
(
"saveMsg"
);
}
that
.
btnText
=
'保存中...'
if
(
type
==
2
)
{
that
.
btnTongBu
=
"同步酒店..."
;
}
else
{
that
.
btnText
=
'保存...'
;
}
});
},
//取消
...
...
@@ -1771,7 +1845,8 @@
},
},
components
:
{
TravelPriceFlightList
:
TravelPriceFlightList
TravelPriceFlightList
:
TravelPriceFlightList
,
commonPHInfo
:
commonPHlInfo
,
}
};
...
...
src/components/newTravelmanager/travelLineTrip/components/travelDays.vue
View file @
d48ac28f
...
...
@@ -130,7 +130,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(1)"
@
toSelectImg=
"SelectImg(1)"
:x=
"524"
:y=
"250"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"524"
:h=
"250"
:ref=
"'viewSpotVds_' + item * 4 + '_1'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -224,7 +223,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(1)"
@
toSelectImg=
"SelectImg(1)"
:x=
"517"
:y=
"280"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"517"
:h=
"280"
:ref=
"'viewSpotVds_' + item * 4 + '_1'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -257,7 +255,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(2)"
@
toSelectImg=
"SelectImg(2)"
:x=
"517"
:y=
"280"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>2||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"517"
:h=
"280"
:ref=
"'viewSpotVds_' + item * 4 + '_2'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -303,7 +300,7 @@
:x=
"696"
:y=
"449"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>
1
||item.TrafficObj.trafficIntroduce.IntroduceImage"
<VueDraggableResizable
v-if=
"item.ScenicArray.length>
0
||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"696"
:h=
"449"
:ref=
"'viewSpotVds_' + item * 4 + '_0'+index"
tabindex=
"0"
:resizable=
"false"
:active=
"false"
:parent=
"false"
axis=
"y"
@
activated=
"onActivated(0)"
:x=
"ScenicArrayList&&ScenicArrayList.length>0?ScenicArrayList[0].ScenicJson.x:item.TrafficObj.trafficIntroduce.x"
...
...
@@ -343,7 +340,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(1)"
@
toSelectImg=
"SelectImg(1)"
:x=
"331"
:y=
"214"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"331"
:h=
"214"
:ref=
"'viewSpotVds_' + item * 4 + '_1'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -384,7 +380,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(2)"
@
toSelectImg=
"SelectImg(2)"
:x=
"331"
:y=
"214"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"331"
:h=
"214"
:ref=
"'viewSpotVds_' + item * 4 + '_2'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -425,7 +420,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(3)"
@
toSelectImg=
"SelectImg(3)"
:x=
"331"
:y=
"214"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"331"
:h=
"214"
:ref=
"'viewSpotVds_' + item * 4 + '_3'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -507,7 +501,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(1)"
@
toSelectImg=
"SelectImg(1)"
:x=
"514"
:y=
"291"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>0||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"514"
:h=
"291"
:ref=
"'viewSpotVds_' + item * 4 + '_1'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -547,7 +540,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(2)"
@
toSelectImg=
"SelectImg(2)"
:x=
"331"
:y=
"214"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"331"
:h=
"214"
:ref=
"'viewSpotVds_' + item * 4 + '_2'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -588,7 +580,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(3)"
@
toSelectImg=
"SelectImg(3)"
:x=
"331"
:y=
"214"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>1||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"331"
:h=
"214"
:ref=
"'viewSpotVds_' + item * 4 + '_3'+index"
tabindex=
"0"
:resizable=
"false"
...
...
@@ -629,7 +620,6 @@
<FeatureControls
:index=
"index"
:FeatureData=
"item"
:ControlsType=
"'row'"
:isTemplate=
"false"
:isUploadImg=
"true"
:isSelectImg=
"true"
@
toUploadImg=
"UploadImg(4)"
@
toSelectImg=
"SelectImg(4)"
:x=
"331"
:y=
"214"
></FeatureControls>
<input
type=
"file"
style=
"display:none"
:id=
"'dayfile_'+(item * 2 + 1) + '_'+index"
@
change=
"uploadpic"
>
</div>
<VueDraggableResizable
v-if=
"item.ScenicArray.length>4||item.TrafficObj.trafficIntroduce.IntroduceImage"
:w=
"331"
:h=
"214"
:ref=
"'viewSpotVds_' + item * 4 + '_4'+index"
tabindex=
"0"
:resizable=
"false"
...
...
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