Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6f3e3b30
authored
2024-01-18 11:22:22 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登记薄
1 parent
4a17fe32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
src/views/registerBook/components/djbDetail.vue
src/views/registerBook/components/djbDetail.vue
View file @
6f3e3b3
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 202
3-12-20 17:31:14
* @LastEditTime: 202
4-01-18 11:21:59
-->
<
template
>
<div
class=
"tableBox"
>
...
...
@@ -74,7 +74,7 @@
<el-link
v-if=
"['zxywh', 'ywh'].includes(item.prop)"
@
click=
"handleSelectYwh(row, row[item.prop])"
type=
"primary"
>
{{
row
[
item
.
prop
]
}}
</el-link>
<span
v-if=
"!['qszt','ywh', 'zxywh'].includes(item.prop)"
>
{{
getLable
(
item
.
prop
,
row
[
item
.
prop
])
}}
</span>
<span
v-if=
"!['qszt','ywh', 'zxywh'].includes(item.prop)"
>
{{
getLable
(
item
.
prop
,
row
[
item
.
prop
]
,
row
)
}}
</span>
</p>
<el-tooltip
...
...
@@ -139,7 +139,7 @@
};
},
methods
:
{
getLable
(
prop
,
label
)
{
getLable
(
prop
,
label
,
row
)
{
const
ztObj
=
{
0
:
'否'
,
1
:
'是'
...
...
@@ -158,9 +158,19 @@
},
default
:
(
label
)
=>
label
};
const
strategy
=
strategies
[
prop
]
||
strategies
.
default
;
return
strategy
(
label
);
if
(
prop
==
'bdbzzqse'
)
{
console
.
log
(
row
);
let
title
=
''
if
(
row
.
jedw
==
2
)
{
title
=
strategy
(
label
)
+
'万元'
}
else
if
(
row
.
jedw
==
1
)
{
title
=
strategy
(
label
)
+
'元'
}
return
title
}
else
{
return
strategy
(
label
);
}
},
openPrint
()
{
this
.
render
=
true
;
...
...
Please
register
or
sign in
to post a comment