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
3ac81b72
Commit
3ac81b72
authored
Dec 16, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b81aae08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
25 deletions
+66
-25
EasyReport.vue
src/components/FinancialModule/ReportForm/EasyReport.vue
+66
-25
No files found.
src/components/FinancialModule/ReportForm/EasyReport.vue
View file @
3ac81b72
...
...
@@ -193,8 +193,8 @@ Vue.component("YiYueJump", {
// 团队跳转
template
:
`
<div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',1,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.YiYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.YiYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',1,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.YiYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.YiYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -227,8 +227,8 @@ Vue.component("ErYueJump", {
// 团队跳转
template
:
`
<div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',2,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.ErYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.ErYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',2,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.ErYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.ErYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -260,8 +260,8 @@ Vue.component("ErYueJump", {
Vue
.
component
(
"SanYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',3,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.SanYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.SanYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',3,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.SanYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.SanYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -293,8 +293,8 @@ Vue.component("SanYueJump", {
Vue
.
component
(
"SiYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',4,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.SiYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.SiYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',4,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.SiYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.SiYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -326,8 +326,8 @@ Vue.component("SiYueJump", {
Vue
.
component
(
"WuYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',5,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.WuYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.WuYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',5,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.WuYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.WuYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -359,8 +359,8 @@ Vue.component("WuYueJump", {
Vue
.
component
(
"LiuYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer;" v-if="rowData.CostIds" @click="goUrl('JumpReport',6,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.LiuYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.LiuYue
}}</span>
<span style="cursor: pointer;" v-if="rowData.CostIds" @click="goUrl('JumpReport',6,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.LiuYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.LiuYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -392,8 +392,8 @@ Vue.component("LiuYueJump", {
Vue
.
component
(
"QiYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',7,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.QiYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.QiYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',7,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.QiYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.QiYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -425,8 +425,8 @@ Vue.component("QiYueJump", {
Vue
.
component
(
"BaYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',8,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.BaYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.BaYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',8,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.BaYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.BaYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -458,8 +458,8 @@ Vue.component("BaYueJump", {
Vue
.
component
(
"JiuYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',9,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.JiuYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.JiuYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',9,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.JiuYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.JiuYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -491,8 +491,8 @@ Vue.component("JiuYueJump", {
Vue
.
component
(
"ShiYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',10,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.ShiYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.ShiYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',10,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.ShiYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.ShiYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -524,8 +524,8 @@ Vue.component("ShiYueJump", {
Vue
.
component
(
"ShiYiYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',11,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.ShiYiYue
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.ShiYiYue
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',11,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.ShiYiYue)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.ShiYiYue)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -557,8 +557,8 @@ Vue.component("ShiYiYueJump", {
Vue
.
component
(
"ShiErYueJump"
,
{
// 团队跳转
template
:
` <div class="gourl_span">
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',12,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
rowData.ShiEr
}}</span>
<span style="cursor: pointer" v-else>{{
rowData.ShiEr
}}</span>
<span style="cursor: pointer" v-if="rowData.CostIds" @click="goUrl('JumpReport',12,rowData.Year,rowData.BranchId,rowData.CostIds)">{{
moneyFormatN(rowData.ShiEr)
}}</span>
<span style="cursor: pointer" v-else>{{
moneyFormatN(rowData.ShiEr)
}}</span>
</div>`
,
props
:
{
rowData
:
{
...
...
@@ -655,6 +655,7 @@ export default {
},
{
field
:
"YiYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
0
],
start
:
"01-01"
,
end
:
"01-31"
,
...
...
@@ -666,10 +667,11 @@ export default {
result
:
[],
type
:
"select"
,
isFrozen
:
false
,
componentName
:
"YiYueJump"
//
componentName: "YiYueJump"
},
{
field
:
"ErYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
1
],
start
:
"02-01"
,
end
:
"02"
,
...
...
@@ -685,6 +687,7 @@ export default {
},
{
field
:
"SanYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
2
],
start
:
"03-01"
,
end
:
"03-31"
,
...
...
@@ -700,6 +703,7 @@ export default {
},
{
field
:
"DiYiJiDu"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.jidus'
)[
0
],
start
:
"01-01"
,
end
:
"03-31"
,
...
...
@@ -713,6 +717,7 @@ export default {
},
{
field
:
"SiYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
3
],
start
:
"04-01"
,
end
:
"04-30"
,
...
...
@@ -728,6 +733,7 @@ export default {
},
{
field
:
"WuYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
4
],
start
:
"05-01"
,
end
:
"05-31"
,
...
...
@@ -743,6 +749,7 @@ export default {
},
{
field
:
"LiuYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
5
],
start
:
"06-01"
,
end
:
"06-30"
,
...
...
@@ -758,6 +765,7 @@ export default {
},
{
field
:
"DiErJiDu"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.jidus'
)[
1
],
start
:
"04-01"
,
end
:
"06-30"
,
...
...
@@ -771,6 +779,7 @@ export default {
},
{
field
:
"ShangBanNianBao"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.jidus'
)[
2
],
start
:
"01-01"
,
end
:
"06-30"
,
...
...
@@ -784,6 +793,7 @@ export default {
},
{
field
:
"QiYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
6
],
start
:
"07-01"
,
end
:
"07-31"
,
...
...
@@ -799,6 +809,7 @@ export default {
},
{
field
:
"BaYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
7
],
start
:
"08-01"
,
end
:
"08-31"
,
...
...
@@ -814,6 +825,7 @@ export default {
},
{
field
:
"JiuYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
8
],
start
:
"09-01"
,
end
:
"09-30"
,
...
...
@@ -829,6 +841,7 @@ export default {
},
{
field
:
"DiSanJiDu"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.jidus'
)[
3
],
start
:
"06-01"
,
end
:
"09-30"
,
...
...
@@ -842,6 +855,7 @@ export default {
},
{
field
:
"ShiYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
9
],
start
:
"10-01"
,
end
:
"10-31"
,
...
...
@@ -857,6 +871,7 @@ export default {
},
{
field
:
"ShiYiYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
10
],
start
:
"11-01"
,
end
:
"11-30"
,
...
...
@@ -872,6 +887,7 @@ export default {
},
{
field
:
"ShiErYue"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.yuefens'
)[
11
],
start
:
"12-01"
,
end
:
"12-31"
,
...
...
@@ -887,6 +903,7 @@ export default {
},
{
field
:
"DiSiJiDu"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.jidus'
)[
4
],
start
:
"10-01"
,
end
:
"12-31"
,
...
...
@@ -900,6 +917,7 @@ export default {
},
{
field
:
"XiaBanNianBao"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'objFill.jidus'
)[
5
],
start
:
"10-01"
,
end
:
"12-31"
,
...
...
@@ -913,6 +931,7 @@ export default {
},
{
field
:
"ZongJi"
,
formatter
:
this
.
moneyFormatBB
,
title
:
this
.
$t
(
'ground.zongji'
),
start
:
"01-01"
,
end
:
"12-31"
,
...
...
@@ -1484,6 +1503,28 @@ export default {
}
},
err
=>
{})
},
moneyFormatBB
(
rowData
,
rowIndex
,
pagingIndex
,
field
)
{
if
(
field
===
"YiYue"
)
return
this
.
moneyFormatN
(
rowData
.
YiYue
);
if
(
field
===
"ErYue"
)
return
this
.
moneyFormatN
(
rowData
.
ErYue
);
if
(
field
===
"SanYue"
)
return
this
.
moneyFormatN
(
rowData
.
SanYue
);
if
(
field
===
"SiYue"
)
return
this
.
moneyFormatN
(
rowData
.
SiYue
);
if
(
field
===
"WuYue"
)
return
this
.
moneyFormatN
(
rowData
.
WuYue
);
if
(
field
===
"LiuYue"
)
return
this
.
moneyFormatN
(
rowData
.
LiuYue
);
if
(
field
===
"QiYue"
)
return
this
.
moneyFormatN
(
rowData
.
QiYue
);
if
(
field
===
"BaYue"
)
return
this
.
moneyFormatN
(
rowData
.
BaYue
);
if
(
field
===
"JiuYue"
)
return
this
.
moneyFormatN
(
rowData
.
JiuYue
);
if
(
field
===
"ShiYue"
)
return
this
.
moneyFormatN
(
rowData
.
ShiYue
);
if
(
field
===
"ShiYiYue"
)
return
this
.
moneyFormatN
(
rowData
.
ShiYiYue
);
if
(
field
===
"ShiErYue"
)
return
this
.
moneyFormatN
(
rowData
.
ShiErYue
);
if
(
field
===
"DiErJiDu"
)
return
this
.
moneyFormatN
(
rowData
.
DiErJiDu
);
if
(
field
===
"DiSanJiDu"
)
return
this
.
moneyFormatN
(
rowData
.
DiSanJiDu
);
if
(
field
===
"DiSiJiDu"
)
return
this
.
moneyFormatN
(
rowData
.
DiSiJiDu
);
if
(
field
===
"DiYiJiDu"
)
return
this
.
moneyFormatN
(
rowData
.
DiYiJiDu
);
if
(
field
===
"ShangBanNianBao"
)
return
this
.
moneyFormatN
(
rowData
.
ShangBanNianBao
);
if
(
field
===
"XiaBanNianBao"
)
return
this
.
moneyFormatN
(
rowData
.
XiaBanNianBao
);
if
(
field
===
"ZongJi"
)
return
this
.
moneyFormatN
(
rowData
.
ZongJi
);
},
}
}
</
script
>
...
...
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