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
e9105a10
Commit
e9105a10
authored
Nov 01, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
73762235
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
ClientBankAccount.vue
...mponents/FinancialModule/components/ClientBankAccount.vue
+9
-10
No files found.
src/components/FinancialModule/components/ClientBankAccount.vue
View file @
e9105a10
...
...
@@ -250,15 +250,15 @@
</
template
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
CostTypeName
}}
</
template
>
<el-select
v-else
v-model=
"msg.
CostType
Id"
<el-select
v-else
v-model=
"msg.
RelevanceFr
Id"
@
change=
"getCostType"
:placeholder=
"$t('objFill.v101.FinancialModule.kemu')"
style=
"width: 100%;"
>
<el-option
v-for=
"item in scope.row.FDList"
:key=
"item.
CostTypeId
"
:key=
"item.
ID
"
:label=
"item.CostTypeName"
:value=
"item.
CostTypeId
"
>
:value=
"item.
ID
"
>
</el-option>
</el-select>
</template>
...
...
@@ -341,7 +341,7 @@
CostTypeId
:
null
,
Money
:
null
,
BaseFinanceId
:
null
,
//财务单据ID
RelevanceFrId
:
0
,
//单据明细ID
RelevanceFrId
:
null
,
//单据明细ID
CreateDate
:
''
,
//起始月份 (格式:yyyy-MM)
RelevanceFrId2
:
''
,
//月数 (表示摊销几个月)
FDList
:
''
,
...
...
@@ -374,8 +374,7 @@
},
methods
:
{
getCostType
(){
// let obj = this.FDList.filter(x=>{return x.CostTypeId==this.msg.CostTypeId})
let
obj
=
this
.
GetDetail
.
DetailList
.
filter
(
x
=>
{
return
x
.
CostTypeId
==
this
.
msg
.
CostTypeId
})
let
obj
=
this
.
GetDetail
.
DetailList
.
filter
(
x
=>
{
return
x
.
ID
==
this
.
msg
.
RelevanceFrId
})
this
.
msg
.
RelevanceFrId
=
obj
[
0
].
ID
this
.
msg
.
Money
=
obj
[
0
].
Money
},
...
...
@@ -384,7 +383,7 @@
CostTypeId
:
null
,
Money
:
null
,
BaseFinanceId
:
this
.
GetDetail
.
FrID
,
//财务单据ID
RelevanceFrId
:
0
,
//单据明细ID
RelevanceFrId
:
null
,
//单据明细ID
CreateDate
:
''
,
//起始月份 (格式:yyyy-MM)
RelevanceFrId2
:
''
,
//月数 (表示摊销几个月)
FDList
:
this
.
FDList
,
...
...
@@ -396,7 +395,7 @@
},
saveData
(){
let
msg
=
this
.
msg
if
(
!
msg
.
CostType
Id
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
RelevanceFr
Id
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
Money
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
CreateDate
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
RelevanceFrId2
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
...
...
@@ -417,7 +416,7 @@
addData
(){
if
(
this
.
tableData
.
length
>
0
){
let
msg
=
this
.
tableData
[
this
.
tableData
.
length
-
1
]
if
(
!
msg
.
CostType
Id
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
RelevanceFr
Id
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
Money
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
CreateDate
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
if
(
!
msg
.
RelevanceFrId2
)
return
this
.
$message
.
warning
(
this
.
$t
(
'objFill.v101.LeaderManagement.qingwancfentxx'
))
...
...
@@ -426,7 +425,7 @@
CostTypeId
:
null
,
Money
:
null
,
BaseFinanceId
:
this
.
GetDetail
.
FrID
,
//财务单据ID
RelevanceFrId
:
0
,
//单据明细ID
RelevanceFrId
:
null
,
//单据明细ID
CreateDate
:
''
,
//起始月份 (格式:yyyy-MM)
RelevanceFrId2
:
''
,
//月数 (表示摊销几个月)
FDList
:
this
.
FDList
,
...
...
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