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
7c585ec6
Commit
7c585ec6
authored
Jun 17, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收支冲抵
parent
627001a7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
587 additions
and
191 deletions
+587
-191
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+471
-104
FinancialDocumentsDetail.vue
src/components/FinancialModule/FinancialDocumentsDetail.vue
+34
-0
TeamBalancePayment.vue
...omponents/TravelManager/TravelList/TeamBalancePayment.vue
+82
-87
No files found.
src/components/FinancialModule/BasicDocuments.vue
View file @
7c585ec6
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/FinancialDocumentsDetail.vue
View file @
7c585ec6
...
...
@@ -528,6 +528,7 @@
<SaleOrderModule
v-if=
"OrderSource==10&&SourceID&&OrderID"
:SourceID=
'SourceID'
:OrderID=
'OrderID'
/>
<TicketFinace
v-if=
"OrderSource==4&&SourceID&&Callback&&ID"
:SourceID=
'SourceID'
:Callback=
'Callback'
:id=
'ID'
/>
<TicketingModule
v-if=
"OrderSource==9&&FrID&&ID"
:FrID=
'FrID'
:id=
'ID'
/>
<ChongDiPage
v-if=
"GetDetail.Type === 7 || isChongDi"
:dataList=
"ChongDiList"
:type=
"danjuType"
/>
</div>
<div
class=
"_tit _tit2 w890px"
>
...
...
@@ -784,6 +785,7 @@ import teamProductModule from "../commonPage/teamProductModule.vue";
import
TicketFinace
from
"../commonPage/TicketFinace.vue"
;
import
SaleOrderModule
from
"../commonPage/SaleOrderModule.vue"
;
import
TicketingModule
from
"../commonPage/TicketingModule.vue"
;
import
ChongDiPage
from
"../commonPage/ChongDiPage.vue"
;
import
myDJieBill
from
"./FinancialSubmodule/DjieMergeBillModule.vue"
;
export
default
{
data
(){
...
...
@@ -847,6 +849,9 @@ export default {
currentPage
:
1
,
total
:
0
,
},
isChongDi
:
false
,
ChongDiList
:
[],
danjuType
:
''
}
},
components
:{
'my-FlowChartModule'
:
myFlowChartModule
,
...
...
@@ -860,6 +865,7 @@ export default {
'SaleOrderModule'
:
SaleOrderModule
,
'TicketFinace'
:
TicketFinace
,
'myDJieBill'
:
myDJieBill
,
'ChongDiPage'
:
ChongDiPage
,
},
created
(){
this
.
ID
=
this
.
$route
.
query
.
id
;
...
...
@@ -867,6 +873,33 @@ export default {
let
userinfo
=
this
.
getLocalStorage
();
this
.
bossID
=
userinfo
.
EmployeeId
;
},
methods
:{
// 获取冲抵列表
getChongDiList
(
data
){
this
.
danjuType
=
data
.
Type
let
cmd
=
'Financial_post_GetHangingAccountList'
if
(
data
.
Type
===
7
){
cmd
=
'Financial_post_GetHangingMatchFinanceList'
}
this
.
apipost
(
cmd
,{
FrID
:
data
.
FrID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
this
.
ChongDiList
=
data
;
}
},
err
=>
{})
},
chongJudge
(
data
){
// 收支冲抵显示
let
p1
=
false
;
data
.
DetailList
.
map
(
item
=>
{
if
(
item
.
CostTypeName
===
'挂账单冲抵'
)
{
p1
=
true
}
})
if
(
p1
||
data
.
Type
===
7
)
{
this
.
isChongDi
=
true
;
this
.
getChongDiList
(
data
)
}
},
goUrl
(
path
,
id
)
{
this
.
$router
.
push
({
name
:
path
,
...
...
@@ -1193,6 +1226,7 @@ export default {
}
})
}
this
.
chongJudge
(
data
)
this
.
GetDetail
=
data
;
// 截取掉驳回后面的审核步骤
this
.
ZhiDanRen
=
this
.
GetDetail
.
CreatBy
;
...
...
src/components/TravelManager/TravelList/TeamBalancePayment.vue
View file @
7c585ec6
...
...
@@ -193,7 +193,6 @@
<div>
应收:
<span>
¥
{{
moneyFormat
(
moneyAll
.
otheryTotalyf
)
}}
</span></div>
<div>
实收:
<span
class=
"Team_Coins"
>
¥
{{
moneyFormat
(
moneyAll
.
otheryTotalsf
)
}}
</span></div>
<div>
待收:
<span
class=
"Team_Coins"
>
¥
{{
moneyFormat
(
moneyAll
.
otheryTotalyf
-
moneyAll
.
otheryTotalsf
)
}}
</span></div>
<div>
挂账总收入:
<span>
¥
{{
moneyFormat
(
AllCont
.
Income
)
}}
</span></div>
<!--
<div>
注:应收=订单应收总额,实收=订单实收总额
</div>
-->
...
...
@@ -211,7 +210,6 @@
<div>
应付:
<span>
¥
{{
DataList
.
TeamBalance
.
ShouldPay
}}
</span></div>
<div>
实付:
<span
class=
"Team_Coins"
>
¥
{{
DataList
.
TeamBalance
.
ActualPay
}}
</span></div>
<div>
待付:
<span
class=
"Team_Coins"
>
¥
{{
DataList
.
TeamBalance
.
WaitPay
}}
</span></div>
<div>
挂账总支出:
<span>
¥
{{
moneyFormat
(
AllCont
.
Expend
)
}}
</span></div>
<div>
注:成本单据总额(包含退款)+提成-小费收入-地接收入
</div>
...
...
@@ -251,20 +249,21 @@
<div>
联运成本:
<span>
¥{{DataList.LYCB}}
</span></div>
</div>
</el-col>
<
!-- <
el-col :span="4">
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
<span
class=
"Team_comCoinType Team_lirun"
>
<i
class=
"iconfont icon-qian"
></i>
</span>
挂账信息
</div>
<div class="Team_Incontent">
<div>挂账总金额:<span>¥{{moneyFormat(AllCont.Income - AllCont.Expend)}}</span></div>
<div>挂账总支出:<span>¥{{moneyFormat(AllCont.Expend)}}</span></div>
<div>挂账总收入:<span>¥{{moneyFormat(AllCont.Income)}}</span></div>
<div
class=
"Team_Incontent"
>
<div>
挂账总支出:
<span>
¥{{moneyFormat(DataList.TeamBalance.GZExpend)}}
</span></div>
<div>
挂账总收入:
<span>
¥{{moneyFormat(DataList.TeamBalance.GZIncome)}}
</span></div>
<div>
冲抵总支出:
<span>
¥{{moneyFormat(DataList.TeamBalance.CDExpend)}}
</span></div>
<div>
冲抵总收入:
<span>
¥{{moneyFormat(DataList.TeamBalance.CDIncome)}}
</span></div>
</div>
</div>
</el-col>
-->
</el-col>
<el-col
:span=
"4"
>
<div
class=
"Team_DList"
>
<div
class=
"Team_firstTitle"
>
...
...
@@ -1079,6 +1078,81 @@
</
template
>
</table>
</div>
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
挂账冲抵
</div>
</div>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
冲抵单据:
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
挂账金额
</th>
<th
width=
"500"
>
挂账类型
</th>
<th
width=
"500"
>
挂账对象
</th>
<th
width=
"500"
>
单据状态
</th>
<th
width=
"300"
>
创建时间
</th>
<th
width=
"200"
>
创建人
</th>
</tr>
<tr
v-for=
"item in DataList.CDList"
>
<td><span
class=
"Team_income"
@
click=
"goUrl('FinancialDocumentsDetail',item.FrID)"
>
{{item.FrID}}
</span></td>
<td>
<span>
{{item.Money}}
</span>
</td>
<td>
<span>
{{item.HangingAccountsTypeStr}}
</span>
</td>
<td>
<span>
{{item.RemitterName}}:{{item.AccountNumber}}
</span>
</td>
<td>
<span>
{{item.StatusStr}}
</span>
</td>
<td>
<span>
{{item.CreateDateStr}}
</span>
</td>
<td>
<span>
{{item.createByStr}}
</span>
</td>
</tr>
</table>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
挂账单据:
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
挂账金额
</th>
<th
width=
"500"
>
挂账类型
</th>
<th
width=
"500"
>
挂账对象
</th>
<th
width=
"500"
>
单据状态
</th>
<th
width=
"300"
>
创建时间
</th>
<th
width=
"200"
>
创建人
</th>
</tr>
<tr
v-for=
"item in DataList.GuaZhangList"
>
<td><span
class=
"Team_income"
@
click=
"goUrl('FinancialDocumentsDetail',item.FrID)"
>
{{item.FrID}}
</span></td>
<td>
<span>
{{item.Money}}
</span>
</td>
<td>
<span>
{{item.HangingAccountsTypeStr}}
</span>
</td>
<td>
<span>
{{item.RemitterName}}:{{item.AccountNumber}}
</span>
</td>
<td>
<span>
{{item.StatusStr}}
</span>
</td>
<td>
<span>
{{item.CreateDateStr}}
</span>
</td>
<td>
<span>
{{item.createByStr}}
</span>
</td>
</tr>
</table>
</div>
<div
class=
"Team_collection"
v-loading=
"loading"
>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
非成本
</div>
...
...
@@ -1250,43 +1324,6 @@
</tr>
</
template
>
</table>
<div
class=
"clearfix TB_PrintDiv"
>
<div
class=
"TB_comtitle TB-Title"
>
挂账单据:
</div>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
"180"
>
单号
</th>
<th
width=
"200"
>
挂账金额
</th>
<th
width=
"500"
>
挂账类型
</th>
<th
width=
"500"
>
挂账对象
</th>
<th
width=
"500"
>
单据状态
</th>
<th
width=
"300"
>
创建时间
</th>
<th
width=
"200"
>
创建人
</th>
</tr>
<tr
v-for=
"item in HangingList"
>
<td>
<span>
{{item.FrID}}
</span>
</td>
<td>
<span>
{{item.Money}}
</span>
</td>
<td>
<span>
{{item.HangingAccountsTypeStr}}
</span>
</td>
<td>
<span>
{{item.RemitterName}}:{{item.AccountNumber}}
</span>
</td>
<td>
<span>
{{item.StatusStr}}
</span>
</td>
<td>
<span>
{{item.CreateDateStr}}
</span>
</td>
<td>
<span>
{{item.createByStr}}
</span>
</td>
</tr>
</table>
</div>
</div>
<div
class=
"Team_BtnList"
v-if=
"IsHaveAuth"
>
...
...
@@ -1389,37 +1426,10 @@
otheryTotalyf
:
0
,
otheryTotalsf
:
0
,
},
AllCont
:
{
Income
:
0
,
Expend
:
0
,
},
HangingList
:
[],
};
},
methods
:
{
getAllCont
:
function
()
{
let
msg
=
{
TCID
:
this
.
TCID
,
// FrID: 0,
// UpdateBy: '-1',
// RB_Branch_Id: -1,
// RB_Depart_Id: -2,
// sDate: '',
// eDate: '',
// Status: '-1',
// sTradeDate: '',
// eTradeDate: '',
// EmployeeId: 0,
// ClientType: 0,
}
this
.
apipost
(
'Financial_post_GetHangingAccountTotalPrice'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
AllCont
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
null
)
},
//判断数组包含字符串
isExists
(
array
,
str
)
{
var
flag
=
false
;
...
...
@@ -1758,19 +1768,6 @@ this.moneyAll.otheryTotalsf+=item.PayMoney;
}
});
},
getHangingAccountByTCIDList
:
function
()
{
this
.
apipost
(
'Financial_post_GetHangingAccountByTCIDList'
,
{
TCID
:
this
.
TCID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
HangingList
=
res
.
data
.
data
}
},
err
=>
{}
)
},
//权限验证
checkHasAuth
()
{
// this.apipost(
...
...
@@ -1801,8 +1798,6 @@ this.moneyAll.otheryTotalsf+=item.PayMoney;
}
this
.
checkHasAuth
();
this
.
getList
();
this
.
getAllCont
();
this
.
getHangingAccountByTCIDList
();
}
};
...
...
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