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
2ce9fa89
Commit
2ce9fa89
authored
Dec 02, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3ffe7277
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
9 deletions
+77
-9
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+77
-9
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
2ce9fa89
...
@@ -962,13 +962,17 @@ input[type="number"] {
...
@@ -962,13 +962,17 @@ input[type="number"] {
@
click=
"showjiaoyi(item.FrID)"
></i>
@
click=
"showjiaoyi(item.FrID)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
content=
"手续费设置"
placement=
"top"
v-if=
"active==2 && istransaction == true && item.Type==1"
>
<el-tooltip
class=
"item"
content=
"手续费设置"
placement=
"top"
v-if=
"active==2 && istransaction == true && item.Type==1"
>
<i
class=
"iconfont icon-zhifupeizhiguanli"
<i
class=
"iconfont icon-zhifupeizhiguanli"
@
click=
"showTranTax(item.FrID,'1')"
></i>
@
click=
"showTranTax(item.FrID,'1')"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
content=
"付款对象设置"
placement=
"top"
v-if=
"(active==2 || active==3)&& istransaction == true && item.Type==2"
>
<el-tooltip
class=
"item"
content=
"付款对象设置"
placement=
"top"
v-if=
"(active==2 || active==3)&& istransaction == true && item.Type==2"
>
<i
class=
"iconfont icon-zhifupeizhiguanli"
<i
class=
"iconfont icon-zhifupeizhiguanli"
@
click=
"showTranTax(item.FrID,'2')"
></i>
@
click=
"showTranTax(item.FrID,'2')"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
content=
"修改汇率"
placement=
"top"
v-if=
"(active==2 || active==3) && F_Update_CurrencyRate == true"
>
<i
class=
"iconfont icon-money"
style=
"background-color: #47BF8C;color: white;"
@
click=
"showhuilv(item)"
></i>
</el-tooltip>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -1246,7 +1250,35 @@ input[type="number"] {
...
@@ -1246,7 +1250,35 @@ input[type="number"] {
<button
class=
"normalBtn"
type=
"primary"
@
click=
"goUrlZD"
>
{{$t('pub.sureBtn')}}
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"goUrlZD"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 修改汇率 -->
<el-dialog
title=
"修改汇率"
width=
"400px"
:visible
.
sync=
"costmodeHL"
center
>
<
template
v-for=
'(x,y) in trabeListHL'
>
<el-form
label-width=
"110px"
style=
"padding: 5px 0;"
>
费用:
{{
x
.
CostTypeName
}}
</el-form>
<el-form
label-width=
"110px"
style=
"padding: 5px 0;"
>
币种:
{{
x
.
CurrencyName
}}
</el-form>
<el-form
label-width=
"110px"
style=
"padding: 5px 0;"
>
原币:
{{
x
.
OriginalMoney
}}
</el-form>
<el-form
label-width=
"110px"
style=
"padding: 5px 0;"
>
本位币:
{{
x
.
Money
}}
</el-form>
<el-form
label-width=
"110px"
style=
"padding: 5px 0;"
>
汇率:
<!--
<span
v-if=
"!bianjiShow"
>
{{
x
.
Rate
}}
</span>
-->
<el-input-number
v-model=
"x.Rate"
:min=
"0"
style=
"width: 240px;"
@
change=
"getRate"
></el-input-number>
<!--
<span
class=
"iconfont"
:class=
"
{'icon-bianji':!bianjiShow,'icon-quxiao1':bianjiShow}" @click="bianjiShow=!bianjiShow"
style="cursor: pointer;color: red;margin-left: 10px;font-size: 13px;">
</span>
-->
</el-form>
</
template
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"hollowFixedBtn"
@
click=
"costmodeHL=false"
>
{{$t('pub.cancelBtn')}}
</el-button>
<el-button
class=
"normalBtn"
type=
"primary"
@
click=
"preservetransactionHL()"
>
{{$t('pub.sureBtn')}}
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -1443,7 +1475,10 @@ export default {
...
@@ -1443,7 +1475,10 @@ export default {
ClientType
:
''
,
ClientType
:
''
,
ClientID
:
''
ClientID
:
''
},
},
PaymentSync
:
false
PaymentSync
:
false
,
F_Update_CurrencyRate
:
false
,
costmodeHL
:
false
,
trabeListHL
:[],
//修改费率下拉数据
};
};
},
},
created
()
{
created
()
{
...
@@ -1458,6 +1493,9 @@ export default {
...
@@ -1458,6 +1493,9 @@ export default {
if
(
ActionMenuCode
.
indexOf
(
"F_Trademodify"
)
!=
-
1
)
{
if
(
ActionMenuCode
.
indexOf
(
"F_Trademodify"
)
!=
-
1
)
{
this
.
istransaction
=
true
;
this
.
istransaction
=
true
;
}
}
if
(
ActionMenuCode
.
indexOf
(
'F_Update_CurrencyRate'
)
!=-
1
){
this
.
F_Update_CurrencyRate
=
true
;
}
if
(
this
.
$route
.
query
.
returnCode
)
{
if
(
this
.
$route
.
query
.
returnCode
)
{
this
.
active
=
this
.
$route
.
query
.
returnCode
;
this
.
active
=
this
.
$route
.
query
.
returnCode
;
this
.
msg
.
Conditon
=
this
.
$route
.
query
.
returnCode
;
this
.
msg
.
Conditon
=
this
.
$route
.
query
.
returnCode
;
...
@@ -1516,6 +1554,36 @@ export default {
...
@@ -1516,6 +1554,36 @@ export default {
this
.
czgetList
();
this
.
czgetList
();
},
},
methods
:
{
methods
:
{
getRate
(
value
){
return
this
.
moneyFormatB
(
value
)
},
preservetransactionHL
(){
//保存费率的修改
let
msg
=
[]
this
.
trabeListHL
.
forEach
(
x
=>
{
let
obj
=
{
FrId
:
x
.
FinanceId
,
Rate
:
this
.
moneyFormatB
(
x
.
Rate
),
}
msg
=
obj
})
this
.
apipost
(
'Financial_post_UpdateFinanceCurrencyRate'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
costmodeHL
=
false
this
.
getPageList
()
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
showhuilv
(
row
){
this
.
apipost
(
'Financial_get_GetFinanceRate'
,
{
FinanceId
:
row
.
FrID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
trabeListHL
=
res
.
data
.
data
this
.
costmodeHL
=
true
}
},
err
=>
{})
},
GetAuth
()
{
GetAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
F_Advance_Match
;
var
actionCode
=
this
.
$AuthCode
.
F_Advance_Match
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
...
...
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