Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
罗超
confucius
Commits
7bc27dae
Commit
7bc27dae
authored
Mar 22, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限提交
parent
6ed8f0de
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
23 deletions
+66
-23
EasyReport.vue
src/pages/financial/EasyReport.vue
+2
-1
JumpReport.vue
src/pages/financial/JumpReport.vue
+36
-19
TeamRevenueReport.vue
src/pages/financial/TeamRevenueReport.vue
+28
-3
No files found.
src/pages/financial/EasyReport.vue
View file @
7bc27dae
...
@@ -881,7 +881,8 @@
...
@@ -881,7 +881,8 @@
endDate
=
that
.
year
+
"-"
+
column
.
end
endDate
=
that
.
year
+
"-"
+
column
.
end
}
}
console
.
log
(
rowIndex
,
rowData
,
'rowIndex'
)
console
.
log
(
rowIndex
,
rowData
,
'rowIndex'
)
if
(
rowIndex
<
9
){
// if(rowIndex
<
9
){
if
(
rowIndex
<
8
){
// 联运收入
// 联运收入
// if(rowData.ZhaiYao=="联运收入"){
// if(rowData.ZhaiYao=="联运收入"){
// that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入")
// that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入")
...
...
src/pages/financial/JumpReport.vue
View file @
7bc27dae
...
@@ -122,13 +122,13 @@
...
@@ -122,13 +122,13 @@
</el-form-item>
</el-form-item>
</el-col>
-->
</el-col>
-->
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"所属
公司
:"
>
<el-form-item
label=
"所属
校区
:"
>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',msg.UpdateBy='',getDepartment()"
class=
""
>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
@
change=
"getDepartmentMsg.RB_Branch_Id=msg.RB_Branch_Id,msg.RB_Depart_Id='',msg.UpdateBy='',getDepartment()"
class=
""
>
<el-option
:value=
"-1"
label=
"不限"
></el-option>
<el-option
:value=
"-1"
label=
"不限"
></el-option>
<el-option
v-for=
'item in CompanyList'
<el-option
v-for=
'item in CompanyList'
:label=
'item.
B
Name'
:label=
'item.
S
Name'
:value=
'item.Id'
:value=
'item.
S
Id'
:key=
'item.Id'
>
:key=
'item.
S
Id'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -285,16 +285,16 @@
...
@@ -285,16 +285,16 @@
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"6"
>
<!--
<el-col
:span=
"6"
>
--
>
<el-form-item
label=
"发团日期:"
>
<!--
<el-form-item
label=
"发团日期:"
>
--
>
<el-date-picker
class=
"h34"
<!--
<el-date-picker
class=
"h34"
--
>
v-model=
"missionDate"
<!-- v-model="missionDate"-->
@
change=
"timeAdd(4)"
<!-- @change="timeAdd(4)"-->
type=
"daterange"
<!-- type="daterange"-->
value-format=
"yyyy-MM-dd"
>
<!-- value-format="yyyy-MM-dd">--
>
</el-date-picker
>
<!--
</el-date-picker>
--
>
</el-form-item
>
<!--
</el-form-item>
--
>
</el-col
>
<!--
</el-col>
--
>
</
template
>
</
template
>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -334,6 +334,9 @@
...
@@ -334,6 +334,9 @@
import
myBill
from
"./components/BillModule.vue"
;
import
myBill
from
"./components/BillModule.vue"
;
import
myrbvBill
from
"./components/ReceivablesModule.vue"
;
import
myrbvBill
from
"./components/ReceivablesModule.vue"
;
import
myhrBill
from
"./components/MergeBillModule.vue"
;
import
myhrBill
from
"./components/MergeBillModule.vue"
;
import
{
getSchoolDropdown
,
//获取校区列表
}
from
'../../api/school/index'
;
import
Vue
from
'vue'
import
Vue
from
'vue'
// 自定义列组件
// 自定义列组件
Vue
.
component
(
'table-BranchName'
,{
//查看操作按钮
Vue
.
component
(
'table-BranchName'
,{
//查看操作按钮
...
@@ -1191,11 +1194,25 @@
...
@@ -1191,11 +1194,25 @@
},
err
=>
{})
},
err
=>
{})
},
},
getCompanyList
(){
//获取公司列表
getCompanyList
(){
//获取公司列表
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
getCompanyMsg
,
res
=>
{
// this.apipost('admin_get_BranchGetList',this.getCompanyMsg,res=>{
if
(
res
.
data
.
resultCode
==
1
){
// if(res.data.resultCode==1){
this
.
CompanyList
=
res
.
data
.
data
;
// this.CompanyList=res.data.data;
}
else
{}
// }else{}
},
err
=>
{})
// },err=>{})
getSchoolDropdown
({}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
var
tempArray
=
res
.
Data
;
// if (!tempArray) {
// tempArray = [];
// }
// tempArray.unshift({
// SId: 0,
// SName: "不限"
// })
this
.
CompanyList
=
tempArray
;
}
})
},
},
Financial_post_GetConditionList
(){
//获取财务单据枚举列表
Financial_post_GetConditionList
(){
//获取财务单据枚举列表
this
.
apipost
(
'Financial_post_GetConditionList'
,{},
res
=>
{
this
.
apipost
(
'Financial_post_GetConditionList'
,{},
res
=>
{
...
...
src/pages/financial/TeamRevenueReport.vue
View file @
7bc27dae
...
@@ -419,7 +419,7 @@
...
@@ -419,7 +419,7 @@
<el-row
style=
"padding:15px 20px 0 0;"
>
<el-row
style=
"padding:15px 20px 0 0;"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"校区:"
>
<el-form-item
label=
"校区:"
>
<el-select
class=
"w150"
v-model=
"msg.SchoolId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getPageList()"
>
<el-select
class=
"w150"
:disabled=
"!isHavePriceAction"
v-model=
"msg.SchoolId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getPageList()"
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in BranchList"
:label=
"item.SName"
:key=
"item.SId"
:value=
"item.SId"
>
{{
item
.
SName
}}
</el-option>
<el-option
v-for=
"item in BranchList"
:label=
"item.SName"
:key=
"item.SId"
:value=
"item.SId"
>
{{
item
.
SName
}}
</el-option>
</el-select>
</el-select>
...
@@ -567,6 +567,9 @@
...
@@ -567,6 +567,9 @@
<
script
>
<
script
>
import
moment
from
'moment'
import
moment
from
'moment'
import
Vue
from
"vue"
;
import
Vue
from
"vue"
;
import
{
mapState
}
from
"vuex"
;
import
XLSX
from
"xlsx"
;
import
XLSX
from
"xlsx"
;
// import downloadExcelEasy from "./utils/downloadExcelEasy";
// import downloadExcelEasy from "./utils/downloadExcelEasy";
import
{
import
{
...
@@ -1206,8 +1209,7 @@
...
@@ -1206,8 +1209,7 @@
};
};
},
},
created
()
{
created
()
{
console
.
log
(
this
.
$route
.
query
)
this
.
msg
.
SchoolId
=
0
console
.
log
(
'222'
)
this
.
msg
.
startDate
=
this
.
$route
.
query
.
StartTime
!=
undefined
?
this
.
$route
.
query
.
StartTime
:
''
;
this
.
msg
.
startDate
=
this
.
$route
.
query
.
StartTime
!=
undefined
?
this
.
$route
.
query
.
StartTime
:
''
;
this
.
msg
.
endDate
=
this
.
$route
.
query
.
EndTime
!=
undefined
?
this
.
$route
.
query
.
EndTime
:
''
;
this
.
msg
.
endDate
=
this
.
$route
.
query
.
EndTime
!=
undefined
?
this
.
$route
.
query
.
EndTime
:
''
;
this
.
msg
.
LineId
=
this
.
$route
.
query
.
LineId
!=
undefined
?
Number
(
this
.
$route
.
query
.
LineId
):
''
;
this
.
msg
.
LineId
=
this
.
$route
.
query
.
LineId
!=
undefined
?
Number
(
this
.
$route
.
query
.
LineId
):
''
;
...
@@ -1274,6 +1276,13 @@
...
@@ -1274,6 +1276,13 @@
this
.
msg
.
DataType
=
"6"
;
this
.
msg
.
DataType
=
"6"
;
}
}
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
.
School_Id
>
0
){
this
.
msg
.
SchoolId
=
userInfo
.
School_Id
}
else
{
this
.
msg
.
SchoolId
=
-
1
}
if
((
","
+
userInfo
.
ActionMenuCode
+
","
).
indexOf
(
',F_Query_TicketTeamRevenueReport,'
)
!=-
1
){
if
((
","
+
userInfo
.
ActionMenuCode
+
","
).
indexOf
(
',F_Query_TicketTeamRevenueReport,'
)
!=-
1
){
this
.
isShowType
=
false
;
this
.
isShowType
=
false
;
this
.
msg
.
DataType
=
'2'
;
this
.
msg
.
DataType
=
'2'
;
...
@@ -1285,6 +1294,19 @@
...
@@ -1285,6 +1294,19 @@
}
}
},
},
computed
:
mapState
({
isHavePriceAction
(
state
)
{
if
(
state
.
user
.
userInfo
.
ActionMenuList
)
{
let
action
=
state
.
user
.
userInfo
.
ActionMenuList
.
find
(
x
=>
{
if
(
x
.
FunctionCode
==
"SelectAllSchool"
)
{
return
x
;
}
});
return
action
&&
action
.
FunctionCode
;
}
return
false
;
}
}),
mounted
()
{
mounted
()
{
this
.
getPageList
()
this
.
getPageList
()
...
@@ -1862,6 +1884,9 @@
...
@@ -1862,6 +1884,9 @@
this
.
total
=
res
.
Data
.
pageModel
.
Count
;
this
.
total
=
res
.
Data
.
pageModel
.
Count
;
let
data
=
res
.
Data
.
pageModel
.
PageData
;
let
data
=
res
.
Data
.
pageModel
.
PageData
;
this
.
UpdateStaus
=
res
.
Data
.
Status
;
this
.
UpdateStartTime
=
res
.
Data
.
UpdateTime
;
if
(
this
.
total
==
0
)
{
if
(
this
.
total
==
0
)
{
this
.
DataList
=
[];
this
.
DataList
=
[];
}
else
{
}
else
{
...
...
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