Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
9364c57f
Commit
9364c57f
authored
Apr 11, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8ed9416d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
3 deletions
+56
-3
index.js
src/api/finance/index.js
+11
-0
addReceivablesDocuments.vue
...es/financial/financalDocument/addReceivablesDocuments.vue
+45
-3
No files found.
src/api/finance/index.js
View file @
9364c57f
...
...
@@ -868,4 +868,15 @@ export function GetReserveClassBalanceSheet(data) {
method
:
'post'
,
data
});
}
/**
* 获取下拉数据
*/
export
function
GetFinanceIncomeFeeRate
(
data
)
{
return
request
({
url
:
'/Finance/GetFinanceIncomeFeeRate'
,
method
:
'post'
,
data
});
}
\ No newline at end of file
src/pages/financial/financalDocument/addReceivablesDocuments.vue
View file @
9364c57f
...
...
@@ -535,8 +535,15 @@
</tr>
<tr>
<td
colspan=
"1"
>
{{$t('fnc.shouxufei')}}
<br
/><span
class=
"_font_size12"
>
{{$t('fnc.khyuanbi')}}
</span></td>
<td
colspan=
"3"
><input
class=
"_border_b_1 w80"
type=
"number"
v-model=
"msg.OriginalFee"
@
change=
"countFee()"
></input></td>
<td
colspan=
"3"
>
<div
style=
"display:flex;"
>
<input
class=
"_border_b_1 w80"
type=
"number"
disabled
v-model=
"msg.OriginalFee"
@
change=
"countFee()"
></input>
<el-select
v-model=
"myRate"
class=
"w120"
@
change=
"getMyRateArr()"
>
<el-option
:label=
"x"
v-for=
"x in RateArr"
:value=
"x"
></el-option>
</el-select>
</div>
</td>
<td
colspan=
"1"
>
{{$t('fnc.shouxufei')}}
<br
/><span
class=
"_font_size12"
>
{{$t('fnc.khbweibi')}}
</span></td>
<td
colspan=
"3"
><span
class=
" w80"
type=
"number"
>
{{msg.Fee}}
</span></td>
</tr>
...
...
@@ -703,6 +710,7 @@
import
myFlowChartModule
from
"../components/FlowChartModule.vue"
;
import
TicketingModule
from
"../components/TicketingModule.vue"
;
import
{
getSchoolDropdown
}
from
'../../../api/school/index'
import
{
GetFinanceIncomeFeeRate
}
from
'../../../api/finance/index'
import
{
getDeptList
}
from
'../../../api/system/dept'
import
{
UploadSelfFile
...
...
@@ -858,6 +866,9 @@
},
costmode
:
true
,
iscopy
:
1
,
//是否是复制1是修改 2 为复制
myRate
:
0
,
//用于计算手续费
myTotal
:
0
,
RateArr
:[]
}
},
methods
:
{
...
...
@@ -1121,7 +1132,7 @@
})
}
})
if
(
this
.
bankType
==
13
||
this
.
bankType
==
21
)
{
if
(
this
.
bankType
==
13
)
{
this
.
apipost
(
'Financial_post_GetQRCodeServiceCharge'
,
{
AccountId
:
i
},
res
=>
{
...
...
@@ -1419,6 +1430,17 @@
this
.
$set
(
this
.
msg
.
detailList
,
i
,
this
.
msg
.
detailList
[
i
]);
},
addList
(
t
,
i
)
{
// 添加
console
.
log
(
'进入'
);
//计算总费用
this
.
myTotal
=
0
;
this
.
$nextTick
(()
=>
{
if
(
this
.
msg
.
detailList
.
length
>
0
){
this
.
msg
.
detailList
.
forEach
(
x
=>
{
this
.
myTotal
+=
x
.
bTotalPrice
})
this
.
getMyRateArr
();
}
})
this
.
edit
=
false
;
let
list
=
{};
if
(
t
==
2
&&
i
)
{
...
...
@@ -1850,6 +1872,25 @@
})
},
//获取下拉数据
getFeeRate
(){
GetFinanceIncomeFeeRate
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
RateArr
=
res
.
Data
.
split
(
','
);
this
.
RateArr
.
unshift
(
0
);
}
}).
catch
(()
=>
{
})
},
//改变事件
getMyRateArr
(){
if
(
this
.
myTotal
>
0
){
let
num
=
this
.
myRate
*
this
.
myTotal
;
this
.
msg
.
OriginalFee
=
num
.
toFixed
(
2
);
this
.
countFee
();
}
},
},
created
()
{
let
that
=
this
;
...
...
@@ -1890,6 +1931,7 @@
this
.
msg
.
Cmd
=
this
.
$route
.
query
.
Cmd
?
this
.
$route
.
query
.
Cmd
:
''
;
this
.
getCompany
();
this
.
getFeeRate
();
if
(
this
.
$route
.
query
.
edit
)
{
this
.
edit
=
this
.
$route
.
query
.
edit
;
this
.
msg
.
FrID
=
this
.
$route
.
query
.
FrID
;
...
...
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