Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
ecf1b9ec
Commit
ecf1b9ec
authored
Oct 16, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复新增收款单异常
parent
756b93ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
index.vue
src/components/RoutersSelector/index.vue
+12
-1
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+3
-1
No files found.
src/components/RoutersSelector/index.vue
View file @
ecf1b9ec
...
...
@@ -26,7 +26,7 @@
</el-radio-group>
</div>
<el-row
class=
""
:gutter=
"10"
>
<template
v-for=
"
item
in filteredRouterList"
>
<template
v-for=
"
(item, index)
in filteredRouterList"
>
<el-col
:span=
"12"
:key=
"item.value"
>
<el-card
class=
"mb-10"
>
<div
slot=
"header"
>
...
...
@@ -51,6 +51,9 @@
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
prop=
""
>
<
template
slot=
"header"
>
<el-checkbox
@
change=
"toggleGroupChecker(index, $event)"
></el-checkbox>
</
template
>
<
template
slot-scope=
"{row}"
>
<el-checkbox
:checked=
"getSelectedIndex(row) > -1"
@
change=
"toggleChecker(row, $event)"
></el-checkbox>
</
template
>
...
...
@@ -197,6 +200,14 @@ export default {
},
methods
:{
// 全选、全不选 某个运输方式所有线路
toggleGroupChecker
(
index
,
selected
){
let
routerList
=
this
.
filteredRouterList
[
index
].
routerList
console
.
log
(
routerList
.
length
,
selected
)
routerList
.
forEach
(
router
=>
{
this
.
toggleChecker
(
router
,
selected
)
})
},
getOpenedRouterList
(){
let
params
=
{}
if
(
this
.
exportCity
){
...
...
src/views/ecw/financial/creatCollection.vue
View file @
ecf1b9ec
...
...
@@ -266,7 +266,7 @@
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('应收金额')
"
align
=
"
center
"
prop
=
"
receivableAmount
"
>
<
template
slot
-
scope
=
"
scope
"
v
-
if
=
"
scope.row.type !== 'total'
"
>
{{
`${NP.minus(scope.row.receivableAmount, scope.row.discountTotal)
}
${scope.row.discountTotal > 0 ? `
(
$
{
scope
.
row
.
receivableAmount
}
-
$
{
scope
.
row
.
discountTotal
}
)
` : ''
}
`
}}
{{
`${NP.minus(scope.row.receivableAmount, scope.row.discountTotal
|| 0
)
}
${scope.row.discountTotal > 0 ? `
(
$
{
scope
.
row
.
receivableAmount
}
-
$
{
scope
.
row
.
discountTotal
}
)
` : ''
}
`
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"
center
"
width
=
"
220
"
>
...
...
@@ -1147,6 +1147,7 @@ export default {
this
.
saveBtnLoading
=
false
}
)
}
else
{
params
.
currencyId
=
this
.
showCurrencyId
createReceipt
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
保存成功
'
));
this
.
$router
.
back
();
...
...
@@ -1170,6 +1171,7 @@ export default {
this
.
saveBtnLoading
=
false
}
)
}
else
{
params
.
currencyId
=
this
.
showCurrencyId
createReceipt
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
新增成功
'
));
this
.
$router
.
back
();
...
...
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