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
3ca57c07
Commit
3ca57c07
authored
Jan 09, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改出团公司
parent
1e992b48
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
769 additions
and
20 deletions
+769
-20
TravelPrice.vue
...mponents/TravelManager/TravelGroupControl/TravelPrice.vue
+6
-6
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+19
-6
TravelControlListSale.vue
...onents/TravelManager/TravelList/TravelControlListSale.vue
+13
-0
EditLeaveGroup.vue
...ts/TravelManager/TravelList/components/EditLeaveGroup.vue
+116
-0
oneDayTrip.vue
src/components/TravelManager/TravelList/oneDayTrip.vue
+15
-2
GroupTypeAudit.vue
src/components/dmc/manager/GroupTypeAudit.vue
+586
-0
TravelPrice.vue
...nents/newTravelmanager/TravelGroupControl/TravelPrice.vue
+2
-2
TravelPrice2.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice2.vue
+1
-1
TravelPrice3.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice3.vue
+2
-2
TravelPrice4.vue
...ents/newTravelmanager/TravelGroupControl/TravelPrice4.vue
+1
-1
config.js
src/router/config.js
+8
-0
No files found.
src/components/TravelManager/TravelGroupControl/TravelPrice.vue
View file @
3ca57c07
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
3ca57c07
...
@@ -1102,6 +1102,9 @@
...
@@ -1102,6 +1102,9 @@
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2,item.TravelEndAudit)"
>
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2,item.TravelEndAudit)"
>
{{$t('Operation.Op_jietuan')}}
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"GroupTypeObj=item,GroupTypeVisible=true"
>
<div>
修改出团公司
</div>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1,item.TravelEndAudit)"
>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1,item.TravelEndAudit)"
>
{{$t('visaT.sale')}}
{{$t('visaT.sale')}}
</el-dropdown-item>
</el-dropdown-item>
...
@@ -1273,12 +1276,20 @@
...
@@ -1273,12 +1276,20 @@
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
</el-dialog>
</el-dialog>
</div>
</div>
<!-- 修改出团公司 -->
<EditLeaveGroup
v-if=
"GroupTypeVisible"
:item=
"GroupTypeObj"
@
Cancel=
'CancelGroupType'
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
import
priceDialog
from
'../TravelNewQuotation/priceDialog.vue'
;
import
priceDialog
from
'../TravelNewQuotation/priceDialog.vue'
;
import
EditLeaveGroup
from
'./components/EditLeaveGroup.vue'
;
export
default
{
export
default
{
components
:
{
commonHotelInfo
,
priceDialog
,
EditLeaveGroup
},
provide
()
{
provide
()
{
return
{
return
{
reload
:
this
.
reload
reload
:
this
.
reload
...
@@ -1286,6 +1297,8 @@
...
@@ -1286,6 +1297,8 @@
},
},
data
()
{
data
()
{
return
{
return
{
GroupTypeVisible
:
false
,
GroupTypeObj
:{},
dialog
:
{
dialog
:
{
show
:
false
,
show
:
false
,
ConfigId
:
''
,
ConfigId
:
''
,
...
@@ -1537,10 +1550,6 @@
...
@@ -1537,10 +1550,6 @@
};
};
},
},
components
:
{
commonHotelInfo
,
priceDialog
},
//监听器
//监听器
watch
:
{
watch
:
{
// 方法1
// 方法1
...
@@ -1549,6 +1558,10 @@
...
@@ -1549,6 +1558,10 @@
},
},
},
},
methods
:
{
methods
:
{
CancelGroupType
()
{
this
.
GroupTypeVisible
=
false
this
.
GroupTypeObj
=
{}
},
IsShowAllBranch
()
{
IsShowAllBranch
()
{
var
flag
=
true
;
var
flag
=
true
;
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
RB_Branch_id
&&
this
.
CurrentUserInfo
.
RB_Branch_id
==
1220
)
{
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
RB_Branch_id
&&
this
.
CurrentUserInfo
.
RB_Branch_id
==
1220
)
{
...
...
src/components/TravelManager/TravelList/TravelControlListSale.vue
View file @
3ca57c07
...
@@ -827,6 +827,9 @@
...
@@ -827,6 +827,9 @@
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
{{$t('Operation.Op_jietuan')}}
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"GroupTypeObj=item,GroupTypeVisible=true"
>
<div>
修改出团公司
</div>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"goB2B(item.ConfigId, item.TCID , 1)"
>
<el-dropdown-item
@
click
.
native=
"goB2B(item.ConfigId, item.TCID , 1)"
>
{{$t('Operation.Op_b2bView')}}
{{$t('Operation.Op_b2bView')}}
</el-dropdown-item>
</el-dropdown-item>
...
@@ -941,18 +944,24 @@
...
@@ -941,18 +944,24 @@
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 修改出团公司 -->
<EditLeaveGroup
v-if=
"GroupTypeVisible"
:item=
"GroupTypeObj"
@
Cancel=
'CancelGroupType'
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
import
priceDialog
from
'../TravelNewQuotation/priceDialog.vue'
;
import
priceDialog
from
'../TravelNewQuotation/priceDialog.vue'
;
import
EditLeaveGroup
from
'./components/EditLeaveGroup.vue'
;
export
default
{
export
default
{
components
:
{
components
:
{
priceDialog
,
priceDialog
,
commonHotelInfo
,
commonHotelInfo
,
EditLeaveGroup
},
},
data
()
{
data
()
{
return
{
return
{
GroupTypeVisible
:
false
,
GroupTypeObj
:{},
isCommissionDetails
:
false
,
//团控提成详情权限
isCommissionDetails
:
false
,
//团控提成详情权限
dialog
:
{
dialog
:
{
show
:
false
,
show
:
false
,
...
@@ -1130,6 +1139,10 @@
...
@@ -1130,6 +1139,10 @@
};
};
},
},
methods
:
{
methods
:
{
CancelGroupType
()
{
this
.
GroupTypeVisible
=
false
this
.
GroupTypeObj
=
{}
},
//酒店餐厅处理跳转
//酒店餐厅处理跳转
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
goHotelDiningBus
(
item
,
HotelDiningBus
,
type
)
{
if
(
type
==
1
)
{
if
(
type
==
1
)
{
...
...
src/components/TravelManager/TravelList/components/EditLeaveGroup.vue
0 → 100644
View file @
3ca57c07
<
style
>
</
style
>
<
template
>
<div>
<el-dialog
width=
"400px"
title=
"申请修改团公司"
:visible
.
sync=
"outerVisible"
@
close=
"Cancel"
>
<div>
<el-select
v-model=
"msg.NewOutBranchId"
placeholder=
"请选择出团公司"
style=
"width: 100%;"
>
<el-option
v-for=
"item in newCompanyList"
:key=
"item.id"
:label=
"item.bName"
:value=
"item.id"
>
</el-option>
</el-select>
</div>
<div
style=
"margin-top: 10px;"
>
<el-input
type=
"textarea"
:autosize=
"
{ minRows: 4, maxRows: 8}"
placeholder="填写申请修改出团公司缘由"
v-model="msg.ApplyResion" />
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"Cancel"
>
取 消
</button>
<el-button
class=
"normalBtn"
type=
"primary"
@
click=
"FirmApplication"
:loading=
"loading"
>
确定
</el-button>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:[
'item'
],
data
()
{
return
{
loading
:
false
,
newCompanyList
:[],
companyList
:[],
outerVisible
:
true
,
newGroupType
:[],
groupType
:[
{
Name
:
'小包团'
,
Id
:
1
},
{
Name
:
'当地游'
,
Id
:
2
},
{
Name
:
'散拼'
,
Id
:
0
}
],
msg
:{
TCID
:
0
,
NewOutBranchId
:
null
,
ApplyResion
:
''
}
};
},
watch
:
{
item
:
{
handler
(
newValue
)
{
this
.
msg
.
TCID
=
newValue
.
TCID
this
.
newGroupType
=
this
.
groupType
.
filter
(
x
=>
{
return
x
.
Id
!=
newValue
.
TeamType
})
this
.
getCompanyList
()
},
immediate
:
true
},
},
mounted
(){
},
methods
:
{
getCompanyList
()
{
//出团公司
this
.
apipost
(
"sellorder_post_GetBranchList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
this
.
newCompanyList
=
this
.
companyList
.
filter
(
x
=>
{
return
x
.
id
!=
this
.
item
.
OutBranchId
})
}
},
err
=>
{}
);
},
FirmApplication
()
{
if
(
this
.
msg
.
NewOutBranchId
==
null
){
return
this
.
$message
.
error
(
'请选择团类型'
);
}
if
(
this
.
msg
.
ApplyResion
==
''
){
return
this
.
$message
.
error
(
'请选择申请修改缘由'
);
}
this
.
loading
=
true
this
.
apipost
(
'travel_post_SetApplyPriceTeamType'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
'操作成功!'
);
this
.
Cancel
()
}
else
{
this
.
$message
.
info
(
'操作失败!'
);
}
this
.
loading
=
false
},
err
=>
{})
},
Cancel
()
{
this
.
$emit
(
'Cancel'
)
},
},
mounted
()
{
}
};
</
script
>
src/components/TravelManager/TravelList/oneDayTrip.vue
View file @
3ca57c07
...
@@ -709,6 +709,9 @@
...
@@ -709,6 +709,9 @@
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
{{$t('Operation.Op_jietuan')}}
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
@
click
.
native=
"GroupTypeObj=item,GroupTypeVisible=true"
>
<div>
修改出团公司
</div>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1)"
>
{{$t('visaT.sale')}}
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1)"
>
{{$t('visaT.sale')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)"
<el-dropdown-item
v-if=
"item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)"
...
@@ -840,18 +843,24 @@
...
@@ -840,18 +843,24 @@
<el-dialog
:visible
.
sync=
"dialog.show"
width=
"1400px"
title=
"报价详情"
>
<el-dialog
:visible
.
sync=
"dialog.show"
width=
"1400px"
title=
"报价详情"
>
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
</el-dialog>
</el-dialog>
<!-- 修改出团公司 -->
<EditLeaveGroup
v-if=
"GroupTypeVisible"
:item=
"GroupTypeObj"
@
Cancel=
'CancelGroupType'
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
priceDialog
from
'../TravelNewQuotation/priceDialog.vue'
;
import
priceDialog
from
'../TravelNewQuotation/priceDialog.vue'
;
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
import
EditLeaveGroup
from
'./components/EditLeaveGroup.vue'
;
export
default
{
export
default
{
components
:
{
components
:
{
priceDialog
,
priceDialog
,
commonHotelInfo
commonHotelInfo
,
EditLeaveGroup
},
},
data
()
{
data
()
{
return
{
return
{
GroupTypeVisible
:
false
,
GroupTypeObj
:{},
dialog
:
{
dialog
:
{
show
:
false
,
show
:
false
,
ConfigId
:
''
,
ConfigId
:
''
,
...
@@ -1038,6 +1047,10 @@
...
@@ -1038,6 +1047,10 @@
}
}
},
},
methods
:
{
methods
:
{
CancelGroupType
()
{
this
.
GroupTypeVisible
=
false
this
.
GroupTypeObj
=
{}
},
IsShowAllBranch
()
{
IsShowAllBranch
()
{
var
flag
=
true
;
var
flag
=
true
;
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
RB_Branch_id
&&
this
.
CurrentUserInfo
.
RB_Branch_id
==
1220
)
{
if
(
this
.
CurrentUserInfo
&&
this
.
CurrentUserInfo
.
RB_Branch_id
&&
this
.
CurrentUserInfo
.
RB_Branch_id
==
1220
)
{
...
...
src/components/dmc/manager/GroupTypeAudit.vue
0 → 100644
View file @
3ca57c07
<
template
>
<div
class=
"groupApproval"
>
<div
class=
"query-box"
>
<ul>
<li>
<em>
出团公司
</em>
<el-select
filterable
v-model=
'msg.OutBranchId'
size=
"small"
@
change=
'getControlList()'
>
<el-option
label=
"不限"
:value=
"-1"
:key=
"-1"
></el-option>
<el-option
v-for=
"item in companyList"
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
></el-option>
</el-select>
</li>
<li>
<span>
<em>
团类型
</em>
<el-select
class=
"w200"
v-model=
"msg.TeamType"
filterable
:placeholder=
"$t('pub.pleaseImport')"
size=
"small"
@
change=
"getControlList()"
>
<el-option
v-for=
"item in groupType"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
审核状态
</em>
<el-select
class=
"w200"
v-model=
"msg.BranchAuditState"
filterable
:placeholder=
"$t('pub.pleaseImport')"
size=
"small"
@
change=
"getControlList()"
>
<el-option
v-for=
"item in BranchAuditStateType"
:label=
"item.Name"
:value=
"item.Id"
:key=
"item.Id"
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
团号
</em>
<el-input
maxlength=
"50"
v-model=
"msg.TCNUM"
class=
"permiss-input w200"
size=
"small"
@
keyup
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li
v-if=
"false"
>
<span>
<em>
编号
</em>
<el-input
maxlength=
"6"
v-model=
"msg.TCID"
class=
"permiss-input 200"
size=
"small"
@
keyup
.
native
.
enter=
"getControlList"
:placeholder=
"$t('pub.pleaseImport')"
@
keyup
.
native=
"checkInteger(msg,'TCID')"
></el-input>
</span>
</li>
<li>
<span>
<em>
时间
</em>
<el-date-picker
style=
"width: 300px;"
v-model=
"StartTime"
format=
'yyyy-MM-dd'
value-format=
"yyyy-MM-dd"
size=
"small"
type=
"datetimerange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
@
change=
"getStartTime"
>
</el-date-picker>
</span>
</li>
<li>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"getControlList"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
</li>
</ul>
</div>
<ul
class=
"_nav clearfix"
v-if=
"false"
>
<li
:class=
"active==1?'_active':''"
@
click=
"active=1, msg.OutGroupAuditState=1, getControlList()"
>
待审批
</li>
<li
:class=
"active==2?'_active':''"
@
click=
"active=2, msg.OutGroupAuditState=2, getControlList()"
>
已审批
</li>
<div
style=
"float: right;"
v-if=
"multipleSelection.length>0"
>
<button
class=
"hollowFixedBtn"
@
click=
"setAudit()"
>
批量审核
</button>
</div>
<li
style=
"float: right;color: red;font-size: 14px;"
>
<!-- 注:落地团,小包团,国内线 均按订单利润的20%计算最大预计销售提成,实际发放提成不会超过最大预期销售提成 -->
</li>
</ul>
<ul
style=
"overflow: initial!important"
>
<li
style=
"margin-bottom:10px;width: 100%;"
>
</li>
</ul>
<el-table
v-loading=
"loading"
ref=
"multipleTable"
:data=
"dataList"
tooltip-effect=
"dark"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
>
<!--
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"selectable"
>
-->
</el-table-column>
<el-table-column
label=
"团队编号"
width=
"170"
>
<template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
OutBranchName
}}
</p>
<span
style=
"cursor: pointer;text-decoration: underline;"
@
click=
"goTravel(scope.row.TCID)"
>
{{
scope
.
row
.
TCNUM
}}
(
{{
scope
.
row
.
TCID
}}
)
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"LtName"
label=
"系列"
width=
"200"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
LineName
}}
</br>
{{
scope
.
row
.
LtName
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"Title"
label=
"团名"
width=
"200"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
""
label=
"申请人/申请日期"
width=
"200"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
BranchApplyName
}}
</p>
<p>
{{
scope
.
row
.
BranchApplyTime
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"OPName"
label=
"申请原因"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
BranchApplyResion
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"PriceTeamTypeName"
label=
"团队类型"
width=
"130"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.TeamTypeName"
>
{{
scope
.
row
.
TeamTypeName
}}
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
"OldBranchName"
label=
"原出团公司"
width=
"130"
></el-table-column>
<el-table-column
prop=
"NewBranchName"
label=
"新出团公司"
width=
"130"
></el-table-column>
<el-table-column
prop=
""
label=
"操作"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<div
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"审核"
placement=
"top"
v-if=
"scope.row.BranchAuditState==1"
>
<i
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"shenhei(scope.row)"
></i>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"驳回"
placement=
"top"
v-if=
"scope.row.BranchAuditState==1"
>
<i
class=
"iconfont icon-shenhebohui"
@
click=
"bohui(scope.row)"
></i>
</el-tooltip>
<!--
<el-tooltip
class=
"item"
effect=
"dark"
content=
"收支明细"
placement=
"top"
>
<i
class=
"iconfont icon-mingxi"
@
click=
"goTeamBalance(scope.row.TCID)"
></i>
</el-tooltip>
-->
</div>
</
template
>
</el-table-column>
</el-table>
<div
style=
"width: 100%;"
>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"msg.pageIndex"
layout=
"sizes,total,prev, pager, next, jumper"
:page-sizes=
"[5, 10, 20, 30,50,100]"
:page-size=
"msg.pageSize"
:total=
"total"
>
</el-pagination>
</div>
<el-dialog
custom-class=
"w600"
title=
"驳回缘由"
:visible
.
sync=
"cancelOrderDialog"
>
<div
style=
"padding-bottom:20px"
>
<el-input
type=
"textarea"
autofocus
rows=
"5"
placeholder=
"请填写驳回该团的缘由"
clear=
"w300"
v-model=
"cancelRemark"
></el-input>
<el-row
:gutter=
"20"
style=
"margin-top: 20px;"
>
<el-col
:span=
"24"
style=
"text-align: right;"
>
<input
type=
"button"
class=
"normalBtn"
value=
"确定驳回"
@
click=
"cancelOrderHandler"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"关闭"
@
click=
"cancelOrderDialog = false,cancelRemark=''"
/>
</el-col>
</el-row>
</div>
</el-dialog>
</div>
</template>
<
script
>
export
default
{
components
:
{
},
data
()
{
return
{
StartTime
:[],
groupType
:[
{
Name
:
'不限'
,
Id
:
-
1
},
{
Name
:
'小包团'
,
Id
:
1
},
{
Name
:
'当地游'
,
Id
:
2
},
{
Name
:
'常规团'
,
Id
:
0
}
],
BranchAuditStateType
:[
{
Name
:
'不限'
,
Id
:
-
1
},
{
Name
:
'待审核'
,
Id
:
1
},
{
Name
:
'通过'
,
Id
:
2
},
{
Name
:
'驳回'
,
Id
:
3
}
],
companyList
:[],
cancelRemark
:
''
,
dataRow
:
null
,
cancelOrderDialog
:
false
,
loading
:
false
,
dataList
:
[],
active
:
'1'
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
TCNUM
:
''
,
//团号
TeamType
:
-
1
,
//团队类型 0-常规,1-小包团,2-当地游
OutBranchId
:
-
1
,
QStartDate
:
''
,
QEndDate
:
''
,
BranchAuditState
:
-
1
},
TeamListArr
:[],
total
:
0
,
EmployeeId
:
0
,
multipleSelection
:
[],
AuditLoading
:
false
,
dialog
:
{
show
:
false
,
ConfigId
:
''
,
OfferId
:
''
},
getCompanyMsg
:{
RB_Group_Id
:
'0'
,
Status
:
'0'
,
},
}
},
created
()
{
this
.
getTeamList
()
let
userinfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userinfo
.
RB_Group_id
;
this
.
EmployeeId
=
userinfo
.
EmployeeId
let
ActionMenuCode
=
userinfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'Finance_clumpSeeAll'
)
!=-
1
){
//如果有权限 可以查看所有 如果没有只能看自己审核的
// this.msg.OutGroupAuditEmpId = 0
}
else
{
// this.msg.OutGroupAuditEmpId = userinfo.EmployeeId
}
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
TCID
){
this
.
msg
.
TCID
=
this
.
$route
.
query
.
TCID
}
this
.
getCompany
()
},
mounted
()
{
this
.
getList
()
},
methods
:
{
getStartTime
(){
if
(
this
.
StartTime
.
length
==
2
){
this
.
msg
.
QStartDate
=
this
.
StartTime
[
0
]
this
.
msg
.
QEndDate
=
this
.
StartTime
[
1
]
}
else
{
this
.
msg
.
QStartDate
=
''
this
.
msg
.
QEndDate
=
''
}
},
// 销售预期提成
goAnticipate
(
row
,
type
){
let
userInfo
=
this
.
getLocalStorage
();
let
name
if
(
type
==
1
){
//国内
name
=
'domesticCommissiondetails'
}
else
if
(
type
==
2
){
//单项
name
=
'ServiceCommissiondetails'
}
else
if
(
type
==
3
){
//台湾
name
=
'domesticCommissiondetailsTW'
}
else
if
(
type
==
4
){
//同业
name
=
'TradeTicketDetails'
}
this
.
$router
.
push
({
name
:
name
,
query
:
{
Type
:
1
,
TCNUM
:
row
.
TCNUM
,
blank
:
'y'
}
});
},
getCompany
(){
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
companyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
},
showDialog
(
ConfigId
,
OfferId
)
{
this
.
dialog
=
{
show
:
true
,
ConfigId
,
OfferId
}
this
.
$nextTick
(()
=>
{
this
.
$refs
.
dialog
.
getPostData
()
})
},
selectable
(
row
,
index
)
{
if
(
this
.
active
==
1
){
return
true
}
else
{
return
false
}
},
setAudit
(
type
){
let
ids
=
this
.
multipleSelection
.
map
(
x
=>
{
return
x
.
TCID
})
if
(
ids
.
length
==
0
){
return
this
.
$message
.
error
(
'请勾选需要批量审核的数据'
);
}
let
that
=
this
;
that
.
$confirm
(
'是否通过该批量审核数据?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
for
(
let
i
=
0
;
i
<
ids
.
length
;
i
++
){
setTimeout
(()
=>
{
this
.
groupAudit
(
2
,
ids
[
i
],
'multiple'
,(
i
+
1
)
==
ids
.
length
?
ids
.
length
:
0
)
},
500
)
}
}).
catch
(()
=>
{
});
},
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
},
getControlList
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getList
()
},
handleSizeChange
(
e
){
this
.
msg
.
pageSize
=
e
;
this
.
getList
()
},
handleCurrentChange
(
e
){
this
.
msg
.
pageIndex
=
e
;
this
.
getList
()
},
getList
()
{
this
.
loading
=
true
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
))
this
.
apipost
(
"travel_post_GetTravelOutBranchAuditPage"
,
msg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
}
);
},
shenhei
(
item
)
{
let
that
=
this
;
that
.
$confirm
(
'是否审核通过该团?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
groupAudit
(
2
,
item
.
TCID
)
}).
catch
(()
=>
{
});
},
cancelOrderHandler
(){
if
(
!
this
.
cancelRemark
)
return
this
.
Error
(
'请输入驳回缘由'
)
let
that
=
this
;
that
.
$confirm
(
'是否驳回该团?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
//掉接口
this
.
groupAudit
(
3
,
this
.
dataRow
.
TCID
)
}).
catch
(()
=>
{
});
},
bohui
(
item
)
{
this
.
dataRow
=
item
this
.
cancelOrderDialog
=
true
return
let
that
=
this
;
that
.
$confirm
(
'是否驳回该团?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
//掉接口
this
.
groupAudit
(
3
,
item
.
TCID
)
}).
catch
(()
=>
{
});
},
groupAudit
(
type
,
TCID
,
name
,
length
){
let
msg
=
{
TCID
:
TCID
,
BranchAuditState
:
type
,
BranchAuditRemark
:
this
.
cancelRemark
}
console
.
log
(
msg
,
';-------'
)
return
this
.
apipost
(
"travel_post_AuditPriceOutBranchTeamType"
,
{
TCID
:
TCID
,
BranchAuditState
:
type
,
BranchAuditRemark
:
this
.
cancelRemark
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
!
name
){
this
.
cancelOrderDialog
=
false
this
.
Success
(
res
.
data
.
message
);
this
.
getList
()
}
else
{
if
(
length
){
this
.
cancelOrderDialog
=
false
this
.
Success
(
res
.
data
.
message
);
this
.
getList
()
}
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
}
);
},
goTeamBalance
(
id
,
OutBranchId
)
{
//团队收支明细
this
.
$router
.
push
({
name
:
"TeamBalancePayment"
,
query
:
{
id
:
id
,
IsHaveAuth
:
true
,
blank
:
"y"
,
tab
:
"团队收支明细"
}
});
},
getTeamList
()
{
this
.
apipost
(
"travel_get_GetTravelPriceTeamTypeList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TeamListArr
=
res
.
data
.
data
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
}
);
},
goTravel
(
TCID
){
//跳转到团队列表
this
.
$router
.
push
({
path
:
'TravelControlList'
,
query
:
{
TCID
:
TCID
,
blank
:
'y'
,
tab
:
'团控列表'
}
});
}
}
}
</
script
>
<
style
scoped
>
.groupApproval
.singeRowTable
{
margin-top
:
20px
;
}
._nav
{
margin
:
20px
0
0
0
;
background-color
:
#f5f5f5
;
}
._nav
li
{
float
:
left
;
font-size
:
14px
;
color
:
#666666
;
padding
:
15px
20px
;
cursor
:
pointer
;
position
:
relative
;
background-color
:
#f1f1f1
;
margin-right
:
5px
}
._nav
li
._active
{
background-color
:
#FFFFFF
;
color
:
#333333
}
._nav
li
._active
::after
{
content
:
""
;
width
:
20px
;
height
:
3px
;
background-color
:
#E95252
;
display
:
inline-block
;
position
:
absolute
;
bottom
:
0
;
left
:
38%
;
}
._icon_btn
i
{
width
:
30px
;
height
:
30px
;
display
:
inline-block
;
color
:
white
!important
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
30px
;
margin-right
:
10px
;
cursor
:
pointer
;
outline
:
none
;
}
._icon_btn
i
.icon-ico_commodity_defaul
{
background-color
:
#F16C3C
;
}
._icon_btn
i
.icon-ico_commodity_defaul
:hover
{
background-color
:
#e87c54
}
._icon_btn
i
.icon-ico_commodity_defaul
:active
{
background-color
:
#f76630
}
._icon_btn
i
.icon-shenhebohui
{
background-color
:
#E95252
}
._icon_btn
i
.icon-mingxi
{
background-color
:
rgb
(
71
,
191
,
140
)
}
</
style
>
src/components/newTravelmanager/TravelGroupControl/TravelPrice.vue
View file @
3ca57c07
...
@@ -652,7 +652,7 @@
...
@@ -652,7 +652,7 @@
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<el-form-item
v-if=
"false"
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice2.vue
View file @
3ca57c07
...
@@ -651,7 +651,7 @@
...
@@ -651,7 +651,7 @@
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<el-form-item
v-if=
"false"
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice3.vue
View file @
3ca57c07
...
@@ -601,7 +601,7 @@
...
@@ -601,7 +601,7 @@
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<el-form-item
v-if=
"false"
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
...
...
src/components/newTravelmanager/TravelGroupControl/TravelPrice4.vue
View file @
3ca57c07
...
@@ -627,7 +627,7 @@
...
@@ -627,7 +627,7 @@
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
<el-date-picker
clearable
class=
"w150"
v-model=
"priceData.SendVisaTime"
type=
"date"
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
value-format=
"yyyy-MM-dd"
:placeholder=
"$t('admin.admin_choDate')"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<el-form-item
v-if=
"false"
prop=
"OutBranchId"
style=
"margin-top:1px;"
>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<span
class=
"TP_Sendprepend"
style=
"margin:3px -1px 0 0"
>
{{$t('scen.sc_cp')}}
</span>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-select
class=
"w180"
v-model=
"priceData.OutBranchId"
@
change=
"getstandardCurrencyName"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
"SelectOtherDefault"
></el-option>
...
...
src/router/config.js
View file @
3ca57c07
...
@@ -4925,6 +4925,14 @@ export default {
...
@@ -4925,6 +4925,14 @@ export default {
title
:
'地接供应商'
title
:
'地接供应商'
}
}
},
},
{
path
:
'/GroupTypeAudit'
,
name
:
'GroupTypeAudit'
,
component
:
resolve
=>
require
([
'@/components/dmc/manager/GroupTypeAudit'
],
resolve
),
meta
:
{
title
:
'团队类型审核'
}
},
{
{
path
:
'/newFeature'
,
path
:
'/newFeature'
,
name
:
'newFeature'
,
name
:
'newFeature'
,
...
...
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