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
195538fe
Commit
195538fe
authored
Sep 19, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
23c7d625
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
index.vue
src/components/FinancialModule/DataAnalysis/index.vue
+20
-3
No files found.
src/components/FinancialModule/DataAnalysis/index.vue
View file @
195538fe
...
...
@@ -86,7 +86,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"activeName==4"
>
<el-col
:span=
"4"
v-if=
"activeName==4
&& msg.StandardCurrencyId ==1
"
>
<el-form-item
label=
"汇率"
>
<el-input
v-model=
"shopMsg.MaoLiRate"
type=
"number"
@
change=
"getChange"
></el-input>
</el-form-item>
...
...
@@ -157,9 +157,12 @@
<button
class=
"hollowFixedBtn"
@
click=
"getStatement"
>
{{ $t("pub.searchBtn") }}
</button>
<
!-- <button
class="normalBtn" @click="exportExcel">
<
button
v-if=
"activeName!=4"
class=
"normalBtn"
@
click=
"exportExcel"
>
导出
</button> -->
</button>
<button
v-if=
"activeName==4"
class=
"normalBtn"
@
click=
"exportExcel2"
>
导出
</button>
</li>
</ul>
</div>
...
...
@@ -353,6 +356,20 @@ export default {
}
this
.
GetLocalFile
(
"financestatistics_post_GetDataAnalysisStatToExcel"
,
msg
,
'数据统计'
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
);
},
exportExcel2
(){
//导出报表
if
(
this
.
activeName
==
'4'
)
{
this
.
shopMsg
.
startDate
=
this
.
msg
.
startDate
this
.
shopMsg
.
endDate
=
this
.
msg
.
endDate
this
.
shopMsg
.
LossType
=
this
.
msg
.
LossType
this
.
shopMsg
.
StandardCurrencyId
=
this
.
msg
.
StandardCurrencyId
}
let
msg
=
{
EmployeeId
:
this
.
getLocalStorage
().
EmployeeId
,
...
this
.
shopMsg
}
this
.
GetLocalFile
(
"financestatistics_post_GetCommissionAnalysisStatToExcel"
,
msg
,
'佣金统计'
+
this
.
$commonUtils
.
getCurrentDate
()
+
".xls"
);
},
getQueryData
()
{
//获取公司列表
this
.
apipost
(
...
...
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