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
0c72514f
Commit
0c72514f
authored
Apr 17, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化手配费单据列表
parent
91330b0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
18 deletions
+28
-18
HandFeeStatistics.vue
src/components/FinancialModule/HandFee/HandFeeStatistics.vue
+26
-16
addFinancialDocumentsSPF.vue
src/components/FinancialModule/addFinancialDocumentsSPF.vue
+2
-2
No files found.
src/components/FinancialModule/HandFee/HandFeeStatistics.vue
View file @
0c72514f
...
...
@@ -168,7 +168,7 @@
</el-col>
</el-col>
<template
v-if=
"heightQueryBox"
>
<template
v-if=
"heightQueryBox"
>
</
template
>
<el-col
:span=
"6"
>
<el-form-item
label=
"制单日期:"
>
<el-date-picker
class=
"h34"
...
...
@@ -199,14 +199,14 @@
</el-date-picker>
</el-form-item>
</el-col>
</
template
>
</el-row>
</el-form>
<ul
class=
"clearfix"
>
<li
class=
"hight_query"
>
<span>
<
!-- <
span>
<em @click.stop="heightQueryBox=!heightQueryBox">高级查询 <i class="iconfont icon-gengduo"></i></em>
</span>
</span>
-->
<button
class=
"hollowFixedBtn"
@
click=
"getPageList()"
>
{{$t('pub.searchBtn')}}
</button>
<button
class=
"normalBtn"
@
click=
"DocumentMaking"
>
制单
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
导出
</button>
...
...
@@ -218,7 +218,10 @@
<span>
本位币总金额:
{{total.toFixed(2)}}
</span>
<span
style=
"margin-left: 15px;"
>
原币总金额:
<span
style=
"margin-left: 15px;"
>
待制单总金额:
{{totalBW2.toFixed(2)}}
</span>
<span
style=
"margin-left: 15px;"
>
已制单总金额:
{{totalBW.toFixed(2)}}
</span>
</div>
...
...
@@ -337,11 +340,9 @@
<el-dialog
custom-class=
'w400'
title=
"手配费制单"
:visible
.
sync=
"iszhidanBox"
center
>
<
template
>
<div
style=
"color: black;font-size: 17px;padding: 0 0 10px 10px;border-bottom: 1px solid #EBEEF5;"
>
<p>
本位币总金额:
{{
totalZD
.
toFixed
(
2
)
}}
</p>
<p>
已选中
{{
multipleSelection
.
length
}}
调数据
</p>
<p
style=
"margin-top: 15px;"
>
原币总金额:
{{
total
BW
ZD
.
toFixed
(
2
)
}}
{{
totalZD
.
toFixed
(
2
)
}}
</p>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
...
...
@@ -434,6 +435,7 @@ export default {
currentPage
:
1
,
total
:
0
,
totalBW
:
0
,
totalBW2
:
0
,
totalZD
:
0
,
totalBWZD
:
0
,
ChineseStr
:
''
,
...
...
@@ -454,6 +456,12 @@ export default {
}
if
(
this
.
$route
.
query
.
HandFeeFrId
){
this
.
msg
.
HandFeeFrId
=
this
.
$route
.
query
.
HandFeeFrId
}
else
{
let
sDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
31
)));
let
eDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
0
)));
this
.
productionDate
=
[
sDate
,
eDate
]
this
.
msg
.
sDate
=
sDate
;
this
.
msg
.
eDate
=
eDate
;
}
},
components
:
{
...
...
@@ -472,11 +480,7 @@ export default {
let
sDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
31
)));
let
eDate
=
this
.
FormartDate
(
new
Date
(
this
.
getBeforeDate
(
0
)));
this
.
productionDate
=
[
sDate
,
eDate
]
this
.
msg
.
sDate
=
sDate
;
this
.
msg
.
eDate
=
eDate
;
this
.
financeinfo_post_GetCostTypeList
();
this
.
getCompanyList
();
//获取公司列表
...
...
@@ -600,10 +604,16 @@ export default {
let
data
=
res
.
data
.
data
this
.
total
=
0
;
this
.
totalBW
=
0
this
.
totalBW2
=
0
this
.
DataList
=
data
;
this
.
DataList
.
forEach
(
x
=>
{
this
.
total
+=
x
.
OriginalMoney
this
.
totalBW
+=
x
.
Money
// this.total+=x.OriginalMoney
if
(
x
.
HandFeeIncomeFrId
){
this
.
totalBW
+=
x
.
Money
}
else
{
this
.
totalBW2
+=
x
.
Money
}
this
.
total
+=
x
.
Money
})
this
.
loading
=
false
;
}
else
{
...
...
src/components/FinancialModule/addFinancialDocumentsSPF.vue
View file @
0c72514f
...
...
@@ -805,7 +805,7 @@ export default {
this
.
chooseHandFee
()
}
else
{
this
.
msg
.
HandFeeList
=
null
this
.
msg
.
KingdeeBranchId
=
null
this
.
msg
.
KingdeeBranchId
=
0
}
},
// 获取当前手配费选项
...
...
@@ -815,7 +815,7 @@ export default {
let
HandFeeObj
=
this
.
HandFeeList
.
map
(
item
=>
{
if
(
item
.
BranchId
==
this
.
HandFee
.
BranchId
)
return
item
})
this
.
HandFeeDetail
=
HandFeeObj
[
0
]
this
.
HandFeeDetail
.
DetailList
.
forEach
(
x
=>
{
x
.
show
=
false
})
this
.
HandFeeDetail
&&
this
.
HandFeeDetail
.
DetailList
.
forEach
(
x
=>
{
x
.
show
=
false
})
let
numToFANG
=
0
let
numToCAN
=
0
let
numToCE
=
0
...
...
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