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
30fb65ac
Commit
30fb65ac
authored
Aug 22, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
701bc1ce
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
724 additions
and
770 deletions
+724
-770
HandFeeQuery.vue
src/components/FinancialModule/HandFee/HandFeeQuery.vue
+37
-28
HandFeeStatistics.vue
src/components/FinancialModule/HandFee/HandFeeStatistics.vue
+687
-742
No files found.
src/components/FinancialModule/HandFee/HandFeeQuery.vue
View file @
30fb65ac
...
...
@@ -13,7 +13,6 @@
<el-col
:span=
"4"
>
<el-form-item
label=
"手配费公司:"
>
<el-select
filterable
v-model=
'msg.KingdeeBranchId'
:disabled=
"!isRB_Depart_Id"
class=
""
>
<!--
<el-option
:value=
"-1"
label=
"不限"
></el-option>
-->
<el-option
v-for=
'item in GetHandFeeList'
:label=
'item.BranchName'
:value=
'item.BranchId'
:key=
'item.BranchId'
>
</el-option>
...
...
@@ -22,7 +21,8 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"发团日期:"
>
<el-date-picker
class=
"h34"
v-model=
"missionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
<el-date-picker
class=
"h34"
v-model=
"missionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
@
input=
"getdatalist"
>
</el-date-picker>
</el-form-item>
</el-col>
...
...
@@ -36,10 +36,10 @@
</div>
<div
class=
"_fnDm_content"
v-loading=
'loading'
>
<el-table
ref=
"multipleTable"
:data=
"DataList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"FinanceId"
>
<el-table-column
prop=
""
label=
"公司"
width=
"1
2
0"
>
<el-table-column
prop=
""
label=
"公司"
width=
"1
5
0"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
BranchName
}}
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"团队信息"
width=
"
18
0"
>
<el-table-column
prop=
""
label=
"团队信息"
width=
"
20
0"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.OtherType==0"
>
{{
scope
.
row
.
TCNUM
}}
(
{{
scope
.
row
.
TCID
}}
)
...
...
@@ -49,49 +49,61 @@
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"类型"
width=
"1
2
0"
>
<el-table-column
prop=
""
label=
"类型"
width=
"1
8
0"
>
<
template
slot-scope=
"scope"
>
<template
v-for=
"(subItem,subIndex) in scope.row.CostTypeList"
>
<span
:key=
"subIndex"
>
{{
subItem
.
CostTypeName
}}
</span>
<br
:key=
"subIndex+10000"
/>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"数量"
width=
"1
2
0"
>
<el-table-column
prop=
""
label=
"数量"
width=
"1
5
0"
>
<
template
slot-scope=
"scope"
>
<template
v-for=
"(subItem,subIndex) in scope.row.CostTypeList"
>
<span
:key=
"subIndex"
>
{{
subItem
.
Number
}}
</span>
<br
:key=
"subIndex+20000"
/>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"酒店信息"
width=
"120"
>
<el-table-column
prop=
""
label=
"金额"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<template
v-for=
"(subItem,subIndex) in scope.row.CostTypeList"
>
<span
:key=
"subIndex"
>
{{
subItem
.
Money
}}
</span>
<br
:key=
"subIndex+30000"
/>
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"酒店信息"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.OtherType==0 && scope.row.HotelList&&scope.row.HotelList.length>0"
>
<el-popover
width=
"980"
trigger=
"click"
placement=
"right"
>
<commonHotelInfo
:HotelObj=
"scope.row.HotelList"
:showHotelObj=
"showHotelObj"
:TCID=
"scope.row.TCID"
:TCNUM=
"scope.row.TCNUM"
></commonHotelInfo>
<div
slot=
"reference"
style=
"cursor:pointer;"
>
酒店使用情况
</div>
</el-popover>
<template
v-for=
"(subItem,subIndex) in scope.row.HotelList"
>
<span
:key=
"subIndex+40000"
>
{{
subItem
.
UseDay
}}
<template
v-if=
"subItem.SubList&&subItem.SubList.length>0"
>
<template
v-for=
"(childItem) in subItem.SubList"
>
【
{{
childItem
.
NewHotelName
}}
】
</
template
>
</template>
</span>
<br
:key=
"subIndex+50000"
/>
</template>
</template>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"总金额"
width=
"1
2
0"
>
<el-table-column
prop=
""
label=
"总金额"
width=
"1
5
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
TotalMoney
}}
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</template>
<
script
>
import
commonHotelInfo
from
"../../commonPage/commonHotelInfo.vue"
;
export
default
{
data
()
{
return
{
...
...
@@ -121,10 +133,12 @@
created
()
{
let
sDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
1
)));
let
eDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
0
)));
sDate
=
'2023-07-01'
;
var
now
=
new
Date
();
var
firstDay
=
new
Date
(
now
.
getFullYear
(),
now
.
getMonth
(),
1
)
sDate
=
this
.
FormartDate
(
firstDay
);
//sDate = '2023-06-01'
this
.
missionDate
=
[
sDate
,
eDate
]
this
.
msg
.
QStartDate
=
sDate
;
this
.
msg
.
QEndDate
=
eDate
;
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
...
...
@@ -134,13 +148,12 @@
this
.
getHandFeeBranch
();
},
components
:
{
commonHotelInfo
,
},
mounted
()
{
},
methods
:
{
//获取手配费公司
getHandFeeBranch
()
{
this
.
apipost
(
...
...
@@ -165,19 +178,16 @@
);
},
getdatalist
()
{
console
.
log
(
"this.missionDate"
,
this
.
missionDate
)
if
(
this
.
missionDate
)
{
if
(
this
.
missionDate
&&
this
.
missionDate
.
length
==
2
)
{
this
.
msg
.
QStartDate
=
this
.
missionDate
[
0
];
this
.
msg
.
QEndDate
=
this
.
missionDate
[
1
];
}
this
.
loading
=
true
;
this
.
apipost
(
"Financial_post_GetJanpanHandFeeMonthBoard"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
console
.
log
(
"res"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
DataList
=
res
.
data
.
data
;
}
...
...
@@ -187,7 +197,6 @@
}
);
}
}
}
...
...
src/components/FinancialModule/HandFee/HandFeeStatistics.vue
View file @
30fb65ac
<
style
scoped
>
/
deep
/
.el-table
th
.el-table__cell
{
/
deep
/
.el-table
th
.el-table__cell
{
background-color
:
#E6E6E6
;
}
}
</
style
>
<
template
>
<
template
>
<div
class=
"page_RecPayQuery"
>
<div
class=
"query-box"
>
<el-form
class=
"_info_box clearfix"
label-width=
"110px"
>
<el-row
style=
"padding:15px 20px 0 0;"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"单号:"
>
<el-input
clearable
placeholder=
""
class=
""
v-model=
"msg.FrID"
@
keyup
.
native=
"checkInteger(msg,'FrID')"
></el-input>
<el-input
clearable
placeholder=
""
class=
""
v-model=
"msg.FrID"
@
keyup
.
native=
"checkInteger(msg,'FrID')"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"手配费公司:"
>
<el-select
filterable
v-model=
'msg.KingdeeBranchId'
:disabled=
"!isRB_Depart_Id"
class=
""
>
<!--
<el-option
:value=
"-1"
label=
"不限"
></el-option>
-->
<el-option
v-for=
'item in GetHandFeeList'
:label=
'item.BranchName'
:value=
'item.BranchId'
<el-select
filterable
v-model=
'msg.KingdeeBranchId'
:disabled=
"!isRB_Depart_Id"
class=
""
>
<el-option
v-for=
'item in GetHandFeeList'
:label=
'item.BranchName'
:value=
'item.BranchId'
:key=
'item.BranchId'
>
</el-option>
</el-select>
...
...
@@ -31,10 +29,7 @@
<el-form-item
label=
"公司:"
>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
>
<el-option
:value=
"-1"
label=
"不限"
></el-option>
<el-option
v-for=
'item in CompanyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
>
<el-option
v-for=
'item in CompanyList'
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -42,20 +37,18 @@
<el-col
:span=
"4"
>
<el-form-item
label=
"费用类型:"
>
<el-select
filterable
v-model=
'msg.CostTypeID'
>
<el-select
filterable
v-model=
'msg.CostTypeID'
>
<el-option
:value=
"0"
label=
"不限"
></el-option>
<el-option
v-for=
"item in GetCostTypeList"
:key=
"item.ID"
:value=
"item.ID"
:label=
"item.Name"
></el-option>
<el-option
v-for=
"item in GetCostTypeList"
:key=
"item.ID"
:value=
"item.ID"
:label=
"item.Name"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"付款对象:"
>
<el-select
filterable
v-model=
'msg.ClientID'
>
<el-select
filterable
v-model=
'msg.ClientID'
>
<el-option
value=
""
label=
"不限"
></el-option>
<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>
...
...
@@ -73,35 +66,24 @@
</el-select>
</el-form-item>
</el-col>
</el-col>
<template
v-if=
"heightQueryBox"
></
template
>
<el-col
:span=
"6"
>
<el-form-item
label=
"制单日期:"
>
<el-date-picker
class=
"h34"
@
change=
"timeAdd(1)"
v-model=
"productionDate"
type=
"daterange"
<el-date-picker
class=
"h34"
@
change=
"timeAdd(1)"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"交易日期:"
>
<el-date-picker
class=
"h34"
v-model=
"transactionDate"
@
change=
"timeAdd(3)"
type=
"daterange"
<el-date-picker
class=
"h34"
v-model=
"transactionDate"
@
change=
"timeAdd(3)"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"发团日期:"
>
<el-date-picker
class=
"h34"
v-model=
"missionDate"
@
change=
"timeAdd(4)"
type=
"daterange"
<el-date-picker
class=
"h34"
v-model=
"missionDate"
@
change=
"timeAdd(4)"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-form-item>
...
...
@@ -111,12 +93,10 @@
</el-form>
<ul
class=
"clearfix"
>
<li
class=
"hight_query"
>
<!-- <span>
<em @click.stop="heightQueryBox=!heightQueryBox">高级查询 <i class="iconfont icon-gengduo"></i></em>
</span> -->
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex()"
>
{{$t('pub.searchBtn')}}
</button>
<button
class=
"normalBtn"
@
click=
"DocumentMaking"
>
制单
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
导出
</button>
<button
class=
"normalBtn"
@
click=
"GoToDetails()"
>
明细查询
</button>
</li>
</ul>
</div>
...
...
@@ -139,10 +119,8 @@
<div
style=
"display: flex;flex-wrap: wrap;"
>
<span>
已选数据:
</span>
<
template
v-if=
"multipleSelection.length>0"
>
<el-tag
size=
"mini"
closable
style=
"margin-right: 5px;margin-bottom: 5px;"
v-for=
"(x,index) in multipleSelection"
:key=
"x.FinanceId"
@
close=
"handleClose([multipleSelection[index]])"
>
<el-tag
size=
"mini"
closable
style=
"margin-right: 5px;margin-bottom: 5px;"
v-for=
"(x,index) in multipleSelection"
:key=
"x.FinanceId"
@
close=
"handleClose([multipleSelection[index]])"
>
{{
x
.
FinanceId
}}
/
{{
x
.
CurrencyName
+
':'
+
x
.
OriginalMoney
}}
</el-tag>
</
template
>
...
...
@@ -155,99 +133,53 @@
</div>
</div>
<div
class=
"_fnDm_content"
v-loading=
'loading'
>
<el-table
ref=
"multipleTable"
:data=
"DataList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"FinanceId"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
:reserve-selection=
"true"
:selectable=
"selectable"
width=
"55"
>
<el-table
ref=
"multipleTable"
:data=
"DataList"
tooltip-effect=
"dark"
style=
"width: 100%"
row-key=
"FinanceId"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
:reserve-selection=
"true"
:selectable=
"selectable"
width=
"55"
>
</el-table-column>
<el-table-column
prop=
""
label=
"公司"
width=
"120"
>
<el-table-column
prop=
""
label=
"公司"
width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
BranchName
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"FinanceId"
label=
"单号"
width=
"80"
>
<el-table-column
prop=
"FinanceId"
label=
"单号"
width=
"80"
>
<
template
slot-scope=
"scope"
>
<span
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"openDetails(scope.row)"
>
{{
scope
.
row
.
FinanceId
}}
</span>
<span
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"openDetails(scope.row)"
>
{{
scope
.
row
.
FinanceId
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"CostTypeName"
label=
"费用类型"
>
<el-table-column
prop=
"CostTypeName"
label=
"费用类型"
>
</el-table-column>
<el-table-column
prop=
""
label=
"关联信息"
width=
"200"
>
<el-table-column
prop=
""
label=
"关联信息"
width=
"200"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.TCNUM"
>
{{
scope
.
row
.
TCNUM
}}
</
template
>
<
template
v-if=
"scope.row.TCID"
>
(
{{
scope
.
row
.
TCID
}}
)
</
template
>
<
template
v-if=
"!scope.row.TCNUM||!scope.row.TCID"
>
-
</
template
>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"付款对象"
show-overflow-tooltip
>
<el-table-column
prop=
""
label=
"付款对象"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
AccountNumber
}}
</p>
<!--
<p>
{{
scope
.
row
.
TradeDate
}}
</p>
-->
</
template
>
</el-table-column>
<el-table-column
prop=
"TradeDate"
label=
"交易日期"
show-overflow-tooltip
width=
"100"
>
<el-table-column
prop=
"TradeDate"
label=
"交易日期"
show-overflow-tooltip
width=
"100"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
TradeDate
?
scope
.
row
.
TradeDate
:
'-'
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"CurrencyName"
label=
"币种"
width=
"80"
>
<el-table-column
prop=
"CurrencyName"
label=
"币种"
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"OriginalMoney"
label=
"原币金额"
width=
"100"
>
<el-table-column
prop=
"OriginalMoney"
label=
"原币金额"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"Rate"
label=
"汇率"
width=
"80"
>
<el-table-column
prop=
"Rate"
label=
"汇率"
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"本位币金额"
width=
"100"
>
<el-table-column
prop=
"Money"
label=
"本位币金额"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
""
label=
"制单人员"
width=
"100"
>
<el-table-column
prop=
""
label=
"制单人员"
width=
"100"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
CreateByName
}}
<p>
{{
scope
.
row
.
CreateDate
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"Remark"
label=
"备注"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
""
label=
"状态"
>
<el-table-column
prop=
"Remark"
label=
"备注"
show-overflow-tooltip
></el-table-column>
<el-table-column
prop=
""
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Status==1"
style=
"color: red;"
>
审核中
</span>
<span
v-if=
"scope.row.Status==2"
style=
"color: #2BB87C;"
>
通过
</span>
...
...
@@ -256,19 +188,14 @@
<span
v-if=
"scope.row.Status==5"
style=
"color: #00C6FF"
>
出纳暂存
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"HandFeeFrId"
label=
"关联代付单"
width=
"120"
>
<el-table-column
prop=
"HandFeeFrId"
label=
"关联代付单"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.HandFeeFrId"
>
{{
scope
.
row
.
HandFeeFrId
}}
</
template
>
<p
v-else
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"isshezhiBox=true,shezhiMsg.FinanceId=scope.row.FinanceId"
>
设置关联
</p>
<p
v-else
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"isshezhiBox=true,shezhiMsg.FinanceId=scope.row.FinanceId"
>
设置关联
</p>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
"关联手配费收入单"
show-overflow-tooltip
width=
"150"
>
<el-table-column
prop=
""
label=
"关联手配费收入单"
show-overflow-tooltip
width=
"150"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
HandFeeIncomeFrId
?
scope
.
row
.
HandFeeIncomeFrId
:
'-'
}}
</
template
>
...
...
@@ -317,110 +244,110 @@
</div>
</template>
<
script
>
import
myBill
from
"../FinancialSubmodule/BillModule.vue"
;
import
myrbvBill
from
"../FinancialSubmodule/ReceivablesModule.vue"
;
import
myhrBill
from
"../FinancialSubmodule/MergeBillModule.vue"
;
import
Vue
from
'vue'
import
selectListData
from
"./components/selectListData"
;
export
default
{
data
(){
return
{
import
myBill
from
"../FinancialSubmodule/BillModule.vue"
;
import
myrbvBill
from
"../FinancialSubmodule/ReceivablesModule.vue"
;
import
myhrBill
from
"../FinancialSubmodule/MergeBillModule.vue"
;
import
Vue
from
'vue'
import
selectListData
from
"./components/selectListData"
;
export
default
{
data
()
{
return
{
showDialog
:
false
,
shezhiMsg
:
{
FinanceId
:
0
,
HandFeeFrId
:
null
shezhiMsg
:
{
FinanceId
:
0
,
HandFeeFrId
:
null
},
isshezhiBox
:
false
,
GetHandFeeList
:
[],
GetHandFeeList
:
[],
multipleSelection
:
[],
showID
:
false
,
active
:
1
,
userId
:
0
,
iszhidanBox
:
false
,
searchList
:
[],
ClientAccountList
:
[],
//付款对象
msg
:
{
FrID
:
''
,
CostTypeID
:
0
,
//费用类型ID
RB_Branch_Id
:
-
1
,
// 公司ID
sDate
:
''
,
//制单起始日期
eDate
:
''
,
sTradeDate
:
''
,
//交易起始日期
eTradeDate
:
''
,
QEndDate
:
''
,
//出团起始日期
QStartDate
:
''
,
ClientID
:
''
,
//付款对象ID
Status
:
'-1'
,
//状态
KingdeeBranchId
:
0
,
//当前登录人的公司
showID
:
false
,
active
:
1
,
userId
:
0
,
iszhidanBox
:
false
,
searchList
:
[],
ClientAccountList
:
[],
//付款对象
msg
:
{
FrID
:
''
,
CostTypeID
:
0
,
//费用类型ID
RB_Branch_Id
:
-
1
,
// 公司ID
sDate
:
''
,
//制单起始日期
eDate
:
''
,
sTradeDate
:
''
,
//交易起始日期
eTradeDate
:
''
,
QEndDate
:
''
,
//出团起始日期
QStartDate
:
''
,
ClientID
:
''
,
//付款对象ID
Status
:
'-1'
,
//状态
KingdeeBranchId
:
0
,
//当前登录人的公司
HandFeeFrId
:
0
},
isRB_Depart_Id
:
false
,
getCompanyMsg
:{
// 公司
RB_Group_Id
:
'0'
,
Status
:
'0'
,
},
getDepartmentMsg
:{
// 部门
RB_Group_Id
:
''
,
RB_Branch_Id
:
''
,
Status
:
0
,
ParentId
:
-
1
,
Tier
:
0
,
},
employeeMsg
:
{
// 员工
GroupId
:
''
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
},
zhuanMsg
:
{
AuditEmId
:
null
,
WorkFlowId
:
0
,
getCompanyMsg
:
{
// 公司
RB_Group_Id
:
'0'
,
Status
:
'0'
,
},
getDepartmentMsg
:
{
// 部门
RB_Group_Id
:
''
,
RB_Branch_Id
:
''
,
Status
:
0
,
ParentId
:
-
1
,
Tier
:
0
,
},
employeeMsg
:
{
// 员工
GroupId
:
''
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
},
zhuanMsg
:
{
AuditEmId
:
null
,
WorkFlowId
:
0
,
},
//转交信息
zhuanjiaoMsg
:
{
CreateBy
:
''
,
FrIDList
:
[]
},
DataList
:
[],
GetFinancLogList
:
[],
StatusList
:
[],
accountList
:
[],
CompanyList
:
[],
productionDate
:
[],
approvalDate
:
[],
transactionDate
:
[],
missionDate
:
[],
GetCostTypeList
:
[],
checkList
:
[],
checkAllList
:
[],
dateStart
:
''
,
dateEnd
:
''
,
dateArr
:
''
,
status
:
'1'
,
type
:
'1'
,
loading
:
false
,
LogLoading
:
false
,
currentPage
:
1
,
total
:
0
,
totalYB
:
0
,
totalBW
:
0
,
totalBW2
:
0
,
totalZD
:
0
,
totalBWZD
:
0
,
ChineseStr
:
''
,
mathNumber
:
''
,
DepartIDs
:
''
,
zhuanjiaoMsg
:
{
CreateBy
:
''
,
FrIDList
:
[]
},
DataList
:
[],
GetFinancLogList
:
[],
StatusList
:
[],
accountList
:
[],
CompanyList
:
[],
productionDate
:
[],
approvalDate
:
[],
transactionDate
:
[],
missionDate
:
[],
GetCostTypeList
:
[],
checkList
:
[],
checkAllList
:
[],
dateStart
:
''
,
dateEnd
:
''
,
dateArr
:
''
,
status
:
'1'
,
type
:
'1'
,
loading
:
false
,
LogLoading
:
false
,
currentPage
:
1
,
total
:
0
,
totalYB
:
0
,
totalBW
:
0
,
totalBW2
:
0
,
totalZD
:
0
,
totalBWZD
:
0
,
ChineseStr
:
''
,
mathNumber
:
''
,
DepartIDs
:
''
,
tableData
:
[],
heightQueryBox
:
false
,
heightQueryBox
:
false
,
BillMakingMsg
:
{
OtherType
:
0
,
StandardCurrencyName
:
""
,
Money
:
0
,
IsUploadPic
:
1
,
},
rules
:{
rules
:
{
HandFeeFrId
:
[{
required
:
true
,
message
:
'请输入关联手配费单号'
,
...
...
@@ -429,53 +356,60 @@ export default {
}
}
},
created
(){
if
(
this
.
$route
.
query
.
FrID
)
{
created
()
{
if
(
this
.
$route
.
query
.
FrID
)
{
this
.
msg
.
FrID
=
this
.
$route
.
query
.
FrID
;
}
if
(
this
.
$route
.
query
.
HandFeeFrId
)
{
if
(
this
.
$route
.
query
.
HandFeeFrId
)
{
this
.
msg
.
HandFeeFrId
=
this
.
$route
.
query
.
HandFeeFrId
}
else
{
let
sDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
1
)));
let
eDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
0
)));
this
.
productionDate
=
[
sDate
,
eDate
]
this
.
msg
.
sDate
=
sDate
;
this
.
msg
.
eDate
=
eDate
;
}
else
{
let
sDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
1
)));
let
eDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
0
)));
this
.
productionDate
=
[
sDate
,
eDate
]
this
.
msg
.
sDate
=
sDate
;
this
.
msg
.
eDate
=
eDate
;
}
},
components
:
{
"my-Bill"
:
myBill
,
"my-RVB-Bill"
:
myrbvBill
,
"my-RVB-Bill"
:
myrbvBill
,
selectListData
},
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
if
(
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
)
{
this
.
isRB_Depart_Id
=
true
}
this
.
getCompanyMsg
.
RB_Group_Id
=
this
.
employeeMsg
.
GroupId
=
this
.
getDepartmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getCompanyMsg
.
RB_Group_Id
=
this
.
employeeMsg
.
GroupId
=
this
.
getDepartmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
DepartIDs
=
userInfo
.
RB_Department_Id
;
this
.
userId
=
userInfo
.
EmployeeId
;
this
.
financeinfo_post_GetCostTypeList
();
this
.
getCompanyList
();
//获取公司列表
this
.
getCompanyList
();
//获取公司列表
this
.
FinancialFlowTemplate_post_GetStatusList
();
this
.
getFKList
()
//付款对象
this
.
GetHandFee
()
//手配费公司
this
.
getFKList
()
//付款对象
this
.
GetHandFee
()
//手配费公司
},
methods
:{
getMoney
(){
methods
:
{
//跳转到明细
GoToDetails
()
{
var
path
=
"/HandFeeQuery"
;
var
params
=
{};
this
.
OpenNewPage
(
path
,
params
)
},
getMoney
()
{
let
Money
=
0
let
totalZD
=
0
let
totalBWZD
=
0
this
.
multipleSelection
.
forEach
(
x
=>
{
totalZD
+=
(
x
.
OriginalMoney
*
100
)
totalBWZD
+=
(
x
.
Money
*
100
)
this
.
multipleSelection
.
forEach
(
x
=>
{
totalZD
+=
(
x
.
OriginalMoney
*
100
)
totalBWZD
+=
(
x
.
Money
*
100
)
})
this
.
totalZD
=
totalZD
/
100
this
.
totalBWZD
=
totalBWZD
/
100
this
.
totalZD
=
totalZD
/
100
this
.
totalBWZD
=
totalBWZD
/
100
},
handleClose
(
rows
){
handleClose
(
rows
)
{
if
(
rows
)
{
rows
.
forEach
(
row
=>
{
this
.
$refs
.
multipleTable
.
toggleRowSelection
(
row
);
...
...
@@ -496,46 +430,48 @@ export default {
});
},
// 设置手配费关联
setHandFeeFr
()
{
setHandFeeFr
()
{
this
.
$refs
[
'shezhiMsg'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
apipost
(
'Financial_post_SetFinanceHandFeeRelevance'
,
this
.
shezhiMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
apipost
(
'Financial_post_SetFinanceHandFeeRelevance'
,
this
.
shezhiMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
isshezhiBox
=
false
this
.
getPageList
()
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
err
=>
{})
}
else
{
return
false
;
}
});
},
DocumentMaking
(){
let
ids
=
this
.
multipleSelection
.
map
(
x
=>
{
return
x
.
FinanceId
})
if
(
ids
.
length
==
0
){
DocumentMaking
()
{
let
ids
=
this
.
multipleSelection
.
map
(
x
=>
{
return
x
.
FinanceId
})
if
(
ids
.
length
==
0
)
{
return
this
.
$message
.
error
(
'请勾选需要制单的数据'
);
}
this
.
getMoney
()
this
.
BillMakingMsg
.
Money
=
this
.
totalZD
this
.
iszhidanBox
=
true
this
.
apipost
(
'Financial_post_SetFinanceHandFeeCode'
,
{
this
.
apipost
(
'Financial_post_SetFinanceHandFeeCode'
,
{
FrIds
:
ids
.
join
(
','
)
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
BillMakingMsg
.
StandardCurrencyName
=
res
.
data
.
data
// this.showDialog = true
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
err
=>
{})
},
selectable
(
row
,
index
)
{
if
(
!
row
.
HandFeeIncomeFrId
)
{
if
(
!
row
.
HandFeeIncomeFrId
)
{
return
true
}
else
{
}
else
{
return
false
}
},
...
...
@@ -545,17 +481,18 @@ export default {
},
GetHandFee
()
{
this
.
apipost
(
"handfee_post_GetHandFeeList"
,
{
BranchId
:
-
1
},
"handfee_post_GetHandFeeList"
,
{
BranchId
:
-
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
GetHandFeeList
=
res
.
data
.
data
;
this
.
GetHandFeeList
.
forEach
(
x
=>
{
if
(
x
.
BranchId
==
this
.
msg
.
KingdeeBranchId
)
{
this
.
GetHandFeeList
.
forEach
(
x
=>
{
if
(
x
.
BranchId
==
this
.
msg
.
KingdeeBranchId
)
{
this
.
msg
.
KingdeeBranchId
=
x
.
BranchId
}
})
if
(
this
.
msg
.
KingdeeBranchId
<=
0
)
{
if
(
this
.
msg
.
KingdeeBranchId
<=
0
)
{
this
.
msg
.
KingdeeBranchId
=
this
.
GetHandFeeList
[
0
].
BranchId
}
this
.
getPageList
();
...
...
@@ -567,10 +504,10 @@ export default {
//获取付款列表
getFKList
()
{
let
msg
=
{
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
ID
:
0
,
Type
:
0
,
ObjID
:
0
,
CardNum
:
''
}
this
.
apipost
(
"financeinfo_post_GetClientAccountList"
,
msg
,
...
...
@@ -582,16 +519,16 @@ export default {
);
},
//设置转交
getMaking
()
{
getMaking
()
{
this
.
iszhidanBox
=
false
;
this
.
makeAdocument
(
1
)
},
// 制作单据
makeAdocument
(
num
,
StandardCurrencyName
)
{
makeAdocument
(
num
,
StandardCurrencyName
)
{
let
type
=
0
if
(
num
==
3
)
{
if
(
num
==
3
)
{
type
=
2
}
else
{
}
else
{
type
=
num
}
this
.
BillMakingMsg
.
OtherType
=
71
;
...
...
@@ -620,61 +557,63 @@ export default {
query
});
},
resetPageIndex
(){
// 重置页码
this
.
msg
.
pageIndex
=
1
;
resetPageIndex
()
{
// 重置页码
this
.
msg
.
pageIndex
=
1
;
this
.
currentPage
=
1
;
this
.
getPageList
()
},
getPageList
(){
// 获取列表数据
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_GetFinanceHandFeeList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
getPageList
()
{
// 获取列表数据
this
.
loading
=
true
;
this
.
apipost
(
'Financial_post_GetFinanceHandFeeList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
this
.
total
=
0
;
this
.
totalYB
=
0
this
.
totalBW
=
0
this
.
totalBW2
=
0
this
.
DataList
=
data
;
this
.
DataList
.
forEach
(
x
=>
{
this
.
totalYB
+=
x
.
OriginalMoney
if
(
x
.
HandFeeIncomeFrId
)
{
this
.
totalBW
+=
x
.
OriginalMoney
}
else
{
this
.
totalBW2
+=
x
.
OriginalMoney
}
this
.
total
+=
x
.
Money
this
.
DataList
.
forEach
(
x
=>
{
this
.
totalYB
+=
x
.
OriginalMoney
if
(
x
.
HandFeeIncomeFrId
)
{
this
.
totalBW
+=
x
.
OriginalMoney
}
else
{
this
.
totalBW2
+=
x
.
OriginalMoney
}
this
.
total
+=
x
.
Money
})
this
.
loading
=
false
;
}
else
{
this
.
loading
=
false
;
this
.
loading
=
false
;
}
else
{
this
.
loading
=
false
;
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
err
=>
{})
},
method5
()
{
let
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
))
let
userInfo
=
this
.
getLocalStorage
();
msg
.
EmployeeId
=
userInfo
.
EmployeeId
this
.
GetLocalFile
(
"Financial_post_GetFinanceHandFeeListToExcel"
,
msg
,
"手配费用单据.xls"
);
}
,
FinancialFlowTemplate_post_GetStatusList
(){
// 获取审核状态枚举
this
.
apipost
(
'FinancialFlowTemplate_post_GetStatusList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
GetLocalFile
(
"Financial_post_GetFinanceHandFeeListToExcel"
,
msg
,
"手配费用单据.xls"
);
}
,
FinancialFlowTemplate_post_GetStatusList
()
{
// 获取审核状态枚举
this
.
apipost
(
'FinancialFlowTemplate_post_GetStatusList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
StatusList
=
res
.
data
.
data
;
}
},
err
=>
{})
},
getAccountList
(
i
,
t
){
//收款账户
getAccountList
(
i
,
t
)
{
//收款账户
let
accountList
=
[];
if
(
t
==
1
){
// 银行
this
.
apipost
(
'bankaccount_post_GetList'
,{
TypeId
:
i
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
t
==
1
)
{
// 银行
this
.
apipost
(
'bankaccount_post_GetList'
,
{
TypeId
:
i
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
0
,
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
0
,
}
accountList
.
push
(
obj
)
})
...
...
@@ -682,21 +621,21 @@ export default {
}
},
err
=>
{})
}
if
(
t
==
2
){
//平台账户
if
(
t
==
2
)
{
//平台账户
let
msg
=
{
BackId
:
0
,
TypeId
:
i
,
BranchId
:
-
1
,
Alias
:
''
BackId
:
0
,
TypeId
:
i
,
BranchId
:
-
1
,
Alias
:
''
}
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
apipost
(
'BankAccount_post_GetPlatformList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
x
.
PlatformNo
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
x
.
PlatformNo
}
accountList
.
push
(
obj
)
})
...
...
@@ -704,20 +643,20 @@ export default {
}
},
err
=>
{})
}
if
(
t
==
3
)
{
//现金账户
if
(
t
==
3
)
{
//现金账户
let
msg
=
{
TypeId
:
i
,
BranchId
:
-
1
,
Alias
:
''
TypeId
:
i
,
BranchId
:
-
1
,
Alias
:
''
}
this
.
apipost
(
'BankAccount_post_GetCashAccountList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
apipost
(
'BankAccount_post_GetCashAccountList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
0
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
0
}
accountList
.
push
(
obj
)
})
...
...
@@ -725,20 +664,20 @@ export default {
}
},
err
=>
{})
}
if
(
t
==
4
)
{
//资金池账户
if
(
t
==
4
)
{
//资金池账户
let
msg
=
{
TypeId
:
i
,
BranchId
:
-
1
,
Alias
:
''
TypeId
:
i
,
BranchId
:
-
1
,
Alias
:
''
}
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
apipost
(
'BankAccount_post_GetCashPoolList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
let
obj
=
{
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
0
ID
:
x
.
ID
,
Name
:
x
.
Alias
,
Nom
:
0
}
accountList
.
push
(
obj
)
})
...
...
@@ -748,25 +687,29 @@ export default {
}
},
getCompanyList
()
{
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
getCompanyList
()
{
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CompanyList
=
res
.
data
.
data
;
}
else
{}
},
err
=>
{})
},
financeinfo_post_GetCostTypeList
(){
// 费用类型
this
.
apipost
(
'financeinfo_post_GetCostTypeList'
,{
Name
:
''
,
type
:
0
,
DepartIDs
:
this
.
DepartIDs
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
financeinfo_post_GetCostTypeList
()
{
// 费用类型
this
.
apipost
(
'financeinfo_post_GetCostTypeList'
,
{
Name
:
''
,
type
:
0
,
DepartIDs
:
this
.
DepartIDs
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
GetCostTypeList
=
res
.
data
.
data
;
}
else
{
}
else
{
}
},
err
=>
{})
},
err
=>
{})
},
timeAdd
(
t
){
// 日期格式
if
(
t
==
1
){
//制单日期
if
(
!
this
.
productionDate
)
{
timeAdd
(
t
)
{
// 日期格式
if
(
t
==
1
)
{
//制单日期
if
(
!
this
.
productionDate
)
{
this
.
msg
.
sDate
=
''
;
this
.
msg
.
eDate
=
''
;
return
...
...
@@ -774,16 +717,17 @@ export default {
this
.
msg
.
sDate
=
this
.
productionDate
[
0
];
this
.
msg
.
eDate
=
this
.
productionDate
[
1
];
}
if
(
t
==
2
){
//审批日期
if
(
!
this
.
approvalDate
)
{
if
(
t
==
2
)
{
//审批日期
if
(
!
this
.
approvalDate
)
{
this
.
dateStart
=
''
;
this
.
dateEnd
=
''
;
return
}
this
.
dateStart
=
this
.
approvalDate
[
0
];
this
.
dateEnd
=
this
.
approvalDate
[
1
];
}
if
(
t
==
3
){
//交易日期
if
(
!
this
.
transactionDate
){
}
if
(
t
==
3
)
{
//交易日期
if
(
!
this
.
transactionDate
)
{
this
.
msg
.
sTradeDate
=
''
;
this
.
msg
.
eTradeDate
=
''
;
return
...
...
@@ -791,8 +735,8 @@ export default {
this
.
msg
.
sTradeDate
=
this
.
transactionDate
[
0
];
this
.
msg
.
eTradeDate
=
this
.
transactionDate
[
1
];
}
if
(
t
==
4
){
//发团日期
if
(
!
this
.
missionDate
)
{
if
(
t
==
4
)
{
//发团日期
if
(
!
this
.
missionDate
)
{
this
.
dateStart
=
''
;
this
.
dateEnd
=
''
;
return
...
...
@@ -803,5 +747,6 @@ export default {
},
}
}
}
</
script
>
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