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
48785f82
Commit
48785f82
authored
5 months ago
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
444e5091
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
125 additions
and
78 deletions
+125
-78
ClientBankAccount.vue
...mponents/FinancialModule/components/ClientBankAccount.vue
+125
-78
No files found.
src/components/FinancialModule/components/ClientBankAccount.vue
View file @
48785f82
...
@@ -122,6 +122,38 @@
...
@@ -122,6 +122,38 @@
margin-top
:
10px
;
margin-top
:
10px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.OrderTitle
{
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
}
/
deep
/
.OrderReceivablesAccount-center
.el-input
.el-input__inner
{
padding
:
0
3px
;
font-size
:
12px
;
border
:
0
;
height
:
24px
;
line-height
:
24px
;
}
/
deep
/
.OrderReceivablesAccount-center
.el-select
.el-input
{
height
:
24px
;
}
/
deep
/
.OrderReceivablesAccount-center
.el-input__prefix
{
display
:
none
;
}
/
deep
/
.OrderReceivablesAccount-center
.el-input__icon
{
display
:
none
;
}
.fz12
{
font-size
:
12px
;
}
.saveBtnB
{
position
:
relative
;
}
.circleData
{
position
:
absolute
;
right
:
-7px
;
top
:
18px
;
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -202,84 +234,99 @@
...
@@ -202,84 +234,99 @@
<span
style=
"display: inline; color: red"
>
{{
$t
(
'objFill.v101.commissonBill.zuizsxfje'
)
}}
:
{{
clientBankAccountData
.
PlatformChangeFee
}}
</span>
<span
style=
"display: inline; color: red"
>
{{
$t
(
'objFill.v101.commissonBill.zuizsxfje'
)
}}
:
{{
clientBankAccountData
.
PlatformChangeFee
}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"border-b"
></div>
<template
v-if=
"GetDetail.SpecialType==11"
>
<div
class=
"OrderReceivablesAccount-title"
style=
"padding: 0;"
>
{{
$t
(
'objFill.v101.LeaderManagement.tanzhangqk'
)
}}
</div>
<div
class=
"border-b"
></div>
<div
class=
"OrderReceivablesAccount-center"
>
<div
class=
"OrderReceivablesAccount-title"
style=
"padding: 0;"
>
{{
$t
(
'objFill.v101.LeaderManagement.tanzhangqk'
)
}}
</div>
<el-table
<div
class=
"OrderReceivablesAccount-center"
>
:data=
"tableData"
>
<el-table
<el-table-column
:data=
"tableData"
prop=
""
:height=
"tableData.length>2?150:''"
>
:label=
"$t('objFill.v101.FinancialModule.feiyongkm')"
width=
"80"
>
<el-table-column
<template
slot-scope=
"scope"
>
prop=
""
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
CostTypeName
}}
</
template
>
label=
""
width=
"50"
show-overflow-tooltip
>
<el-select
v-else
v-model=
"msg.CostTypeId"
<template
slot=
"header"
slot-scope=
"scope"
>
@
change=
"getCostType"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.v101.FinancialModule.feiyongkm')"
placement=
"top"
>
:placeholder=
"$t('objFill.v101.FinancialModule.kemu')"
>
<span
class=
"OrderTitle"
>
{{
$t
(
'objFill.v101.FinancialModule.feiyongkm'
)
}}
</span>
<el-option
</el-tooltip>
v-for=
"item in scope.row.FDList"
</
template
>
:key=
"item.CostTypeId"
<
template
slot-scope=
"scope"
>
:label=
"item.CostTypeName"
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
CostTypeName
}}
</
template
>
:value=
"item.CostTypeId"
>
<el-select
v-else
v-model=
"msg.CostTypeId"
</el-option>
@
change=
"getCostType"
</el-select>
:placeholder=
"$t('objFill.v101.FinancialModule.kemu')"
</template>
style=
"width: 100%;"
>
</el-table-column>
<el-option
<el-table-column
v-for=
"item in scope.row.FDList"
prop=
"Money"
:key=
"item.CostTypeId"
:label=
"$t('fnc.jine')"
width=
"100"
show-overflow-tooltip
>
:label=
"item.CostTypeName"
<
template
slot-scope=
"scope"
>
:value=
"item.CostTypeId"
>
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
Money
}}
</
template
>
</el-option>
<el-input
v-else
v-model=
"msg.Money"
:placeholder=
"$t('fnc.jine')"
></el-input>
</el-select>
</template>
</el-table-column>
<el-table-column
prop=
"CreateDate"
label=
""
width=
"111"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<span>
{{
$t
(
'objFill.v101.LeaderManagement.fentanqsyf'
)
}}
</span>
</
template
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
CreateDate
}}
</
template
>
<el-date-picker
v-else
style=
"width: 100%;"
class=
"h34"
v-model=
"msg.CreateDate"
type=
"month"
value-format=
"yyyy-MM"
align=
"right"
:placeholder=
"$t('ground.yuefen')"
></el-date-picker>
</template>
</el-table-column>
<el-table-column
prop=
"RelevanceFrId2"
:label=
"$t('objFill.v101.LeaderManagement.fentanys')"
width=
"80"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
RelevanceFrId2
}}
</
template
>
<el-input
v-else
v-model=
"msg.RelevanceFrId2"
type=
"Number"
min=
"1"
:placeholder=
"$t('objFill.v101.LeaderManagement.yueshu')"
></el-input>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
""
width=
"70"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<div
class=
"row"
>
<span>
{{
$t
(
'system.table_operation'
)
}}
</span>
<div
class=
"cursor-p el-icon-circle-plus"
@
click=
"addData"
></div>
</div>
</
template
>
<
template
slot-scope=
"scope"
>
<i
v-if=
"activeIndx!=scope.$index"
class=
"cursor-p el-icon-edit"
@
click=
"editData(scope.row,scope.$index)"
></i>
<template
v-else
>
<i
type=
"primary"
class=
"cursor-p"
@
click=
"saveData"
>
{{
$t
(
'pub.saveBtn'
)
}}
</i>
<i
type=
"primary"
class=
"cursor-p el-icon-circle-close"
style=
"margin-left: 2px;"
@
click=
"cancelData(scope.row,scope.$index)"
></i>
</template>
</template>
</el-table-column>
<el-table-column
prop=
"Money"
:label=
"$t('fnc.jine')"
width=
"70"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
Money
}}
</
template
>
<el-input
v-else
v-model=
"msg.Money"
:placeholder=
"$t('fnc.jine')"
></el-input>
</template>
</el-table-column>
<el-table-column
prop=
"CreateDate"
label=
""
width=
"80"
show-overflow-tooltip
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.v101.LeaderManagement.fentanqsyf')"
placement=
"top"
>
<span
class=
"OrderTitle"
>
{{
$t
(
'objFill.v101.LeaderManagement.fentanqsyf'
)
}}
</span>
</el-tooltip>
</
template
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
CreateDate
}}
</
template
>
<el-date-picker
v-else
style=
"width: 100%;"
v-model=
"msg.CreateDate"
type=
"month"
value-format=
"yyyy-MM"
align=
"right"
:placeholder=
"$t('ground.yuefen')"
></el-date-picker>
</template>
</el-table-column>
<el-table-column
prop=
"RelevanceFrId2"
label=
""
width=
"40"
show-overflow-tooltip
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('objFill.v101.LeaderManagement.fentanys')"
placement=
"top"
>
<span
class=
"OrderTitle"
>
{{
$t
(
'objFill.v101.LeaderManagement.fentanys'
)
}}
</span>
</el-tooltip>
</
template
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"activeIndx!=scope.$index"
>
{{
scope
.
row
.
RelevanceFrId2
}}
</
template
>
<el-input
v-else
v-model=
"msg.RelevanceFrId2"
type=
"Number"
min=
"1"
:placeholder=
"$t('objFill.v101.LeaderManagement.yueshu')"
></el-input>
</template>
</el-table-column>
<el-table-column
prop=
""
label=
""
width=
"45"
align=
"right"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<div
class=
"row"
>
<!--
<span>
{{
$t
(
'system.table_operation'
)
}}
</span>
-->
<div
class=
"cursor-p el-icon-circle-plus"
@
click=
"addData"
></div>
</div>
</
template
>
<
template
slot-scope=
"scope"
>
<i
v-if=
"activeIndx!=scope.$index"
class=
"cursor-p el-icon-edit"
@
click=
"editData(scope.row,scope.$index)"
></i>
<div
v-else
>
<i
type=
"primary"
class=
"cursor-p fz12"
@
click=
"saveData"
>
{{
$t
(
'pub.saveBtn'
)
}}
</i>
<i
type=
"primary"
class=
"cursor-p el-icon-circle-close circleData"
@
click=
"cancelData(scope.row,scope.$index)"
></i>
</div>
</template>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
</template>
</div>
</div>
</template>
</template>
...
@@ -317,7 +364,7 @@
...
@@ -317,7 +364,7 @@
},
},
created
()
{
created
()
{
this
.
msg
.
BaseFinanceId
=
this
.
GetDetail
.
FrID
this
.
msg
.
BaseFinanceId
=
this
.
GetDetail
.
FrID
this
.
GetExpensesMonthlyShare
()
if
(
this
.
GetDetail
.
SpecialType
==
11
)
this
.
GetExpensesMonthlyShare
()
},
},
methods
:
{
methods
:
{
getCostType
(){
getCostType
(){
...
@@ -398,7 +445,7 @@
...
@@ -398,7 +445,7 @@
for
(
let
i
=
0
;
i
<
res
.
data
.
data
.
RList
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
res
.
data
.
data
.
RList
.
length
;
i
++
){
this
.
tableData
[
i
].
FDList
=
res
.
data
.
data
.
FDList
this
.
tableData
[
i
].
FDList
=
res
.
data
.
data
.
FDList
}
}
this
.
addData
()
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
...
...
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