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
a6a97b80
Commit
a6a97b80
authored
1 year ago
by
wangyongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回款金额不一致显示红色
parent
f1af715b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
collection.vue
src/views/verification/collection.vue
+8
-1
collectionDetail.vue
src/views/verification/collectionDetail.vue
+6
-0
No files found.
src/views/verification/collection.vue
View file @
a6a97b80
...
...
@@ -62,6 +62,11 @@
<a-input
v-model=
"form.backMoneyNo"
placeholder=
"回款编号"
/>
</a-form-model-item>
</a-col>
<a-col
:lg=
"6"
:sm=
"12"
>
<a-form-model-item
label=
"账单编号"
>
<a-input
v-model=
"form.receiptNo"
placeholder=
"账单编号"
/>
</a-form-model-item>
</a-col>
<a-col
:md=
"24"
class=
"none-label"
>
<a-form-model-item
label=
"button"
>
<a-button
class=
"mar-left10"
type=
"primary"
@
click=
"handlerSearch"
>
...
...
@@ -159,6 +164,7 @@ export default {
backStatus
:
"
0
"
,
backAmountCny
:
""
,
// 回款金额
backMoneyNo
:
""
,
// 回款编号
receiptNo
:
""
,
// 账单编号
},
dataList
:
[],
companyOptions
:
[],
//保险公司
...
...
@@ -196,7 +202,8 @@ export default {
dateRange
:
[],
//创建时间范围
startDate
:
""
,
endDate
:
""
,
backStatus
:
""
backStatus
:
"
0
"
,
receiptNo
:
""
,
// 账单编号
};
},
// 获取保险公司下拉选项
...
...
This diff is collapsed.
Click to expand it.
src/views/verification/collectionDetail.vue
View file @
a6a97b80
...
...
@@ -292,6 +292,7 @@
<
script
>
import
Goback
from
"
@/components/CUSTOMER/goback
"
;
import
{
message
}
from
'
ant-design-vue
'
;
import
BurtPagination
from
"
@/components/CUSTOMER/pagation
"
;
import
{
EOBStatusOptions
}
from
"
@/utils/utilsdictOptions.js
"
;
import
{
exportFile
}
from
'
@/utils/index
'
;
...
...
@@ -503,6 +504,9 @@ export default {
this
.
selectedRows
.
forEach
((
item
)
=>
{
totalMoney
-=
Number
(
item
.
backAmount
);
});
if
(
totalMoney
<
0
){
message
.
error
(
'
可核销余额不足
'
)
}
return
Number
(
totalMoney
.
toFixed
(
2
));
},
},
...
...
@@ -550,6 +554,7 @@ export default {
}
},
onSelectChange
(
selectedRow
,
selected
)
{
selectedRow
[
'
backAmount
'
]
=
this
.
residueBackAmount
>
selectedRow
.
currentReceiptAmount
?
selectedRow
.
currentReceiptAmount
:
this
.
residueBackAmount
;
if
(
selected
)
{
this
.
selectedRowKeys
.
push
(
selectedRow
.
id
);
this
.
selectedRows
.
push
(
selectedRow
);
...
...
@@ -561,6 +566,7 @@ export default {
this
.
selectedRows
.
splice
(
index
,
1
);
this
.
_confirmDelReceipt
([
selectedRow
]);
}
this
.
addNewEvt
(
0
)
},
onSelectAll
(
selected
,
selectedRows
,
changeRows
)
{
console
.
log
(
selected
,
selectedRows
,
changeRows
);
...
...
This diff is collapsed.
Click to expand it.
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