Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
孙海亮
bims
Commits
26f2c014
Commit
26f2c014
authored
Jul 03, 2023
by
王安伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【商保系统】-回款管理-账单列表和已关联账单分tab展示支持搜索;回款单关联账单以及账单报表,增加备注列
parent
d3c07fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
21 deletions
+28
-21
collectionDetail.vue
src/views/verification/collectionDetail.vue
+28
-21
No files found.
src/views/verification/collectionDetail.vue
View file @
26f2c014
<
template
>
<
template
>
<div
ref=
"burt"
class=
"white_bg burt-container"
>
<div
ref=
"burt"
class=
"white_bg burt-container"
>
<Goback
title=
"回款详情"
/>
<Goback
ref=
"goback"
title=
"回款详情"
/>
<a-tabs
v-model=
"activeKey"
@
change=
"paneChange"
>
<a-tabs
v-model=
"activeKey"
@
change=
"paneChange"
>
<a-tab-pane
v-for=
"pane in panes"
:key=
"pane.key"
:tab=
"pane.title"
>
<a-tab-pane
v-for=
"pane in panes"
:key=
"pane.key"
:tab=
"pane.title"
>
<a-form-model
ref=
"form"
:model=
"form"
>
<a-form-model
ref=
"form"
:model=
"form"
>
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
</a-form-model>
</a-form-model>
<
template
v-if=
"activeKey === '1'"
>
<
template
v-if=
"activeKey === '1'"
>
<div
class=
"bill-content"
>
<div
class=
"bill-content"
>
<a-tabs
type=
"card"
v-model=
"activeKey1"
@
change=
"paneChange"
>
<a-tabs
type=
"card"
v-model=
"activeKey1"
>
<a-tab-pane
v-for=
"pane in panes1"
:key=
"pane.key"
:tab=
"pane.title"
>
<a-tab-pane
v-for=
"pane in panes1"
:key=
"pane.key"
:tab=
"pane.title"
>
<div>
<div>
<a-row
class=
"search-form"
>
<a-row
class=
"search-form"
>
...
@@ -204,7 +204,7 @@
...
@@ -204,7 +204,7 @@
<!-- table -->
<!-- table -->
<template
v-if=
"isEdit"
>
<template
v-if=
"isEdit"
>
<a-table
<a-table
class=
"table-content"
class=
"table-content
all-list
"
:columns=
"columns"
:columns=
"columns"
:data-source=
"dataList"
:data-source=
"dataList"
:scroll=
"
{ x: '100%', y: tableHeight }"
:scroll=
"
{ x: '100%', y: tableHeight }"
...
@@ -507,10 +507,10 @@ export default {
...
@@ -507,10 +507,10 @@ export default {
}
}
this
.
getData
();
this
.
getData
();
}
}
this
.
_getNewEOBList
();
},
},
mounted
()
{
mounted
()
{
this
.
calcTableHeight
();
this
.
calcTableHeight
();
this
.
_getNewEOBList
();
},
},
methods
:
{
methods
:
{
moment
,
moment
,
...
@@ -518,11 +518,16 @@ export default {
...
@@ -518,11 +518,16 @@ export default {
calcTableHeight
()
{
calcTableHeight
()
{
const
dom
=
this
.
$refs
.
burt
;
const
dom
=
this
.
$refs
.
burt
;
const
containterH
=
dom
.
clientHeight
;
const
containterH
=
dom
.
clientHeight
;
const
gobackH
=
document
.
querySelector
(
'
.back-container
'
).
clientHeight
;
console
.
log
(
gobackH
);
const
style
=
window
.
getComputedStyle
(
dom
,
null
);
const
style
=
window
.
getComputedStyle
(
dom
,
null
);
const
paddingT
=
parseFloat
(
style
.
getPropertyValue
(
'
padding-top
'
));
const
paddingT
=
parseFloat
(
style
.
getPropertyValue
(
'
padding-top
'
));
const
paddingB
=
parseFloat
(
style
.
getPropertyValue
(
'
padding-bottom
'
));
const
paddingB
=
parseFloat
(
style
.
getPropertyValue
(
'
padding-bottom
'
));
const
paddingSum
=
paddingT
+
paddingB
;
const
paddingSum
=
paddingT
+
paddingB
;
this
.
tableHeight
=
containterH
-
400
-
paddingSum
;
this
.
tableHeight
=
containterH
-
350
-
gobackH
-
paddingSum
;
// 设置每页展示条数
const
pageSize
=
Math
.
floor
((
this
.
tableHeight
-
10
)
/
32
);
this
.
$set
(
this
.
pagination
,
'
pageSize
'
,
pageSize
);
},
},
// 已关联账单表格行类名
// 已关联账单表格行类名
rowClassName
(
record
)
{
rowClassName
(
record
)
{
...
@@ -769,24 +774,23 @@ export default {
...
@@ -769,24 +774,23 @@ export default {
};
};
return
file
;
return
file
;
});
});
console
.
log
(
formData
);
//
this.$apis.SAVEBACKMONEY(formData).then((res) => {
this
.
$apis
.
SAVEBACKMONEY
(
formData
).
then
((
res
)
=>
{
//
if (res.returnCode == '0000') {
if
(
res
.
returnCode
==
'
0000
'
)
{
//
this.backMoneyNo = res.content;
this
.
backMoneyNo
=
res
.
content
;
//
this.savedStatus = true;
this
.
savedStatus
=
true
;
//
this.$message.success('成功');
this
.
$message
.
success
(
'
成功
'
);
//
this.selectedRowKeys = [];
this
.
selectedRowKeys
=
[];
//
this.getData();
this
.
getData
();
//
this._getNewEOBList();
this
.
_getNewEOBList
();
//
// this.$router.go(-1);
// this.$router.go(-1);
//
resolve();
resolve
();
//
} else {
}
else
{
//
this.$message.error(res.returnMsg);
this
.
$message
.
error
(
res
.
returnMsg
);
//
reject();
reject
();
//
}
}
//
});
});
});
});
},
},
...
@@ -903,6 +907,9 @@ export default {
...
@@ -903,6 +907,9 @@ export default {
padding-right: 12px;
padding-right: 12px;
.pagination {
.pagination {
margin-top: 10px;
margin-top: 10px;
::v-deep .jump-page {
height: 30px;
}
}
}
}
}
::v-deep .bill-form {
::v-deep .bill-form {
...
...
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