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
4abfbf32
Commit
4abfbf32
authored
Jun 30, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9e23d5b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
13 deletions
+9
-13
OrderProfitLossList.vue
...onents/FinancialModule/ReportForm/OrderProfitLossList.vue
+9
-13
No files found.
src/components/FinancialModule/ReportForm/OrderProfitLossList.vue
View file @
4abfbf32
...
...
@@ -11,8 +11,9 @@
<div
class=
"content"
>
<div
style=
"display: flex;flex-direction: row;align-items: center"
>
<span>
供应商
</span>
<el-select
class=
"w150"
style=
"margin-left: 10px;"
v-model=
"SupplierId"
size=
"small"
placeholder=
"请选择"
@
change=
'getDateList'
>
<el-select
class=
"w150"
style=
"margin-left: 10px;"
v-model=
"msg.SupplierId"
filterable
size=
"small"
placeholder=
"请选择"
@
change=
"msg.pageIndex=1,getDateList()"
>
<el-option
:key=
"0"
:value=
"0"
label=
"全部"
></el-option>
<el-option
v-for=
"item in options"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
...
...
@@ -27,7 +28,7 @@
<div
style=
"padding: 20px;background: #fff;margin-top: 10px"
>
<el-table
:data=
"tableData"
v-loading=
"loading"
header-cell-class-name=
"headClass"
style=
"width: 100%"
border
>
<el-table-column
label=
"商品信息"
align=
"center"
>
<el-table-column
label=
"订单号"
prop=
"OrderNo"
width=
"200"
fixed
></el-table-column>
<el-table-column
label=
"订单号"
prop=
"OrderNo"
width=
"200"
fixed
=
"left"
></el-table-column>
<el-table-column
label=
"规格"
width=
"300"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
GoodsName
}}{{
scope
.
row
.
Specification
}}
...
...
@@ -89,7 +90,7 @@
StartDate
:
''
,
EndDate
:
''
,
},
SupplierId
:
""
,
options
:
[],
tableData
:
[],
count
:
0
,
...
...
@@ -107,14 +108,8 @@
this
.
msg
.
StartDate
=
this
.
value
[
0
];
this
.
msg
.
EndDate
=
this
.
value
[
1
];
}
if
(
this
.
SupplierId
!=
''
)
{
this
.
msg
.
SupplierId
=
this
.
SupplierId
}
else
{
this
.
msg
.
SupplierId
=
0
}
this
.
loading
=
true
;
this
.
mallapipost
(
"/api/Statistics/GetOrderProfitLossList"
,
this
.
msg
,
res
=>
{
this
.
mallapipost
(
"/api/LiveHouse/GetOrderProfitLossList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
...
...
@@ -126,7 +121,7 @@
})
},
getSupplierList
()
{
//获取供应商接口
this
.
mallapipost
(
"/api/
Supplier
/GetSupplierAllList"
,
{},
res
=>
{
this
.
mallapipost
(
"/api/
LiveHouse
/GetSupplierAllList"
,
{},
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
options
=
res
.
data
.
data
;
...
...
@@ -141,7 +136,7 @@
}
msg
=
JSON
.
parse
(
JSON
.
stringify
(
msg
));
this
.
GetMallLocalFile
(
"/api/
Statistics
/GetOrderProfitLossExcel"
,
"/api/
LiveHouse
/GetOrderProfitLossExcel"
,
msg
,
"损益核算.xls"
);
...
...
@@ -156,6 +151,7 @@
this
.
msg
.
StartDate
=
''
;
this
.
msg
.
EndDate
=
''
;
}
this
.
msg
.
pageIndex
=
1
;
this
.
getDateList
();
},
}
...
...
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