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
15a4679d
Commit
15a4679d
authored
May 26, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
a9d547d6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
149 additions
and
15 deletions
+149
-15
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+13
-5
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+61
-10
shouxufei.vue
src/components/FinancialModule/components/shouxufei.vue
+75
-0
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
15a4679d
...
...
@@ -1171,7 +1171,7 @@ input[type="number"] {
</div>
</
template
>
</el-dialog>
<el-dialog
title=
"修改单据手续费"
width=
"300px"
<
!-- <
el-dialog title="修改单据手续费" width="300px"
:visible.sync="transactionTax" center :before-close="closeChangeMachie">
<p style="font-size:12px;margin-bottom:10px;">交易手续费:</p>
<el-input v-model="transTax.Fee" placeholder="请输入内容"></el-input>
...
...
@@ -1179,7 +1179,12 @@ input[type="number"] {
<el-button class="hollowFixedBtn" @click="transactionTax=false">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="saveTransTaxMoney" :loading="transTax.loading">{{$t('pub.sureBtn')}}</el-button>
</div>
</el-dialog>
</el-dialog> -->
<
template
v-if=
"transactionTax"
>
<shouxufei
:transTax=
"transTax"
@
success=
"close(),resetPageIndex(),getPageList()"
@
close=
"close"
></shouxufei>
</
template
>
<el-dialog
title=
"修改付款对象"
width=
"300px"
:visible
.
sync=
"PaymentSync"
center
:before-close=
"closeChangeMachie"
>
<el-form
class=
"cdForm"
label-width=
"90px"
>
...
...
@@ -1319,6 +1324,7 @@ import myBill from "./FinancialSubmodule/BillModule.vue";
import
myrbvBill
from
"./FinancialSubmodule/ReceivablesModule.vue"
;
import
myhrBill
from
"./FinancialSubmodule/MergeBillModule.vue"
;
import
myGZBill
from
"./FinancialSubmodule/GZBillModule.vue"
;
import
shouxufei
from
"./components/shouxufei.vue"
;
export
default
{
data
()
{
return
{
...
...
@@ -1562,7 +1568,8 @@ export default {
"my-Bill"
:
myBill
,
"my-RVB-Bill"
:
myrbvBill
,
"my-HB-Bill"
:
myhrBill
,
"my-GZ-Bill"
:
myGZBill
"my-GZ-Bill"
:
myGZBill
,
shouxufei
},
mounted
()
{
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
...
...
@@ -2743,6 +2750,9 @@ export default {
});
}
},
close
(){
this
.
transactionTax
=
false
},
showjiaoyi
(
FrId
)
{
//弹出交易方式修改
this
.
apipost
(
...
...
@@ -2795,8 +2805,6 @@ export default {
},
showTranTax
(
fid
,
type
)
{
this
.
transTax
.
FrId
=
fid
;
this
.
transTax
.
loading
=
false
;
if
(
type
==
1
){
this
.
transTax
.
Fee
=
"0.00"
;
this
.
transactionTax
=
true
;
...
...
src/components/FinancialModule/RecPayQuery.vue
View file @
15a4679d
...
...
@@ -56,7 +56,7 @@
.icon-shenhebohui
{
color
:
#E95252
}
.icon-icon-zancun
{
color
:
#FF9C01
}
.zhuiClass
{
}
.singeRowTable
tr
:hover
{
background-color
:
white
}
._TradeWayList
{
padding
:
5px
10px
;
background-color
:
#EEEEEE
;
border-radius
:
4px
;
margin
:
10px
0
;
width
:
230px
}
...
...
@@ -329,7 +329,6 @@
:table-data=
"DataList"
:filter-method=
"filterMethod"
:row-height=
'100'
@
on-custom-comp=
"customCompFunc"
@
sort-change=
"sortChange"
multiple-sort
>
<!-- 多个排序 -->
...
...
@@ -340,7 +339,7 @@
:pageIndex='pageIndex' -->
<el-pagination
background
@
current-change=
"handleCurrentChanges"
layout=
"total,prev, pager, next, jumper"
:page-size=
"pageSize"
:total=
'total'
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
@@ -388,7 +387,7 @@
</el-select>
</p>
</div>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"hollowFixedBtn"
@
click=
"costmode=false"
>
{{$t('pub.cancelBtn')}}
</el-button>
...
...
@@ -424,12 +423,18 @@
<el-button
class=
"normalBtn"
type=
"primary"
@
click=
"preservetransactionHL()"
>
{{$t('pub.sureBtn')}}
</el-button>
</div>
</el-dialog>
<!-- 修改手续费 -->
<
template
v-if=
"transactionTax"
>
<shouxufei
:transTax=
"transTax"
@
success=
"close(),resetPageIndex(),getPageList()"
@
close=
"close"
></shouxufei>
</
template
>
</div>
</template>
<
script
>
import
myBill
from
"./FinancialSubmodule/BillModule.vue"
;
import
myrbvBill
from
"./FinancialSubmodule/ReceivablesModule.vue"
;
import
myhrBill
from
"./FinancialSubmodule/MergeBillModule.vue"
;
import
shouxufei
from
"./components/shouxufei.vue"
;
import
Vue
from
'vue'
// 自定义列组件
Vue
.
component
(
'table-BranchName'
,{
//查看操作按钮
...
...
@@ -490,7 +495,7 @@ Vue.component('table-operation',{ //查看操作按钮
</i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="转交" placement="top">
<i v-if="rowData.isExchange" style="width: 30px;
<i v-if="rowData.isExchange" style="width: 30px;
height: 30px;
display: inline-block;
color: white !important;
...
...
@@ -532,9 +537,25 @@ Vue.component('table-operation',{ //查看操作按钮
outline: none;" class="iconfont icon-money" v-if="F_Update_CurrencyRate==true && (rowData.Type==2 || rowData.Type==1)" @click="editRate(rowData)">
</i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="修改手续费" placement="top">
<i style="width: 30px;
height: 30px;
display: inline-block;
color: white !important;
border-radius: 50%;
text-align: center;
line-height: 30px;
margin-right: 10px;
cursor: pointer;
background-color: #47BF8C;
outline: none;" class="iconfont icon-money"
v-if="rowData.Type==1&&(istransaction == true || isJapanCommission == true)"
@click="editCommission(rowData)">
</i>
</el-tooltip>
</span>`
,
props
:{
rowData
:{
type
:
Object
},
...
...
@@ -548,7 +569,9 @@ Vue.component('table-operation',{ //查看操作按钮
data
(){
return
{
Finance_ExpenseType
:
false
,
F_Update_CurrencyRate
:
false
F_Update_CurrencyRate
:
false
,
istransaction
:
false
,
isJapanCommission
:
false
}
},
created
(){
...
...
@@ -561,6 +584,12 @@ Vue.component('table-operation',{ //查看操作按钮
if
(
ActionMenuCode
.
indexOf
(
'F_Update_CurrencyRate'
)
!=-
1
){
this
.
F_Update_CurrencyRate
=
true
;
}
if
(
ActionMenuCode
.
indexOf
(
"F_Trademodify"
)
!=
-
1
)
{
this
.
istransaction
=
true
;
}
if
(
userinfo
.
RB_Branch_id
==
1218
&&
ActionMenuCode
.
indexOf
(
'isJapanCommission'
)
!=-
1
){
this
.
isJapanCommission
=
true
;
}
},
methods
:{
goUrl
(
path
){
...
...
@@ -583,6 +612,9 @@ Vue.component('table-operation',{ //查看操作按钮
editRate
(
rowData
){
this
.
MsgBus
.
$emit
(
'showhuilv'
,
rowData
);
},
editCommission
(
rowData
){
this
.
MsgBus
.
$emit
(
'shouxufei'
,
rowData
);
},
}
})
Vue
.
component
(
'table-RecPay'
,{
//收支样式
...
...
@@ -602,7 +634,7 @@ Vue.component('table-RecPay',{ //收支样式
background-color: #2BB87C;
line-height: 16px;
border-radius: 4px;">
收入
收入
</span>
<span v-if="rowData.Type==5" style="display: inline-block;
padding: 2px 8px;
...
...
@@ -916,6 +948,14 @@ Vue.component('table-StatusStr',{ //单据状态
export
default
{
data
(){
return
{
transTax
:{
FrId
:
0
,
Fee
:
"0.0"
,
loading
:
false
,
ClientType
:
''
,
ClientID
:
''
},
transactionTax
:
false
,
showID
:
false
,
active
:
1
,
userId
:
0
,
...
...
@@ -1094,6 +1134,7 @@ export default {
},
components
:
{
"my-Bill"
:
myBill
,
"my-RVB-Bill"
:
myrbvBill
,
shouxufei
},
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
this
.
getCompanyMsg
.
RB_Group_Id
=
this
.
employeeMsg
.
GroupId
=
this
.
getDepartmentMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
...
...
@@ -1126,6 +1167,9 @@ export default {
that
.
MsgBus
.
$on
(
'showhuilv'
,
function
(
row
){
that
.
showhuilv
(
row
)
})
that
.
MsgBus
.
$on
(
'shouxufei'
,
function
(
row
){
that
.
shouxufei
(
row
)
})
},
methods
:{
customCompFunc
(
params
){
},
...
...
@@ -1175,7 +1219,7 @@ export default {
}
},
err
=>
{})
},
getPageList
(){
// 获取列表数据
getPageList
(){
// 获取列表数据
if
(
!
this
.
msg
.
ClientID
)
this
.
msg
.
ClientID
=
0
;
if
(
!
this
.
msg
.
ClientType
)
this
.
msg
.
ClientType
=
0
;
if
(
!
this
.
msg
.
CurrencyId
)
this
.
msg
.
CurrencyId
=
0
;
...
...
@@ -1403,7 +1447,7 @@ export default {
}
},
err
=>
{})
}
},
Financial_post_GetBranchAccountList
(){
//获取交易方式列表
this
.
apipost
(
'Financial_post_GetBranchAccountList'
,{},
res
=>
{
...
...
@@ -1562,6 +1606,13 @@ export default {
}
},
err
=>
{})
},
shouxufei
(
row
){
this
.
transTax
.
FrId
=
row
.
FrID
;
this
.
transactionTax
=
true
},
close
(){
this
.
transactionTax
=
false
},
showhuilv
(
row
){
this
.
apipost
(
'Financial_get_GetFinanceRate'
,
{
FinanceId
:
row
.
FrID
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/FinancialModule/components/shouxufei.vue
0 → 100644
View file @
15a4679d
<
template
>
<div>
<el-dialog
title=
"修改单据手续费"
width=
"300px"
:visible
.
sync=
"transactionTax"
center
@
close=
"close"
>
<p
style=
"font-size:12px;margin-bottom:10px;"
>
交易手续费:
</p>
<el-input
v-model=
"ObjData.Fee"
placeholder=
"请输入内容"
></el-input>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
class=
"hollowFixedBtn"
@
click=
"close"
>
{{
$t
(
'pub.cancelBtn'
)
}}
</el-button>
<el-button
class=
"normalBtn"
type=
"primary"
@
click=
"saveTransTaxMoney"
:loading=
"ObjData.loading"
>
{{
$t
(
'pub.sureBtn'
)
}}
</el-button>
</div>
</el-dialog>
</div>
</
template
>
<
script
>
export
default
{
props
:
[
'transTax'
],
data
()
{
return
{
transactionTax
:
true
,
ObjData
:{
FrId
:
0
,
Fee
:
"0.0"
,
loading
:
false
,
ClientType
:
''
,
ClientID
:
''
}
};
},
watch
:
{
transTax
:{
handler
(
val
,
oldval
)
{
this
.
ObjData
=
JSON
.
parse
(
JSON
.
stringify
(
val
))
},
deep
:
true
,
immediate
:
true
}
},
methods
:
{
saveTransTaxMoney
()
{
if
(
this
.
ObjData
.
loading
)
return
;
this
.
ObjData
.
loading
=
true
;
if
(
this
.
ObjData
.
Fee
&&
this
.
ObjData
.
Fee
!=
""
)
{
this
.
apipost
(
"Financial_post_UpdateFinanceFee"
,
{
FrId
:
this
.
ObjData
.
FrId
,
Fee
:
this
.
ObjData
.
Fee
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
"修改成功"
);
this
.
$emit
(
'success'
)
}
this
.
ObjData
.
loading
=
false
;
},
err
=>
{
this
.
ObjData
.
loading
=
false
;
}
);
}
else
{
this
.
ObjData
.
loading
=
false
;
this
.
$message
.
error
(
"请输入手续费"
);
}
},
close
(){
this
.
$emit
(
'close'
)
},
},
mounted
()
{
}
};
</
script
>
<
style
>
</
style
>
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