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
073bba1a
Commit
073bba1a
authored
Jul 17, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ebac75ae
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
722 additions
and
12 deletions
+722
-12
fill.js
src/assets/common/lang/zhCN/fill.js
+7
-0
BankStatement.vue
...Module/BankStatementReconciliation/comm/BankStatement.vue
+624
-0
SubjectList.vue
...alModule/BankStatementReconciliation/comm/SubjectList.vue
+1
-7
index.vue
...nts/FinancialModule/BankStatementReconciliation/index.vue
+90
-5
No files found.
src/assets/common/lang/zhCN/fill.js
View file @
073bba1a
...
@@ -8169,6 +8169,13 @@ export const obj = {
...
@@ -8169,6 +8169,13 @@ export const obj = {
},
},
seeMySelfCompany
:
'只查看自己填写的公司信息'
,
seeMySelfCompany
:
'只查看自己填写的公司信息'
,
duizhnagkm
:
'对账科目'
,
duizhnagkm
:
'对账科目'
,
v103
:{
qichuyue
:
'期初余额'
,
xinzenliushuiu
:
'新增流水'
,
yinhangshouru
:
'银行收入'
,
yinhangzhichu
:
'银行支出'
,
liushui
:
'流水'
,
}
//#endregion
//#endregion
}
}
export
default
obj
;
export
default
obj
;
src/components/FinancialModule/BankStatementReconciliation/comm/BankStatement.vue
0 → 100644
View file @
073bba1a
This diff is collapsed.
Click to expand it.
src/components/FinancialModule/BankStatementReconciliation/comm/SubjectList.vue
View file @
073bba1a
...
@@ -47,13 +47,7 @@
...
@@ -47,13 +47,7 @@
watch
:
{
watch
:
{
obj
:
{
obj
:
{
handler
(
newValue
,
onldValue
)
{
handler
(
newValue
,
onldValue
)
{
this
.
queryObj
=
newValue
if
(
this
.
queryObj
.
tradeObj
){
this
.
tradeObj
=
JSON
.
parse
(
this
.
queryObj
.
tradeObj
)
}
if
(
this
.
queryObj
.
orderObj
){
this
.
tradeObj
=
JSON
.
parse
(
this
.
queryObj
.
orderObj
)
}
},
},
deep
:
true
,
deep
:
true
,
},
},
...
...
src/components/FinancialModule/BankStatementReconciliation/index.vue
View file @
073bba1a
...
@@ -128,8 +128,9 @@
...
@@ -128,8 +128,9 @@
<ul>
<ul>
<li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('objFill.duizhnagkm')+$t('ground.liebiao')"
@
click=
"isShow=true
"
/>
<input
v-if=
"SubjectList&&SubjectList.length>0"
type=
"button"
class=
"normalBtn"
:value=
"$t('objFill.v103.xinzenliushuiu')"
@
click=
"addBankStatement
"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('objFill.v101.FinancialModule.xinzengkem')"
@
click=
"isShowAdd=true"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('objFill.v101.FinancialModule.xinzengkem')"
@
click=
"isShowAdd=true"
/>
<input
type=
"button"
class=
"normalBtn"
:value=
"$t('objFill.duizhnagkm')+$t('ground.liebiao')"
@
click=
"isShow=true"
/>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -150,7 +151,10 @@
...
@@ -150,7 +151,10 @@
<
template
v-if=
"DateList&&DateList.length>0"
>
<
template
v-if=
"DateList&&DateList.length>0"
>
<el-table-column
v-for=
"(item,index) in DateList"
<el-table-column
v-for=
"(item,index) in DateList"
:key=
"index"
:key=
"index"
:label=
"String(item.StartDate)"
align=
"center"
>
align=
"center"
>
<template
#
header
>
<div
style=
"cursor: pointer;"
@
click=
"getTimeObj(item)"
>
{{
String
(
item
.
StartDate
)
}}
<i
style=
"color: #33B3FF"
class=
"el-icon-edit"
></i>
</div>
</
template
>
<el-table-column
:label=
"String(item.StartBalance)"
align=
"center"
>
<el-table-column
:label=
"String(item.StartBalance)"
align=
"center"
>
<el-table-column
prop=
"Income"
label=
"银行收入"
width=
"120"
align=
"center"
>
<el-table-column
prop=
"Income"
label=
"银行收入"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -196,14 +200,16 @@
...
@@ -196,14 +200,16 @@
</div>
</div>
<SubjectList
v-if=
"isShow"
@
changeData=
"changeData"
@
change=
"close"
></SubjectList>
<SubjectList
v-if=
"isShow"
@
changeData=
"changeData"
@
change=
"close"
></SubjectList>
<addSubject
v-if=
"isShowAdd"
:obj=
"addMsg"
@
changeData=
"changeData"
@
change=
"close"
></addSubject>
<addSubject
v-if=
"isShowAdd"
:obj=
"addMsg"
@
changeData=
"changeData"
@
change=
"close"
></addSubject>
<BankStatement
v-if=
"isShowBankSta"
:obj=
"BankStaObj"
@
changeData=
"changeDataBan"
@
change=
"isShowBankSta=false"
></BankStatement>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
moment
from
"moment"
import
moment
from
"moment"
import
SubjectList
from
'./comm/SubjectList.vue'
;
import
SubjectList
from
'./comm/SubjectList.vue'
;
import
addSubject
from
'./comm/addSubject.vue'
;
import
addSubject
from
'./comm/addSubject.vue'
;
import
BankStatement
from
'./comm/BankStatement.vue'
;
export
default
{
export
default
{
components
:
{
SubjectList
,
addSubject
},
components
:
{
SubjectList
,
addSubject
,
BankStatement
},
data
(){
data
(){
return
{
return
{
msg
:{
msg
:{
...
@@ -228,14 +234,29 @@ export default {
...
@@ -228,14 +234,29 @@ export default {
Status
:
0
,
Status
:
0
,
Name
:
''
,
Name
:
''
,
Sort
:
0
,
Sort
:
0
,
},
isShowBankSta
:
false
,
BankStaObj
:{
BankId
:
0
,
//银行ID
Date
:
''
,
// 日期
StartBalance
:
''
,
// 期初余额
Image
:
''
,
SubjectList
:[],
},
BanObj
:{
Id
:
0
,
SubjectId
:
0
,
//科目ID
SubjectName
:
''
,
Income
:
0
,
// 银行收入
Expenses
:
0
,
//银行支出
}
}
}
}
},
},
created
(){
created
(){
// let mon1= this.getBeforeDate(1, new Date().Format("yyyy-MM-dd"));
// let mon1= this.getBeforeDate(1, new Date().Format("yyyy-MM-dd"));
// let mon2= this.getBeforeDate(7, this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))
// let mon2= this.getBeforeDate(7, this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))
let
mon1
=
this
.
getBeforeDate
(
1
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
));
let
mon1
=
this
.
getBeforeDate
(
1
2
,
new
Date
().
Format
(
"yyyy-MM-dd"
));
let
mon2
=
this
.
getBeforeDate
(
1
5
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
let
mon2
=
this
.
getBeforeDate
(
1
6
,
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
"yyyy-MM-dd"
)))
this
.
titleStart
=
mon2
.
slice
(
5
,
7
)
>
9
?
mon2
.
slice
(
5
,
7
):
mon2
.
slice
(
6
,
7
)
this
.
titleStart
=
mon2
.
slice
(
5
,
7
)
>
9
?
mon2
.
slice
(
5
,
7
):
mon2
.
slice
(
6
,
7
)
this
.
titleEnd
=
mon1
.
slice
(
5
,
7
)
>
9
?
mon1
.
slice
(
5
,
7
):
mon1
.
slice
(
6
,
7
)
this
.
titleEnd
=
mon1
.
slice
(
5
,
7
)
>
9
?
mon1
.
slice
(
5
,
7
):
mon1
.
slice
(
6
,
7
)
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
productionDate
=
[
mon2
,
mon1
];
...
@@ -244,6 +265,70 @@ export default {
...
@@ -244,6 +265,70 @@ export default {
this
.
getList
();
this
.
getList
();
},
},
methods
:{
methods
:{
changeDataBan
(){
this
.
isShowBankSta
=
false
this
.
getList
();
},
addBankStatement
(){
this
.
BankStaObj
=
{
Id
:
0
,
BankId
:
this
.
msg
.
BankId
,
Date
:
''
,
StartBalance
:
0
,
Image
:
''
,
SubjectList
:
[],
}
this
.
SubjectList
.
forEach
((
x
,
index
)
=>
{
if
(
x
.
SubjectId
!=-
4
&&
x
.
SubjectId
!=-
5
&&
x
.
SubjectId
!=-
6
){
x
.
BalanceList
.
forEach
((
y
,
indexs
)
=>
{
if
(
indexs
==
0
){
let
BanObj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
BanObj
))
BanObj
=
{
SubjectId
:
x
.
SubjectId
,
//科目ID
SubjectName
:
x
.
Name
,
Income
:
0
,
// 银行收入
Expenses
:
0
,
//银行支出
}
this
.
BankStaObj
.
SubjectList
.
push
(
BanObj
)
}
})
}
})
this
.
isShowBankSta
=
true
},
getTimeObj
(
item
){
this
.
BankStaObj
=
{
Id
:
1
,
BankId
:
this
.
msg
.
BankId
,
Date
:
item
.
StartDate
,
StartBalance
:
item
.
StartBalance
,
Image
:
''
,
SubjectList
:
[],
}
this
.
SubjectList
.
forEach
(
x
=>
{
x
.
BalanceList
.
forEach
(
y
=>
{
if
(
y
.
StartDate
==
item
.
StartDate
){
console
.
log
(
y
.
Image
,
'-----------'
)
if
(
x
.
SubjectId
!=-
4
&&
x
.
SubjectId
!=-
5
&&
x
.
SubjectId
!=-
6
){
let
BanObj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
BanObj
))
BanObj
=
{
SubjectId
:
x
.
SubjectId
,
//科目ID
SubjectName
:
x
.
Name
,
Income
:
y
.
Income
,
// 银行收入
Expenses
:
y
.
Expenses
,
//银行支出
}
this
.
BankStaObj
.
SubjectList
.
push
(
BanObj
)
}
if
(
x
.
SubjectId
==-
6
)
{
this
.
BankStaObj
.
Image
=
y
.
Image
}
}
})
})
console
.
log
(
this
.
BankStaObj
,
'----------'
)
this
.
isShowBankSta
=
true
},
changeData
(){
changeData
(){
this
.
isShowAdd
=
false
this
.
isShowAdd
=
false
this
.
getList
();
this
.
getList
();
...
...
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