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
89840a09
Commit
89840a09
authored
Dec 26, 2023
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
7418ff58
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
26 deletions
+37
-26
bindListData.vue
...ts/FinancialModule/HelpBranch/components/bindListData.vue
+5
-2
index.vue
src/components/FinancialModule/HelpBranch/index.vue
+32
-24
No files found.
src/components/FinancialModule/HelpBranch/components/bindListData.vue
View file @
89840a09
...
...
@@ -292,12 +292,14 @@
},
clicksubmit
(){
//先判断selectDataList里面是否有,没有再去调用接口
let
count
=
0
;
this
.
selectDataList
.
forEach
(
item
=>
{
if
(
item
.
FrID
==
this
.
bindMsg
.
FrID
){
return
;
count
+=
1
;
}
});
this
.
apipost
(
if
(
count
==
0
)
{
this
.
apipost
(
"Financial_post_SelectAllotFinan"
,
this
.
bindMsg
,
res
=>
{
...
...
@@ -318,6 +320,7 @@
},
err
=>
{}
);
}
},
SureAllot
(){
...
...
src/components/FinancialModule/HelpBranch/index.vue
View file @
89840a09
...
...
@@ -243,29 +243,34 @@
<
/div
>
<
/div
>
<
div
style
=
"display: flex;flex-wrap: nowrap; padding: 10px;"
>
<
div
style
=
"display: flex;flex-wrap: wrap;"
>
<
span
>
已选数据:
<
/span
>
<
template
v
-
if
=
"multipleSelection.length>0"
>
<
el
-
tag
size
=
"mini"
closable
style
=
"margin-right: 5px;margin-bottom: 5px;"
v
-
for
=
"(x,index) in multipleSelection"
:
key
=
"x.FrID"
@
close
=
"handleClose([multipleSelection[index]])"
:
type
=
"x.Type==2?'danger':'success'"
>
{{
x
.
FrID
}}
/
<
template
v
-
for
=
"(y,i) in x.DetailList"
>
{{
y
.
CostTypeName
}}
:{{
y
.
OriginalMoney
}}
{{
i
!=
(
x
.
DetailList
.
length
-
1
)?
','
:
''
}}
<
/template
>
<
/el-tag
>
<
/template
>
<
template
v
-
else
>
无
<
/template
>
<
/div
>
<
div
style
=
"margin-left: 20px;flex-shrink: 0;"
>
总金额:
{{
getMoney
()
}}
<
div
style
=
"float:left;width:85%;display: flex;flex-wrap: nowrap; padding: 10px;"
>
<
div
style
=
"display: flex;flex-wrap: wrap; "
>
<
span
>
已选数据:
<
/span
>
<
template
v
-
if
=
"multipleSelection.length>0"
>
<
el
-
tag
size
=
"mini"
closable
style
=
"margin-right: 5px;margin-bottom: 5px;"
v
-
for
=
"(x,index) in multipleSelection"
:
key
=
"x.FrID"
@
close
=
"handleClose([multipleSelection[index]])"
:
type
=
"x.Type==2?'danger':'success'"
>
{{
x
.
FrID
}}
/
<
template
v
-
for
=
"(y,i) in x.DetailList"
>
{{
y
.
CostTypeName
}}
:{{
y
.
OriginalMoney
}}
{{
i
!=
(
x
.
DetailList
.
length
-
1
)?
','
:
''
}}
<
/template
>
<
/el-tag
>
<
/template
>
<
template
v
-
else
>
无
<
/template
>
<
/div
>
<
div
style
=
"margin-left: 20px;flex-shrink: 0;"
>
总金额:
{{
getMoney
()
}}
<
/div
>
<
/div
>
<
div
style
=
"margin-left: 20px;display: flex;flex-wrap: wrap;float:right;"
>
<
span
style
=
"font-size:12px;"
>
关联调拨单颜色
<
/span
>
<
span
style
=
"background-color:#00C6FF;border-radius:2px;margin:4px 6px 0px 6px; height:8px;width:8px;vertical-align:middle;display:inline-block;"
><
/span><span style="font-size:12px;">代收</
span
>
<
span
style
=
"background-color:rgb(159 46 46);border-radius:2px;margin:4px 6px 0px 6px;height:8px;width:8px;vertical-align:middle;display:inline-block;"
><
/span><span style="font-size:12px;">代付</
span
>
<
/div
>
<
/div
>
<
div
class
=
"_fnDm_content"
v
-
loading
=
'loading'
>
...
...
@@ -478,12 +483,15 @@
<
/el-table-column
>
<
el
-
table
-
column
prop
=
""
label
=
"关联调拨单
付款单
"
label
=
"关联调拨单"
show
-
overflow
-
tooltip
width
=
"165"
>
<
template
slot
-
scope
=
"scope"
v
-
if
=
"scope.row.ReFinanceIdList"
>
<
div
v
-
for
=
"(x,index) in scope.row.ReFinanceIdList"
>
<
p
style
=
"cursor: pointer;color: #00C6FF;"
@
click
=
"openDetails(x.RelevanceFrId,2)"
>
{{
x
.
RelevanceFrId
}}
{{
x
.
ShareMoney
>
0
?(
"分摊金额:"
+
x
.
ShareMoney
):
""
}}
<
/p
>
@
click
=
"openDetails(x.RelevanceFrId,2)"
v
-
if
=
"x.RelevanceFrId2===1"
>
{{
x
.
RelevanceFrId
}}
{{
x
.
ShareMoney
>
0
?(
"分摊金额:"
+
x
.
ShareMoney
):
""
}}
<
/p
>
<
p
style
=
"cursor: pointer;color: rgb(159 46 46);"
@
click
=
"openDetails(x.RelevanceFrId,2)"
v
-
else
-
if
=
"x.RelevanceFrId2===2"
>
{{
x
.
RelevanceFrId
}}
{{
x
.
ShareMoney
>
0
?(
"分摊金额:"
+
x
.
ShareMoney
):
""
}}
<
/p
>
<
/div
>
<
/template
>
<
template
v
-
else
>-<
/template
>
...
...
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