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
43466279
Commit
43466279
authored
Oct 17, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
73831c5c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
711 additions
and
677 deletions
+711
-677
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
+0
-1
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+4
-4
No files found.
src/components/FinancialModule/HandDispensingFee/list.vue
View file @
43466279
<
template
>
<
template
>
<div
class=
"domesticCommissionRule"
>
<div
class=
"domesticCommissionRule"
>
<div
class=
"commonContent"
>
<div
class=
"commonContent"
>
<div>
<div>
<div
style=
"display: flex;justify-content: space-between;align-items: center;"
>
<div
style=
"display: flex;justify-content: space-between;align-items: center;"
>
<p
class=
"sfd_tit clearfix"
><span>
手配费单据配置
</span></p>
<p
class=
"sfd_tit clearfix"
><span>
手配费单据配置
</span></p>
<div
style=
"text-align: right;"
>
<div
style=
"text-align: right;"
>
<input
type=
"button"
class=
"normalBtn"
value=
"新增手配费单据配置"
@
click=
"addNew(1)"
>
<input
type=
"button"
class=
"normalBtn"
value=
"新增手配费单据配置"
@
click=
"addNew(1)"
>
</div>
</div>
</div>
</div>
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<thead>
<thead>
<tr>
<tr>
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
<th>
公司
</th>
<th>
公司
</th>
<th
width=
"400px"
>
付款对象
</th>
<th
width=
"400px"
>
付款对象
</th>
<th>
类型
</th>
<th>
类型
</th>
<th>
金额
</th>
<th>
金额
</th>
<th>
费用类型
</th>
<th>
费用类型
</th>
<th>
总部制单流程
</th>
<th>
总部制单流程
</th>
<th>
分公司制单流程
</th>
<th>
分公司制单流程
</th>
<th>
币种
</th>
<th>
币种
</th>
<th>
操作人
</th>
<th>
操作人
</th>
<th
v-if=
"S_CheckAllOrder"
>
操作
</th>
<th
v-if=
"S_CheckAllOrder"
>
操作
</th>
...
@@ -32,11 +32,13 @@
...
@@ -32,11 +32,13 @@
</td>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DetailList.length"
>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DetailList.length"
>
{{
subItem
.
ClientName
}}
{{
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;"
<div
v-if=
"Details.length>0"
style=
"display: flex;flex-wrap: wrap;"
>
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>
<el-tag
v-for=
"(ds, din) in Details"
:key=
"din"
size=
"small"
>
{{
ds
.
ClientName
}}
</el-tag>
</div>
</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>
</el-popover>
</td>
</td>
<td><span
v-if=
"childItem.Type==1"
>
房
</span>
<td><span
v-if=
"childItem.Type==1"
>
房
</span>
...
@@ -47,129 +49,131 @@
...
@@ -47,129 +49,131 @@
<span
v-if=
"childItem.Type==6"
>
餐费送客手数料
</span>
<span
v-if=
"childItem.Type==6"
>
餐费送客手数料
</span>
<span
v-if=
"childItem.Type==7"
>
门票送客手数料
</span>
<span
v-if=
"childItem.Type==7"
>
门票送客手数料
</span>
</td>
</td>
<td>
{{
childItem
.
Unit_Price
}}
</td>
<td>
{{
childItem
.
Unit_Price
}}
</td>
<td>
{{
childItem
.
CostTypeName
}}
</td>
<td>
{{
childItem
.
CostTypeName
}}
</td>
<td>
{{
childItem
.
FlowZName
}}
</td>
<td>
{{
childItem
.
FlowZName
}}
</td>
<td>
{{
childItem
.
FlowFName
}}
</td>
<td>
{{
childItem
.
FlowFName
}}
</td>
<td>
{{
subItem
.
CurrencyName
}}
</td>
<td>
{{
subItem
.
CurrencyName
}}
</td>
<td>
<td>
<p>
{{
subItem
.
UpdateByName
}}
</p>
<p>
{{
subItem
.
UpdateByName
}}
</p>
<p>
{{
subItem
.
UpdateDate
}}
</p>
<p>
{{
subItem
.
UpdateDate
}}
</p>
</td>
</td>
<td
v-if=
"S_CheckAllOrder&&childIndex==0"
:rowspan=
"subItem.DetailList.length"
>
<td
v-if=
"S_CheckAllOrder&&childIndex==0"
:rowspan=
"subItem.DetailList.length"
>
<el-button-group
size=
'mini'
>
<el-button-group
size=
'mini'
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑手配费"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑手配费"
placement=
"top-start"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
<el-button
type=
"primary"
icon=
"el-icon-edit"
@
click=
"isShowDIv = true,divTitle='编辑手配费',getEdit(subItem,1)"
>
@
click=
"isShowDIv = true,divTitle='编辑手配费',getEdit(subItem,1)"
>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"DeleteRules(subItem.Id,1)"
>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"DeleteRules(subItem.Id,1)"
>
</el-button>
</el-button>
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
</td>
</td>
</tr>
</tr>
</
template
>
</
template
>
<tr
v-if=
"DataList.length==0"
>
<tr
v-if=
"DataList.length==0"
>
<td
colspan=
"11"
align=
"center"
>
暂无数据
</td>
<td
colspan=
"11"
align=
"center"
>
暂无数据
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<div
style=
"margin-top: 20px;"
>
<div
style=
"margin-top: 20px;"
>
<div
style=
"display: flex;justify-content: space-between;align-items: center;"
>
<div
style=
"display: flex;justify-content: space-between;align-items: center;"
>
<p
class=
"sfd_tit clearfix"
><span>
单项签证单据配置
</span></p>
<p
class=
"sfd_tit clearfix"
><span>
单项签证单据配置
</span></p>
<div
style=
"text-align: right;"
>
<div
style=
"text-align: right;"
>
<input
type=
"button"
class=
"normalBtn"
value=
"新增单项签证单据配置"
@
click=
"addNew()"
>
<input
type=
"button"
class=
"normalBtn"
value=
"新增单项签证单据配置"
@
click=
"addNew()"
>
</div>
</div>
</div>
<table
v-loading=
"loadingVisa"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
</div>
<thead>
<table
v-loading=
"loadingVisa"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<thead>
<th>
类型
</th>
<tr>
<th>
费用类型
</th>
<th>
类型
</th>
<th>
是否启用月结
</th>
<th>
费用类型
</th>
<th>
总公司流程
</th>
<th>
是否启用月结
</th>
<th>
分公司流程
</th>
<th>
总公司流程
</th>
<th>
月结总公司流程
</th>
<th>
分公司流程
</th>
<th>
月结分公司流程
</th>
<th>
月结总公司流程
</th>
<th>
操作人
</th>
<th>
月结分公司流程
</th>
<th>
操作
</th>
<th>
操作人
</th>
</tr>
<th>
操作
</th>
</thead>
</tr>
<
template
v-for=
"(subItem,subIndex) in visaDataList"
>
</thead>
<tr>
<
template
v-for=
"(subItem,subIndex) in visaDataList"
>
<td>
{{
subItem
.
SetUpTypeStr
}}
</td>
<tr>
<td
>
<td>
{{
subItem
.
SetUpTypeStr
}}
</td>
{{
subItem
.
ExpenseAccountStr
}}
<td>
</td>
{{
subItem
.
ExpenseAccountStr
}}
<td>
</td>
<span
style=
"color: red;"
v-if=
"subItem.IsMonthly"
>
启用
</span>
<td>
</td>
<span
style=
"color: red;"
v-if=
"subItem.IsMonthly"
>
启用
</span>
<td>
</td>
{{
subItem
.
CompanyCourseStr
}}
<td>
</td>
{{
subItem
.
CompanyCourseStr
}}
<td>
</td>
{{
subItem
.
BranchCourseStr
}}
<td>
</td>
{{
subItem
.
BranchCourseStr
}}
<td>
</td>
{{
subItem
.
MonthlyCourseStr
}}
<td>
</td>
{{
subItem
.
MonthlyCourseStr
}}
<td>
</td>
{{
subItem
.
BranchMonthlyCourseStr
}}
<td>
</td>
{{
subItem
.
BranchMonthlyCourseStr
}}
<td>
</td>
<p>
{{
subItem
.
CreateByStr
}}
</p>
<td>
<p>
{{
subItem
.
CreateDate
}}
</p>
<p>
{{
subItem
.
CreateByStr
}}
</p>
</td>
<p>
{{
subItem
.
CreateDate
}}
</p>
<td
v-if=
"S_CheckAllOrder"
>
</td>
<el-button-group
size=
'mini'
>
<td
v-if=
"S_CheckAllOrder"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑单项签证单据配置"
placement=
"top-start"
>
<el-button-group
size=
'mini'
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑单项签证单据配置"
placement=
"top-start"
>
@
click=
"isShowDIv = true,divTitle='编辑单项签证单据配置',getEdit(subItem)"
>
<el-button
type=
"primary"
icon=
"el-icon-edit"
</el-button>
@
click=
"isShowDIv = true,divTitle='编辑单项签证单据配置',getEdit(subItem)"
>
</el-tooltip>
</el-button>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
</el-tooltip>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"DeleteRules(subItem.Id)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
>
</el-button>
<el-button
type=
"danger"
icon=
"el-icon-delete"
@
click=
"DeleteRules(subItem.Id)"
>
</el-tooltip>
</el-button>
</el-button-group>
</el-tooltip>
</td>
</el-button-group>
</tr>
</td>
</
template
>
<tr
v-if=
"visaDataList.length==0"
>
<td
colspan=
"11"
align=
"center"
>
暂无数据
</td>
</tr>
</tr>
</
template
>
<tr
v-if=
"visaDataList.length==0"
>
<td
colspan=
"11"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
</table>
</div>
</div>
</div>
</div>
<el-dialog
:title=
"divTitle"
:visible
.
sync=
"showVisible"
width=
"970px"
@
close=
"close"
>
<el-dialog
:title=
"divTitle"
:visible
.
sync=
"showVisible"
width=
"970px"
@
close=
"close"
>
<el-form
ref=
"addMsg"
:model=
"addMsg"
:rules=
"rules"
label-width=
"90px"
>
<el-form
ref=
"addMsg"
:model=
"addMsg"
:rules=
"rules"
label-width=
"90px"
>
<
template
v-if=
"divTitle.indexOf('手配费')!=-1"
>
<
template
v-if=
"divTitle.indexOf('手配费')!=-1"
>
<el-row>
<el-row>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"名称"
prop=
"Name"
>
<el-form-item
label=
"名称"
prop=
"Name"
>
<el-input
type=
"text"
v-model=
"addMsg.Name"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.Name"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"付款对象"
prop=
"ClientID"
>
<el-form-item
label=
"付款对象"
prop=
"ClientID"
>
<el-select
filterable
v-model=
"addMsg.ClientID"
placeholder=
"选择付款对象"
style=
"width: 100%;"
>
<el-select
filterable
v-model=
"addMsg.ClientID"
placeholder=
"选择付款对象"
style=
"width: 100%;"
>
<el-option
v-for=
"item in ClientAccountList
"
<el-option
v-for=
"item in ClientAccountList"
:label=
"item.AccountAlias"
:value=
"item.ID
"
:label=
"item.AccountAlias"
:value=
"item.ID"
:key=
'item.ID'
>
:key=
'item.ID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"历史对象"
prop=
"ClientIdList"
>
<el-form-item
label=
"历史对象"
prop=
"ClientIdList"
>
<el-select
filterable
v-model=
"addMsg.ClientIdList"
multiple
collapse-tags
placeholder=
"历史对象"
style=
"width: 100%;"
>
<el-select
filterable
v-model=
"addMsg.ClientIdList"
multiple
collapse-tags
placeholder=
"历史对象"
<el-option
v-for=
"(item,index) in ClientAccountList"
:key=
"item.ID"
:label=
"item.AccountAlias"
:value=
"item.ID"
>
style=
"width: 100%;"
>
<el-option
v-for=
"(item,index) in ClientAccountList"
:key=
"item.ID"
:label=
"item.AccountAlias"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -184,8 +188,8 @@
...
@@ -184,8 +188,8 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"币种"
prop=
"CurrencyId"
>
<el-form-item
label=
"币种"
prop=
"CurrencyId"
>
<el-select
placeholder=
"选择币种"
<el-select
placeholder=
"选择币种"
v-model=
"addMsg.CurrencyId"
style=
"width: 100%;"
v-model=
"addMsg.CurrencyId"
style=
"width: 100%;"
@
change=
"getCurrent(addMsg.CurrencyId)"
>
@
change=
"getCurrent(addMsg.CurrencyId)"
>
<el-option
v-for=
"item in allCurrencyList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
"item in allCurrencyList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -196,44 +200,38 @@
...
@@ -196,44 +200,38 @@
<div
style=
"width: 100%;border-bottom: 1px solid #e2e2e2;padding-bottom: 10px;margin-top: 10px;"
<div
style=
"width: 100%;border-bottom: 1px solid #e2e2e2;padding-bottom: 10px;margin-top: 10px;"
v-for=
"(x,y) in addMsg.DetailList"
:key=
'y'
>
v-for=
"(x,y) in addMsg.DetailList"
:key=
'y'
>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;"
>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;"
>
<el-form-item
label=
"类型"
>
<el-form-item
label=
"类型"
>
<el-select
style=
"width: 80px;"
v-model=
"x.Type"
@
change=
"gettdName(x.Id,y,1)"
<el-select
style=
"width: 80px;"
v-model=
"x.Type"
@
change=
"gettdName(x.Id,y,1)"
clearable
disabled
>
clearable
disabled
>
<el-option
v-for=
"item in TypeListArr"
:key=
"item.Id"
:label=
"item.Name"
:disabled=
"item.disabled"
<el-option
v-for=
"item in TypeListArr"
:key=
"item.Id"
:label=
"item.Name"
:disabled=
"item.disabled"
:value=
"item.Id"
></el-option>
:value=
"item.Id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</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"
<el-input
style=
"width: 100px;"
type=
"Number"
v-model=
"x.Unit_Price"
label=
"金额"
>
@
keyup
.
native=
"checkPrice(x,'Unit_Price',true)"
>
<el-input
style=
"width: 100px;"
type=
"Number"
v-model=
"x.Unit_Price"
</el-input>
@
keyup
.
native=
"checkPrice(x,'Unit_Price',true)"
>
</el-form-item>
</el-input>
<el-form-item
:prop=
"'DetailList.'+ y +'.CostTypeId'"
:rules=
"productGroup.CostTypeId"
label=
"费用类型"
>
</el-form-item>
<el-select
filterable
v-model=
"x.CostTypeId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,2)"
<el-form-item
:prop=
"'DetailList.'+ y +'.CostTypeId'"
clearable
>
:rules=
"productGroup.CostTypeId"
label=
"费用类型"
>
<el-option
v-for=
"item in costType"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
></el-option>
<el-select
filterable
v-model=
"x.CostTypeId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,2)"
</el-select>
clearable
>
</el-form-item>
<el-option
v-for=
"item in costType"
:key=
"item.ID"
:label=
"item.Name"
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowZId'"
:rules=
"productGroup.FlowZId"
label=
"总部流程"
>
:value=
"item.ID"
></el-option>
<el-select
filterable
v-model=
"x.FlowZId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,3)"
</el-select>
clearable
>
</el-form-item>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowZId'"
</el-option>
:rules=
"productGroup.FlowZId"
label=
"总部流程"
>
</el-select>
<el-select
filterable
v-model=
"x.FlowZId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,3)"
</el-form-item>
clearable
>
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowFId'"
:rules=
"productGroup.FlowFId"
label=
"分部流程"
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
<el-select
filterable
v-model=
"x.FlowFId"
style=
"width: 100px;"
@
change=
"gettdName(x.Id,y,4)"
:value=
"item.Id"
></el-option>
clearable
>
</el-select>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-form-item>
</el-option>
<el-form-item
:prop=
"'DetailList.'+ y +'.FlowFId'"
</el-select>
:rules=
"productGroup.FlowFId"
label=
"分部流程"
>
</el-form-item>
<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-select>
</el-form-item>
<div>
<div>
<!--
<el-button
style=
"margin-left: 15px;padding: 6px;"
type=
"danger"
size=
"mini"
class=
"el-icon-delete"
circle
<!--
<el-button
style=
"margin-left: 15px;padding: 6px;"
type=
"danger"
size=
"mini"
class=
"el-icon-delete"
circle
v-if=
"addMsg.DetailList.length>1"
@
click=
"addMsg.DetailList.splice(y,1)"
>
v-if=
"addMsg.DetailList.length>1"
@
click=
"addMsg.DetailList.splice(y,1)"
>
...
@@ -246,299 +244,322 @@
...
@@ -246,299 +244,322 @@
<!--
<el-button
size=
"mini"
type=
"primary"
<!--
<el-button
size=
"mini"
type=
"primary"
class=
"el-icon-circle-plus-outline"
circle
@
click=
"addDetailList"
></el-button>
-->
class=
"el-icon-circle-plus-outline"
circle
@
click=
"addDetailList"
></el-button>
-->
</el-form-item>
</el-form-item>
</
template
>
</
template
>
<
template
v-if=
"divTitle.indexOf('配置')!=-1"
>
<
template
v-if=
"divTitle.indexOf('配置')!=-1"
>
<el-row
style=
"height: 100px;"
>
<el-row
style=
"height: 100px;"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"类型"
prop=
"SetUpType"
>
<el-form-item
label=
"类型"
prop=
"SetUpType"
>
<el-select
filterable
v-model=
"addMsg.SetUpType"
placeholder=
"选择类型"
style=
"width: 100%;"
<el-select
filterable
v-model=
"addMsg.SetUpType"
placeholder=
"选择类型"
style=
"width: 100%;"
clearable
>
clearable
>
<el-option
v-for=
"item in SetUpTypeList"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.Id"
>
<el-option
v-for=
"item in SetUpTypeList"
:key=
"item.ID"
:label=
"item.Name"
</el-option>
:value=
"item.Id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"费用类型"
prop=
"ExpenseAccount"
>
<el-form-item
label=
"费用类型"
prop=
"ExpenseAccount"
>
<el-select
filterable
v-model=
"addMsg.ExpenseAccount"
placeholder=
"选择费用类型"
style=
"width: 100%;"
<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
v-for=
"(item,index) in costType"
:key=
"index"
:label=
"item.Name"
:value=
'item.ID'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"总司流程"
prop=
"CompanyCourse"
>
<el-form-item
label=
"总司流程"
prop=
"CompanyCourse"
>
<el-select
filterable
v-model=
"addMsg.CompanyCourse"
placeholder=
"选择总公司流程"
style=
"width: 100%;"
>
<el-select
filterable
v-model=
"addMsg.CompanyCourse"
placeholder=
"选择总公司流程"
style=
"width: 100%;"
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"分司流程"
prop=
"BranchCourse"
>
<el-form-item
label=
"分司流程"
prop=
"BranchCourse"
>
<el-select
filterable
v-model=
"addMsg.BranchCourse"
placeholder=
"选择分公司流程"
style=
"width: 100%;"
>
<el-select
filterable
v-model=
"addMsg.BranchCourse"
placeholder=
"选择分公司流程"
style=
"width: 100%;"
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<template
v-if=
"addMsg.IsMonthly==1"
>
<template
v-if=
"addMsg.IsMonthly==1"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"月总流程"
prop=
"MonthlyCourse"
>
<el-form-item
label=
"月总流程"
prop=
"MonthlyCourse"
>
<el-select
filterable
v-model=
"addMsg.MonthlyCourse"
placeholder=
"选择月结总公司流程"
style=
"width: 100%;"
>
<el-select
filterable
v-model=
"addMsg.MonthlyCourse"
placeholder=
"选择月结总公司流程"
style=
"width: 100%;"
>
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
<el-option
v-for=
"item in TemplateGetList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
:value=
"item.Id"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"月分流程"
prop=
"BranchMonthlyCourse"
>
<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
v-for=
"item in TemplateGetList"
:label=
'item.Name'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</
template
>
</
template
>
<el-col
v-if=
"addMsg.IsMonthly==1"
:span=
"16"
>
<el-col
v-if=
"addMsg.IsMonthly==1"
:span=
"16"
>
<el-form-item
label=
""
prop=
""
>
<el-form-item
label=
""
prop=
""
>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"启用月结"
prop=
""
>
<el-form-item
label=
"启用月结"
prop=
""
>
<el-switch
<el-switch
v-model=
"addMsg.IsMonthly"
active-value=
"1"
inactive-value=
"0"
>
v-model=
"addMsg.IsMonthly"
</el-switch>
active-value=
"1"
</el-form-item>
inactive-value=
"0"
>
</el-col>
</el-switch>
</el-row>
</el-form-item>
</template>
</el-col>
</el-form>
</el-row>
<span
slot=
"footer"
class=
"dialog-footer"
>
</template>
<el-button
size=
"small"
@
click=
"showVisible = false"
>
取 消
</el-button>
</el-form>
<el-button
size=
"small"
type=
"danger"
@
click=
"submit('addMsg')"
:loading=
"submitLoading"
>
确 定
</el-button>
<span
slot=
"footer"
class=
"dialog-footer"
>
</span>
<el-button
size=
"small"
@
click=
"showVisible = false"
>
取 消
</el-button>
</el-dialog>
<el-button
size=
"small"
type=
"danger"
@
click=
"submit('addMsg')"
:loading=
"submitLoading"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
Vue
from
"vue"
;
import
Vue
from
"vue"
;
const
addobj
=
{
const
addobj
=
{
Id
:
0
,
Id
:
0
,
Name
:
''
,
Name
:
''
,
ClientID
:
null
,
ClientID
:
null
,
ClientIdList
:
[],
ClientIdList
:
[],
ClientIds
:
''
,
ClientIds
:
''
,
DetailList
:
[{
DetailList
:
[{
Type
:
1
,
Type
:
1
,
Unit_Price
:
null
,
Unit_Price
:
null
,
CostTypeId
:
null
,
CostTypeId
:
null
,
FlowZId
:
null
,
FlowZId
:
null
,
FlowFId
:
null
FlowFId
:
null
}],
}],
// 单项签证单据配置
// 单项签证单据配置
SetUpType
:
null
,
SetUpType
:
null
,
ExpenseAccount
:
null
,
ExpenseAccount
:
null
,
CompanyCourse
:
null
,
CompanyCourse
:
null
,
BranchCourse
:
null
,
BranchCourse
:
null
,
IsMonthly
:
null
,
IsMonthly
:
null
,
MonthlyCourse
:
null
,
MonthlyCourse
:
null
,
BranchMonthlyCourse
:
null
,
BranchMonthlyCourse
:
null
,
}
}
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
submitLoading
:
false
,
submitLoading
:
false
,
loadingVisa
:
false
,
loadingVisa
:
false
,
divTitle
:
''
,
divTitle
:
''
,
visaDataList
:[],
visaDataList
:
[],
costType
:
[],
costType
:
[],
TemplateGetList
:[],
TemplateGetList
:
[],
Details
:[],
Details
:
[],
S_CheckAllOrder
:
false
,
S_CheckAllOrder
:
false
,
CurrentNmae
:
''
,
CurrentNmae
:
''
,
//所有币种
//所有币种
allCurrencyList
:
[],
allCurrencyList
:
[],
companyList
:
[],
companyList
:
[],
getCompanyMsg
:
{
getCompanyMsg
:
{
RB_Group_Id
:
'0'
,
RB_Group_Id
:
'0'
,
Status
:
'0'
,
Status
:
'0'
,
},
msg
:
{
BranchId
:
-
1
,
},
loading
:
false
,
//加载层
DataList
:
[],
total
:
0
,
SetUpTypeList
:
[],
TypeListArr
:
[{
Name
:
'房'
,
Id
:
1
,
disabled
:
false
},
},
msg
:
{
{
BranchId
:
-
1
,
Name
:
'餐'
,
Id
:
2
,
disabled
:
false
},
},
loading
:
false
,
//加载层
{
DataList
:
[],
Name
:
'车'
,
total
:
0
,
Id
:
3
,
SetUpTypeList
:[],
disabled
:
false
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
,
//弹窗的显示
addMsg
:
Object
.
assign
({},
addobj
),
rules
:
{
Name
:
[{
required
:
true
,
message
:
'请输入名称'
,
trigger
:
'blur'
}],
ClientID
:
[{
required
:
true
,
message
:
'请选择付款对象'
,
trigger
:
'change'
}],
BranchId
:
[{
required
:
true
,
message
:
'请选择适配公司'
,
trigger
:
'change'
}],
CurrencyId
:
[{
required
:
true
,
message
:
'请选择币种'
,
trigger
:
'change'
}],
ClientIdList
:
[{
required
:
true
,
message
:
'请选择历史付款对象'
,
trigger
:
'change'
}],
SetUpType
:
[{
required
:
true
,
message
:
'请选择类型'
,
trigger
:
'change'
}],
ExpenseAccount
:
[{
required
:
true
,
message
:
'请选择费用类型'
,
trigger
:
'change'
}],
CompanyCourse
:
[{
required
:
true
,
message
:
'请选择总公司流程'
,
trigger
:
'change'
}],
BranchCourse
:
[{
required
:
true
,
message
:
'请选择分公司流程'
,
trigger
:
'change'
}],
MonthlyCourse
:
[{
required
:
true
,
message
:
'请选择月结总公司流程'
,
trigger
:
'change'
}],
BranchMonthlyCourse
:
[{
required
:
true
,
message
:
'请选择月结分公司流程'
,
trigger
:
'change'
}],
},
},
productGroupRules2
:{
{
Id
:
[{
Name
:
'门票'
,
required
:
true
,
Id
:
4
,
// message: '请选择人员',
disabled
:
false
trigger
:
'change'
}],
},
},
productGroup
:
{
{
Type
:
[{
Name
:
'房费送客手数料'
,
required
:
true
,
Id
:
5
,
message
:
'请选择类型'
,
disabled
:
false
trigger
:
'change'
}],
Unit_Price
:
[{
required
:
true
,
message
:
'金额不能为空'
,
trigger
:
'blur'
}],
CostTypeId
:
[{
required
:
true
,
message
:
'请选择费用类型'
,
trigger
:
'change'
}],
FlowZId
:
[{
required
:
true
,
message
:
'请选择总公司流程'
,
trigger
:
'change'
}],
FlowFId
:
[{
required
:
true
,
message
:
'请选择分公司流程'
,
trigger
:
'change'
}],
},
},
StencilFlowList
:[],
//签证制单流程
{
CostTypeList
:[],
//签证费用类型
Name
:
'餐费送客手数料'
,
};
Id
:
6
,
},
disabled
:
false
created
()
{
},
let
userInfo
=
this
.
getLocalStorage
();
{
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
Name
:
'门票送客手数料'
,
this
.
GetVisaSetUpList
()
Id
:
7
,
this
.
getList
()
disabled
:
false
this
.
getFKList
()
},
this
.
getCompany
()
],
//类型
this
.
getAllCurrency
()
ClientAccountList
:
[],
//付款对象
this
.
FinancialFlowTemplate_post_GetList
()
showVisible
:
false
,
//弹窗的显示
this
.
getTemplateCostTypeList
()
addMsg
:
Object
.
assign
({},
addobj
),
},
rules
:
{
methods
:
{
Name
:
[{
close
()
{
required
:
true
,
// 小技巧,直接给表单数据对象赋值为空
message
:
'请输入名称'
,
this
.
addMsg
=
{}
trigger
:
'blur'
// 清空表单校验
}],
this
.
$refs
.
addMsg
.
clearValidate
();
ClientID
:
[{
// 移除校验结果并重置字段值
required
:
true
,
this
.
$refs
[
"addMsg"
].
resetFields
();
message
:
'请选择付款对象'
,
trigger
:
'change'
}],
BranchId
:
[{
required
:
true
,
message
:
'请选择适配公司'
,
trigger
:
'change'
}],
CurrencyId
:
[{
required
:
true
,
message
:
'请选择币种'
,
trigger
:
'change'
}],
ClientIdList
:
[{
required
:
true
,
message
:
'请选择历史付款对象'
,
trigger
:
'change'
}],
SetUpType
:
[{
required
:
true
,
message
:
'请选择类型'
,
trigger
:
'change'
}],
ExpenseAccount
:
[{
required
:
true
,
message
:
'请选择费用类型'
,
trigger
:
'change'
}],
CompanyCourse
:
[{
required
:
true
,
message
:
'请选择总公司流程'
,
trigger
:
'change'
}],
BranchCourse
:
[{
required
:
true
,
message
:
'请选择分公司流程'
,
trigger
:
'change'
}],
MonthlyCourse
:
[{
required
:
true
,
message
:
'请选择月结总公司流程'
,
trigger
:
'change'
}],
BranchMonthlyCourse
:
[{
required
:
true
,
message
:
'请选择月结分公司流程'
,
trigger
:
'change'
}],
},
},
// 获取所有费用类型
productGroupRules2
:
{
getTemplateCostTypeList
(){
Id
:
[{
// 单项签证制单费用类型
required
:
true
,
// this.apipost('Financial_post_GetTemplateCostTypeList',{},res=>{
// message: '请选择人员',
// if(res.data.resultCode==1){
trigger
:
'change'
// this.CostTypeList=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
=>
{})
},
},
// 所有审核流程
productGroup
:
{
FinancialFlowTemplate_post_GetList
()
{
Type
:
[{
// 手配费流程
required
:
true
,
this
.
apipost
(
message
:
'请选择类型'
,
"FinancialFlowTemplate_post_GetSingleList"
,
trigger
:
'change'
{},
}],
res
=>
{
Unit_Price
:
[{
if
(
res
.
data
.
resultCode
==
1
)
{
required
:
true
,
this
.
TemplateGetList
=
res
.
data
.
data
;
message
:
'金额不能为空'
,
}
else
{
trigger
:
'blur'
}
}],
CostTypeId
:
[{
required
:
true
,
message
:
'请选择费用类型'
,
trigger
:
'change'
}],
FlowZId
:
[{
required
:
true
,
message
:
'请选择总公司流程'
,
trigger
:
'change'
}],
FlowFId
:
[{
required
:
true
,
message
:
'请选择分公司流程'
,
trigger
:
'change'
}],
},
StencilFlowList
:
[],
//签证制单流程
CostTypeList
:
[],
//签证费用类型
};
},
created
()
{
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团
this
.
GetVisaSetUpList
()
this
.
getList
()
this
.
getFKList
()
this
.
getCompany
()
this
.
getAllCurrency
()
this
.
FinancialFlowTemplate_post_GetList
()
this
.
getTemplateCostTypeList
()
},
methods
:
{
close
()
{
// 小技巧,直接给表单数据对象赋值为空
this
.
addMsg
=
{}
// 清空表单校验
this
.
$refs
.
addMsg
.
clearValidate
();
// 移除校验结果并重置字段值
this
.
$refs
[
"addMsg"
].
resetFields
();
},
// 获取所有费用类型
getTemplateCostTypeList
()
{
// 单项签证制单费用类型
// this.apipost('Financial_post_GetTemplateCostTypeList',{},res=>{
// if(res.data.resultCode==1){
// this.CostTypeList=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
=>
{})
},
// 所有审核流程
FinancialFlowTemplate_post_GetList
()
{
// 手配费流程
this
.
apipost
(
"FinancialFlowTemplate_post_GetSingleList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
TemplateGetList
=
res
.
data
.
data
;
}
else
{}
},
},
err
=>
{}
err
=>
{}
);
);
...
@@ -555,11 +576,11 @@
...
@@ -555,11 +576,11 @@
// err => {}
// err => {}
// );
// );
},
},
//获取历史详情
//获取历史详情
getDetails
(
index
,
type
)
{
getDetails
(
index
,
type
)
{
this
.
Details
=
type
==
1
?
this
.
DataList
[
index
].
HistoryClientList
:
this
.
DataList
[
index
].
DetailList
;
this
.
Details
=
type
==
1
?
this
.
DataList
[
index
].
HistoryClientList
:
this
.
DataList
[
index
].
DetailList
;
},
},
//获取当前下拉选中币种
//获取当前下拉选中币种
getCurrent
(
currencyId
)
{
getCurrent
(
currencyId
)
{
this
.
allCurrencyList
.
forEach
(
x
=>
{
this
.
allCurrencyList
.
forEach
(
x
=>
{
if
(
x
.
ID
==
currencyId
)
{
if
(
x
.
ID
==
currencyId
)
{
...
@@ -567,206 +588,200 @@
...
@@ -567,206 +588,200 @@
}
}
});
});
},
},
//获取所有币种
//获取所有币种
getAllCurrency
()
{
getAllCurrency
()
{
this
.
apipost
(
this
.
apipost
(
"financeinfo_post_GetList"
,
"financeinfo_post_GetList"
,
{},
{},
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
allCurrencyList
=
res
.
data
.
data
;
}
},
err
=>
{
}
);
},
//获取公司
getCompany
()
{
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
this
.
allCurrencyList
=
res
.
data
.
data
;
}
else
{}
}
},
err
=>
{})
},
},
err
=>
{}
handleCurrentChange
(
val
)
{
);
//翻页功能按钮
},
this
.
msg
.
pageIndex
=
val
;
//获取公司
this
.
getList
();
getCompany
()
{
},
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
getList
()
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
true
;
this
.
companyList
=
res
.
data
.
data
;
this
.
apipost
(
}
else
{}
"handfee_post_GetHandFeeList"
,
},
err
=>
{})
this
.
msg
,
},
res
=>
{
handleCurrentChange
(
val
)
{
this
.
loading
=
false
;
//翻页功能按钮
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
DataList
=
res
.
data
.
data
;
this
.
getList
();
// this.total = res.data.data.count;
},
}
getList
()
{
},
this
.
loading
=
true
;
err
=>
{}
this
.
apipost
(
);
"handfee_post_GetHandFeeList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
res
.
data
.
data
;
// this.total = res.data.data.count;
}
},
err
=>
{}
);
},
},
GetVisaSetUpList
(){
GetVisaSetUpList
()
{
this
.
loadingVisa
=
true
this
.
loadingVisa
=
true
this
.
apipost
(
this
.
apipost
(
"Financial_post_GetVisaSetUpList"
,
"Financial_post_GetVisaSetUpList"
,
{},
{},
res
=>
{
res
=>
{
this
.
loadingVisa
=
false
;
this
.
loadingVisa
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
visaDataList
=
res
.
data
.
data
;
this
.
visaDataList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
gettdName
(
id
,
index
,
type
)
{
//获取团队类型名称
if
(
type
==
1
){
this
.
TypeListArr
.
map
(
x
=>
{
if
(
x
.
Id
==
id
)
{
this
.
addMsg
.
DetailList
[
index
].
Name
=
x
.
Name
;
return
false
}
})
}
}
},
},
err
=>
{}
//获取付款列表
);
getFKList
()
{
},
let
msg
=
{
gettdName
(
id
,
index
,
type
)
{
//获取团队类型名称
ID
:
0
,
if
(
type
==
1
)
{
Type
:
0
,
this
.
TypeListArr
.
map
(
x
=>
{
ObjID
:
0
,
if
(
x
.
Id
==
id
)
{
CardNum
:
''
this
.
addMsg
.
DetailList
[
index
].
Name
=
x
.
Name
;
return
false
}
}
this
.
apipost
(
})
"financeinfo_post_GetClientAccountList"
,
msg
,
}
res
=>
{
},
if
(
res
.
data
.
resultCode
==
1
)
{
//获取付款列表
this
.
ClientAccountList
=
res
.
data
.
data
;
getFKList
()
{
}
let
msg
=
{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
}
this
.
apipost
(
"financeinfo_post_GetClientAccountList"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ClientAccountList
=
res
.
data
.
data
;
}
}
);
},
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
=>
{
item
.
Unit_Price
=
Number
(
item
.
Unit_Price
)
})
this
.
addMsg
.
ClientIdList
=
data
.
ClientIds
.
split
(
','
).
map
(
Number
)
}
}
this
.
addMsg
=
Object
.
assign
({},
this
.
addMsg
)
);
if
(
!
type
){
},
this
.
addMsg
.
SetUpType
=
String
(
row
.
SetUpType
)
getEdit
(
row
,
type
)
{
//修改
this
.
addMsg
.
IsMonthly
=
String
(
row
.
IsMonthly
)
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
addMsg
.
MonthlyCourse
=
row
.
MonthlyCourse
?
row
.
MonthlyCourse
:
null
this
.
addMsg
=
data
this
.
addMsg
.
BranchMonthlyCourse
=
row
.
BranchMonthlyCourse
?
row
.
BranchMonthlyCourse
:
null
if
(
type
==
1
)
{
}
this
.
addMsg
.
DetailList
.
forEach
(
item
=>
{
this
.
showVisible
=
true
;
item
.
Unit_Price
=
Number
(
item
.
Unit_Price
)
},
})
DeleteRules
(
ID
,
type
)
{
//删除
this
.
addMsg
.
ClientIdList
=
data
.
ClientIds
.
split
(
','
).
map
(
Number
)
let
text
}
let
cmd
this
.
addMsg
=
Object
.
assign
({},
this
.
addMsg
)
if
(
type
==
1
){
if
(
!
type
)
{
text
=
'是否删除手配费单据配置'
this
.
addMsg
.
SetUpType
=
String
(
row
.
SetUpType
)
cmd
=
'handfee_post_DelHandFee'
this
.
addMsg
.
IsMonthly
=
String
(
row
.
IsMonthly
)
}
else
{
this
.
addMsg
.
MonthlyCourse
=
row
.
MonthlyCourse
?
row
.
MonthlyCourse
:
null
text
=
'是否删除单项签证单据配置'
this
.
addMsg
.
BranchMonthlyCourse
=
row
.
BranchMonthlyCourse
?
row
.
BranchMonthlyCourse
:
null
cmd
=
'Financial_post_DelVisaSetUp'
}
}
this
.
showVisible
=
true
;
this
.
$confirm
(
text
,
"提示"
,
{
},
confirmButtonText
:
"确定"
,
DeleteRules
(
ID
,
type
)
{
//删除
cancelButtonText
:
"取消"
,
let
text
type
:
"warning"
let
cmd
})
if
(
type
==
1
)
{
.
then
(()
=>
{
text
=
'是否删除手配费单据配置'
this
.
apipost
(
cmd
,
{
cmd
=
'handfee_post_DelHandFee'
Id
:
ID
}
else
{
},
res
=>
{
text
=
'是否删除单项签证单据配置'
if
(
res
.
data
.
resultCode
==
1
)
{
cmd
=
'Financial_post_DelVisaSetUp'
this
.
Success
(
res
.
data
.
message
)
}
if
(
type
==
1
){
this
.
$confirm
(
text
,
"提示"
,
{
this
.
getList
()
confirmButtonText
:
"确定"
,
}
else
{
cancelButtonText
:
"取消"
,
this
.
GetVisaSetUpList
()
type
:
"warning"
}
})
.
then
(()
=>
{
this
.
apipost
(
cmd
,
{
Id
:
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
if
(
type
==
1
)
{
this
.
getList
()
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
GetVisaSetUpList
(
)
}
}
})
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
})
})
.
catch
(()
=>
{});
})
},
.
catch
(()
=>
{});
addNew
(
type
)
{
//新增
},
this
.
addMsg
=
{
addNew
(
type
)
{
//新增
Id
:
0
,
this
.
addMsg
=
{
Name
:
''
,
Id
:
0
,
ClientID
:
null
,
Name
:
''
,
ClientIdList
:[],
ClientID
:
null
,
ClientIds
:
''
,
ClientIdList
:
[],
DetailList
:
[{
ClientIds
:
''
,
Type
:
1
,
DetailList
:
[{
Unit_Price
:
null
,
Type
:
1
,
CostTypeId
:
null
,
Unit_Price
:
null
,
FlowZId
:
null
,
CostTypeId
:
null
,
FlowFId
:
null
FlowZId
:
null
,
}],
FlowFId
:
null
}],
// 单项签证单据配置
// 单项签证单据配置
SetUpType
:
null
,
SetUpType
:
null
,
ExpenseAccount
:
null
,
ExpenseAccount
:
null
,
CompanyCourse
:
null
,
CompanyCourse
:
null
,
BranchCourse
:
null
,
BranchCourse
:
null
,
IsMonthly
:
null
,
IsMonthly
:
null
,
MonthlyCourse
:
null
,
MonthlyCourse
:
null
,
BranchMonthlyCourse
:
null
,
BranchMonthlyCourse
:
null
,
}
}
this
.
divTitle
=
type
==
1
?
'新增手配费'
:
'新增单项签证单据配置'
this
.
divTitle
=
type
==
1
?
'新增手配费'
:
'新增单项签证单据配置'
this
.
showVisible
=
true
;
this
.
showVisible
=
true
;
this
.
addDetailList
()
this
.
addDetailList
()
},
},
addDetailList
()
{
//新增类型
addDetailList
()
{
//新增类型
// let isdisabled = false
// let isdisabled = false
// let isdisabledXHS = false
// let isdisabledXHS = false
for
(
let
i
=
2
;
i
<
8
;
i
++
){
for
(
let
i
=
2
;
i
<
8
;
i
++
)
{
let
obj
=
{
let
obj
=
{
Type
:
i
,
Type
:
i
,
Unit_Price
:
null
,
Unit_Price
:
null
,
CostTypeId
:
null
,
CostTypeId
:
null
,
FlowZId
:
null
,
FlowZId
:
null
,
FlowFId
:
null
FlowFId
:
null
}
this
.
addMsg
.
DetailList
.
push
(
obj
)
}
},
submit
(
formName
)
{
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=-
1
){
this
.
addMsg
.
ClientIds
=
this
.
addMsg
.
ClientIdList
.
join
(
','
)
}
}
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
addMsg
.
DetailList
.
push
(
obj
)
if
(
valid
)
{
}
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=-
1
){
},
let
addMsg
=
{
submit
(
formName
)
{
Id
:
this
.
addMsg
.
Id
,
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=
-
1
)
{
Name
:
this
.
addMsg
.
Name
,
this
.
addMsg
.
ClientIds
=
this
.
addMsg
.
ClientIdList
.
join
(
','
)
ClientID
:
this
.
addMsg
.
ClientID
,
}
ClientIdList
:
this
.
addMsg
.
ClientIdList
,
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
ClientIds
:
this
.
addMsg
.
ClientIds
,
if
(
valid
)
{
DetailList
:
this
.
addMsg
.
DetailList
,
if
(
this
.
divTitle
.
indexOf
(
'手配费'
)
!=
-
1
)
{
BranchId
:
this
.
addMsg
.
BranchId
,
let
addMsg
=
{
CurrencyId
:
this
.
addMsg
.
CurrencyId
,
Id
:
this
.
addMsg
.
Id
,
}
Name
:
this
.
addMsg
.
Name
,
this
.
submitLoading
=
true
ClientID
:
this
.
addMsg
.
ClientID
,
this
.
apipost
(
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
(
'handfee_post_SetHandFeeInfo'
,
addMsg
,
'handfee_post_SetHandFeeInfo'
,
addMsg
,
res
=>
{
res
=>
{
this
.
submitLoading
=
false
this
.
submitLoading
=
false
...
@@ -776,24 +791,24 @@
...
@@ -776,24 +791,24 @@
this
.
Success
(
res
.
data
.
message
)
this
.
Success
(
res
.
data
.
message
)
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
}
}
},
},
err
=>
{}
err
=>
{}
)
)
}
else
{
}
else
{
let
addMsg
=
{
let
addMsg
=
{
Id
:
this
.
addMsg
.
Id
,
Id
:
this
.
addMsg
.
Id
,
SetUpType
:
this
.
addMsg
.
SetUpType
,
SetUpType
:
this
.
addMsg
.
SetUpType
,
ExpenseAccount
:
this
.
addMsg
.
ExpenseAccount
,
ExpenseAccount
:
this
.
addMsg
.
ExpenseAccount
,
CompanyCourse
:
this
.
addMsg
.
CompanyCourse
,
CompanyCourse
:
this
.
addMsg
.
CompanyCourse
,
BranchCourse
:
this
.
addMsg
.
BranchCourse
,
BranchCourse
:
this
.
addMsg
.
BranchCourse
,
IsMonthly
:
this
.
addMsg
.
IsMonthly
,
IsMonthly
:
this
.
addMsg
.
IsMonthly
,
MonthlyCourse
:
this
.
addMsg
.
MonthlyCourse
,
MonthlyCourse
:
this
.
addMsg
.
MonthlyCourse
,
BranchMonthlyCourse
:
this
.
addMsg
.
BranchMonthlyCourse
,
BranchMonthlyCourse
:
this
.
addMsg
.
BranchMonthlyCourse
,
}
}
this
.
submitLoading
=
true
this
.
submitLoading
=
true
this
.
apipost
(
this
.
apipost
(
'Financial_post_SetVisaSetUp'
,
addMsg
,
'Financial_post_SetVisaSetUp'
,
addMsg
,
res
=>
{
res
=>
{
this
.
submitLoading
=
false
this
.
submitLoading
=
false
...
@@ -803,52 +818,56 @@
...
@@ -803,52 +818,56 @@
this
.
Success
(
res
.
data
.
message
)
this
.
Success
(
res
.
data
.
message
)
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
)
this
.
Error
(
res
.
data
.
message
)
}
}
},
},
err
=>
{}
err
=>
{}
)
)
}
}
}
});
},
}
});
},
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
},
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
mounted
()
{
if
(
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
){
let
userInfo
=
this
.
getLocalStorage
();
this
.
S_CheckAllOrder
=
true
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
}
if
(
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
if
(
!
this
.
S_CheckAllOrder
){
this
.
S_CheckAllOrder
=
true
this
.
msg
.
BranchId
=
userInfo
.
RB_Group_id
}
}
if
(
!
this
.
S_CheckAllOrder
)
{
this
.
msg
.
BranchId
=
userInfo
.
RB_Group_id
}
}
};
}
};
</
script
>
<
style
scoped
>
@import
"../../../assets/css/cssReset.css"
;
</
script
>
/* .rule-box .el-select__tags{
<
style
scoped
>
@import
"../../../assets/css/cssReset.css"
;
/* .rule-box .el-select__tags{
top: 100%;
top: 100%;
} */
} */
.domesticCommissionRule
.query-box
input
{
.domesticCommissionRule
.query-box
input
{
height
:
34px
!important
;
height
:
34px
!important
;
}
}
.p-5
{
padding
:
5px
0
;
.p-5
{
}
padding
:
5px
0
;
/
deep
/
.el-tag--small
{
}
margin
:
0
2px
2px
;
padding
:
0
3px
;
/
deep
/
.el-tag--small
{
}
margin
:
0
2px
2px
;
.sfd_tit
{
padding
:
0
3px
;
border-left
:
3px
solid
#E95252
;
}
text-indent
:
10px
;
font-size
:
16px
;
.sfd_tit
{
line-height
:
30px
;
border-left
:
3px
solid
#E95252
;
margin
:
20px
0
10px
0
;
text-indent
:
10px
;
}
font-size
:
16px
;
line-height
:
30px
;
margin
:
20px
0
10px
0
;
}
</
style
>
</
style
>
src/components/SalesModule/groupTourOrder.vue
View file @
43466279
...
@@ -2144,6 +2144,7 @@
...
@@ -2144,6 +2144,7 @@
<span
class=
"RL-redType RL-remarkCon"
v-if=
"item.guestList.length > 0"
>
<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
v-for=
"childItem in item.guestList"
style=
"color: blue"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.visaType==1?'(个签)':''}}
</span>
<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
v-if=
"childItem.isApplyPhoto == 1"
style=
"color: red"
>
({{ $t("salesModule.Zhao") }})
</span>
</span>
</span>
<span
v-if=
"item.photoNum > 0"
>
({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
<span
v-if=
"item.photoNum > 0"
>
({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
43466279
...
@@ -2336,13 +2336,20 @@
...
@@ -2336,13 +2336,20 @@
IsLookOrder ||
IsLookOrder ||
isUpdateOrder)
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
v-if=
"item.photoNum > 0"
>
(照片一人 {{ item.photoNum }}份)
</span>
</span>
</span>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length > 0"
>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length > 0"
>
<span
class=
""
>
取消名单:
</span>
<span
class=
""
>
取消名单:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<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>
</span>
</p>
</p>
<span
style=
"display: block"
>
房间信息
<span
v-if=
"item.oneSex > 0"
<span
style=
"display: block"
>
房间信息
<span
v-if=
"item.oneSex > 0"
...
@@ -2885,13 +2892,21 @@
...
@@ -2885,13 +2892,21 @@
IsLookOrder ||
IsLookOrder ||
isUpdateOrder)
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
v-if=
"item.photoNum > 0"
>
(照片一人 {{ item.photoNum }}份)
</span>
</span>
</span>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length > 0"
>
<p
v-if=
"item.cancelGuestList && item.cancelGuestList.length > 0"
>
<span
class=
""
>
取消名单:
</span>
<span
class=
""
>
取消名单:
</span>
<span
class=
"RL-redType RL-remarkCon"
>
<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>
</span>
</p>
</p>
<span
style=
"display: block"
>
房间信息
<span
v-if=
"item.oneSex > 0"
<span
style=
"display: block"
>
房间信息
<span
v-if=
"item.oneSex > 0"
...
...
src/components/Ticketing/PassengerList.vue
View file @
43466279
...
@@ -426,7 +426,6 @@
...
@@ -426,7 +426,6 @@
this
.
msg
,
this
.
msg
,
res
=>
{
res
=>
{
this
.
QueryMsg
.
loading
=
false
;
this
.
QueryMsg
.
loading
=
false
;
console
.
log
(
"res"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
this
.
msg
.
total
=
res
.
data
.
data
.
count
;
this
.
QueryMsg
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
QueryMsg
.
dataList
=
res
.
data
.
data
.
pageData
;
...
...
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
43466279
...
@@ -2097,8 +2097,8 @@
...
@@ -2097,8 +2097,8 @@
<span
style=
"color: blue !important"
v-for=
"(childItem,childIndex) in item.GuestList"
:key=
"childIndex"
<span
style=
"color: blue !important"
v-for=
"(childItem,childIndex) in item.GuestList"
:key=
"childIndex"
@
click=
"goToPassenger(childItem, 2)"
>
{{ childItem.userName }}
<span
@
click=
"goToPassenger(childItem, 2)"
>
{{ childItem.userName }}
<span
style=
"color:#f56c6c"
>
{{childItem.VisaType==1?'(个签)':''}}
</span>
style=
"color:#f56c6c"
>
{{childItem.VisaType==1?'(个签)':''}}
</span>
<
!-- <
span style="color:#f56c6c">{{childItem.TicketOutTypeStr}}
<span
style=
"color:#f56c6c"
>
{{childItem.TicketOutTypeStr}}
</span>
-->
</span>
</span>
</span>
</p>
</p>
<p
v-if=
"item.CancelGuestList.length > 0"
>
<p
v-if=
"item.CancelGuestList.length > 0"
>
...
@@ -2638,8 +2638,8 @@
...
@@ -2638,8 +2638,8 @@
@
click=
"goToPassenger2(msg.TCID, fourthItem.OrderId, 2)"
>
{{
fourthItem
.
userName
}}
@
click=
"goToPassenger2(msg.TCID, fourthItem.OrderId, 2)"
>
{{
fourthItem
.
userName
}}
<span
style=
"color:#f56c6c"
>
{{
fourthItem
.
VisaType
==
1
?
'(个签)'
:
''
}}
<span
style=
"color:#f56c6c"
>
{{
fourthItem
.
VisaType
==
1
?
'(个签)'
:
''
}}
</span>
</span>
<
!--
<
span
style=
"color:#f56c6c"
>
{{
fourthItem
.
TicketOutTypeStr
}}
<span
style=
"color:#f56c6c"
>
{{
fourthItem
.
TicketOutTypeStr
}}
</span>
-->
</span>
</span>
</span>
</
template
>
</
template
>
</span>
</span>
...
...
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