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
9976e2c5
Commit
9976e2c5
authored
Oct 11, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务功能权限 优化
parent
7a17aed3
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
112 additions
and
86 deletions
+112
-86
index.vue
...ponents/FinancialModule/ConsolidationOfAccounts/index.vue
+8
-8
RecPayQuery.vue
src/components/FinancialModule/Kingdee/RecPayQuery.vue
+11
-6
RecPayQuery.vue
src/components/FinancialModule/RecPayQuery.vue
+1
-1
RecPayQueryWB.vue
src/components/FinancialModule/RecPayQueryWB.vue
+14
-8
AccountStatementDetail.vue
...ents/FinancialModule/accDetail/AccountStatementDetail.vue
+8
-8
CashAccDetail.vue
src/components/FinancialModule/accDetail/CashAccDetail.vue
+8
-8
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+9
-8
GuideAccount.vue
src/components/FinancialModule/accDetail/GuideAccount.vue
+8
-8
PoolAccDetail.vue
src/components/FinancialModule/accDetail/PoolAccDetail.vue
+8
-8
enrollTotalTwo.vue
src/components/SalesModule/enrollTotalTwo.vue
+15
-6
productTicketLossList.vue
src/components/SalesModule/productTicketLossList.vue
+1
-1
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+1
-1
tripsManager.vue
src/components/dmc/manager/tripsManager.vue
+8
-3
DateLimit.vue
src/components/public/DateLimit.vue
+12
-12
No files found.
src/components/FinancialModule/ConsolidationOfAccounts/index.vue
View file @
9976e2c5
...
...
@@ -105,13 +105,13 @@
<template
v-if=
"!heightQueryBox"
>
<el-col
:span=
"5"
>
<el-form-item
label=
"发团日期:"
>
<
!--
<
el-date-picker
class=
"h34"
<el-date-picker
class=
"h34"
v-model=
"missionDate"
@
change=
"timeAdd()"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
-->
<
StartDateLimit
:clearable=
"false"
:dateTime=
"missionDate"
@
change=
"(startDate,endDate)=>
{msg.QStartDate=startDate,msg.QEndDate=endDate}">
</StartDateLimit
>
</el-date-picker>
<
!--
<StartDateLimit
:clearable=
"false"
:dateTime=
"missionDate"
@
change=
"(startDate,endDate)=>
{msg.QStartDate=startDate,msg.QEndDate=endDate}">
</StartDateLimit>
--
>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
...
...
@@ -694,11 +694,11 @@
}
},
created
(){
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
missionDate
=
[
StartDate
,
EndDate
]
this
.
msg
.
QStartDate
=
this
.
missionDate
[
0
];
this
.
msg
.
QEndDate
=
this
.
missionDate
[
1
];
//
let StartDate = this.getBeforeDate(186, new Date().Format("yyyy-MM-dd"))
//
let EndDate = this.getBeforeDate(-1, new Date().Format("yyyy-MM-dd"))
//
this.missionDate = [StartDate, EndDate]
//
this.msg.QStartDate = this.missionDate[0];
//
this.msg.QEndDate = this.missionDate[1];
if
(
this
.
$route
.
query
.
pageIndex
){
this
.
msg
.
pageIndex
=
this
.
$route
.
query
.
pageIndex
;
}
...
...
src/components/FinancialModule/Kingdee/RecPayQuery.vue
View file @
9976e2c5
...
...
@@ -579,10 +579,10 @@
<
/el-col
>
<
el
-
col
:
span
=
"5"
>
<
el
-
form
-
item
:
label
=
"$t('fnc.jiaoyiriqi')"
>
<
!--
<
el
-
date
-
picker
class
=
"h34"
style
=
"width: 100%;"
v
-
model
=
"transactionDate"
@
change
=
"timeAdd(3)"
type
=
"daterange"
<
el
-
date
-
picker
class
=
"h34"
style
=
"width: 100%;"
v
-
model
=
"transactionDate"
@
change
=
"timeAdd(3)"
type
=
"daterange"
value
-
format
=
"yyyy-MM-dd"
>
<
/el-date-picker>
--
>
<
StartDateLimit
:
clearable
=
"false"
style
=
"width: 100%;"
:
dateTime
=
"transactionDate"
@
change
=
"(startDate,endDate)=>{msg.sTradeDate=startDate,msg.eTradeDate=endDate
}
"
><
/StartDateLimit
>
<
/el-date-picker
>
<
!--
<
StartDateLimit
:
clearable
=
"false"
style
=
"width: 100%;"
:
dateTime
=
"transactionDate"
@
change
=
"(startDate,endDate)=>{msg.sTradeDate=startDate,msg.eTradeDate=endDate
}
"
><
/StartDateLimit> --
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"3"
>
...
...
@@ -679,9 +679,10 @@
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
<
el
-
form
-
item
:
label
=
"$t('fnc.zdriqi')"
>
<
el
-
date
-
picker
style
=
"width: 100%;"
class
=
"h34"
@
change
=
"timeAdd(1)"
v
-
model
=
"productionDate"
type
=
"daterange"
<
!--
<
el
-
date
-
picker
style
=
"width: 100%;"
class
=
"h34"
@
change
=
"timeAdd(1)"
v
-
model
=
"productionDate"
type
=
"daterange"
value
-
format
=
"yyyy-MM-dd"
>
<
/el-date-picker
>
<
/el-date-picker> --
>
<
StartDateLimit
:
clearable
=
"false"
style
=
"width: 100%;"
:
dateTime
=
"productionDate"
@
change
=
"(startDate,endDate)=>{msg.sDate=startDate,msg.eDate=endDate
}
"
><
/StartDateLimit
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"6"
>
...
...
@@ -1071,7 +1072,11 @@
}
}
,
created
()
{
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
productionDate
=
[
StartDate
,
EndDate
]
this
.
msg
.
sDate
=
this
.
productionDate
[
0
];
this
.
msg
.
eDate
=
this
.
productionDate
[
1
];
}
,
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
...
...
src/components/FinancialModule/RecPayQuery.vue
View file @
9976e2c5
...
...
@@ -1082,7 +1082,7 @@
}
}
,
created
()
{
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
StartDate
=
this
.
getBeforeDate
(
365
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
productionDate
=
[
StartDate
,
EndDate
]
this
.
msg
.
sDate
=
this
.
productionDate
[
0
];
...
...
src/components/FinancialModule/RecPayQueryWB.vue
View file @
9976e2c5
...
...
@@ -258,12 +258,13 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('fnc.zdriqi')"
>
<el-date-picker
class=
"h34"
<
!--
<
el-date-picker
class=
"h34"
@
change=
"timeAdd(1)"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</el-date-picker>
-->
<StartDateLimit
:clearable=
"false"
:dateTime=
"productionDate"
@
change=
"(startDate,endDate)=>
{msg.QStartDate=startDate,msg.QEndDate=endDate}">
</StartDateLimit>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
...
...
@@ -278,13 +279,13 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('scen.sc_ftTime')"
>
<
!--
<
el-date-picker
class=
"h34"
<el-date-picker
class=
"h34"
v-model=
"missionDate"
@
change=
"timeAdd(4)"
type=
"daterange"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
-->
<
StartDateLimit
:clearable=
"false"
:dateTime=
"missionDate"
@
change=
"(startDate,endDate)=>
{msg.QStartDate=startDate,msg.QEndDate=endDate}">
</StartDateLimit
>
</el-date-picker>
<
!--
<StartDateLimit
:clearable=
"false"
:dateTime=
"missionDate"
@
change=
"(startDate,endDate)=>
{msg.QStartDate=startDate,msg.QEndDate=endDate}">
</StartDateLimit>
--
>
</el-form-item>
</el-col>
</
template
>
...
...
@@ -900,11 +901,16 @@ export default {
}
},
created
(){
// let StartDate = this.getBeforeDate(186, new Date().Format("yyyy-MM-dd"))
// let EndDate = this.getBeforeDate(-1, new Date().Format("yyyy-MM-dd"))
// this.missionDate = [StartDate, EndDate]
// this.msg.QStartDate = this.missionDate[0];
// this.msg.QEndDate = this.missionDate[1];
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
miss
ionDate
=
[
StartDate
,
EndDate
]
this
.
msg
.
QStartDate
=
this
.
miss
ionDate
[
0
];
this
.
msg
.
QEndDate
=
this
.
miss
ionDate
[
1
];
this
.
product
ionDate
=
[
StartDate
,
EndDate
]
this
.
msg
.
sDate
=
this
.
product
ionDate
[
0
];
this
.
msg
.
eDate
=
this
.
product
ionDate
[
1
];
if
(
this
.
$route
.
query
.
returnCode
){
this
.
active
=
this
.
$route
.
query
.
returnCode
;
this
.
msg
.
Conditon
=
this
.
$route
.
query
.
returnCode
;
...
...
src/components/FinancialModule/accDetail/AccountStatementDetail.vue
View file @
9976e2c5
...
...
@@ -119,14 +119,14 @@
</el-col>
<el-col
:span=
"8"
:gutter=
"35"
>
<el-form-item
:label=
"$t('fnc.a_hkfkriqi')"
>
<
!--
<
el-date-picker
class=
"h34"
<el-date-picker
class=
"h34"
@
change=
"timeAdd"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
:range-separator=
"$t('restaurant.res_To')"
>
</el-date-picker>
-->
<
StartDateLimit
:clearable=
"false"
:dateTime=
"productionDate"
@
change=
"(startDate,endDate)=>
{msg.sTradeDate=startDate,msg.eTradeDate=endDate}">
</StartDateLimit
>
</el-date-picker>
<
!--
<StartDateLimit
:clearable=
"false"
:dateTime=
"productionDate"
@
change=
"(startDate,endDate)=>
{msg.sTradeDate=startDate,msg.eTradeDate=endDate}">
</StartDateLimit>
--
>
</el-form-item>
</el-col>
...
...
@@ -281,11 +281,11 @@ export default {
}
},
created
(){
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
productionDate
=
[
StartDate
,
EndDate
]
this
.
msg
.
sTradeDate
=
this
.
productionDate
[
0
];
this
.
msg
.
eTradeDate
=
this
.
productionDate
[
1
];
//
let StartDate = this.getBeforeDate(186, new Date().Format("yyyy-MM-dd"))
//
let EndDate = this.getBeforeDate(-1, new Date().Format("yyyy-MM-dd"))
//
this.productionDate = [StartDate, EndDate]
//
this.msg.sTradeDate = this.productionDate[0];
//
this.msg.eTradeDate = this.productionDate[1];
this
.
userInfo
=
this
.
getLocalStorage
();
if
(
this
.
$route
.
query
.
DayReport
&&
this
.
$route
.
query
.
DayReport
==
'1'
){
this
.
msg
.
IsFromDayReport
=
1
;
...
...
src/components/FinancialModule/accDetail/CashAccDetail.vue
View file @
9976e2c5
...
...
@@ -113,14 +113,14 @@
<
/el-col
>
<
el
-
col
:
span
=
"8"
:
gutter
=
"35"
>
<
el
-
form
-
item
label
=
"发团日期"
>
<
!--
<
el
-
date
-
picker
class
=
"h34"
<
el
-
date
-
picker
class
=
"h34"
@
change
=
"timeAddByTC"
v
-
model
=
"productionDateByTC"
type
=
"daterange"
value
-
format
=
"yyyy-MM-dd"
:
range
-
separator
=
"$t('restaurant.res_To')"
>
<
/el-date-picker>
--
>
<
StartDateLimit
:
clearable
=
"false"
:
dateTime
=
"productionDateByTC"
@
change
=
"(startDate,endDate)=>{msg.QStartDate=startDate,msg.QEndDate=endDate
}
"
><
/StartDateLimit
>
<
/el-date-picker
>
<
!--
<
StartDateLimit
:
clearable
=
"false"
:
dateTime
=
"productionDateByTC"
@
change
=
"(startDate,endDate)=>{msg.QStartDate=startDate,msg.QEndDate=endDate
}
"
><
/StartDateLimit> --
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"4"
:
gutter
=
"35"
>
...
...
@@ -1036,11 +1036,11 @@ export default {
}
,
}
,
mounted
(){
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
productionDateByTC
=
[
StartDate
,
EndDate
]
this
.
msg
.
QStartDate
=
this
.
productionDateByTC
[
0
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
//
let StartDate = this.getBeforeDate(186, new Date().Format("yyyy-MM-dd"))
//
let EndDate = this.getBeforeDate(-1, new Date().Format("yyyy-MM-dd"))
//
this.productionDateByTC = [StartDate, EndDate]
//
this.msg.QStartDate = this.productionDateByTC[0];
//
this.msg.QEndDate = this.productionDateByTC[1];
this
.
getAccountTypeList
();
this
.
AccountType_post_GetList
();
...
...
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
9976e2c5
...
...
@@ -149,14 +149,14 @@
<
/el-col
>
<
el
-
col
:
span
=
"8"
:
gutter
=
"35"
>
<
el
-
form
-
item
label
=
"发团日期"
>
<
!--
<
el
-
date
-
picker
class
=
"h34"
<
el
-
date
-
picker
class
=
"h34"
@
change
=
"timeAddByTC"
v
-
model
=
"productionDateByTC"
type
=
"daterange"
value
-
format
=
"yyyy-MM-dd"
:
range
-
separator
=
"$t('restaurant.res_To')"
>
<
/el-date-picker>
--
>
<
StartDateLimit
:
clearable
=
"false"
:
dateTime
=
"productionDateByTC"
@
change
=
"(startDate,endDate)=>{msg.QStartDate=startDate,msg.QEndDate=endDate
}
"
><
/StartDateLimit
>
<
/el-date-picker
>
<
!--
<
StartDateLimit
:
clearable
=
"false"
:
dateTime
=
"productionDateByTC"
@
change
=
"(startDate,endDate)=>{msg.QStartDate=startDate,msg.QEndDate=endDate
}
"
><
/StartDateLimit> --
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"4"
:
gutter
=
"35"
>
...
...
@@ -572,11 +572,12 @@ export default {
}
}
,
created
(){
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
productionDateByTC
=
[
StartDate
,
EndDate
]
this
.
msg
.
QStartDate
=
this
.
productionDateByTC
[
0
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
// let StartDate = this.getBeforeDate(186, new Date().Format("yyyy-MM-dd"))
// let EndDate = this.getBeforeDate(-1, new Date().Format("yyyy-MM-dd"))
// this.productionDateByTC = [StartDate, EndDate]
// this.msg.QStartDate = this.productionDateByTC[0];
// this.msg.QEndDate = this.productionDateByTC[1];
this
.
userInfo
=
this
.
getLocalStorage
();
if
(
this
.
$route
.
query
.
DayReport
&&
this
.
$route
.
query
.
DayReport
==
'1'
){
this
.
msg
.
IsFromDayReport
=
1
;
...
...
src/components/FinancialModule/accDetail/GuideAccount.vue
View file @
9976e2c5
...
...
@@ -123,7 +123,7 @@
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"发团日期"
>
<
!--
<
el-date-picker
<el-date-picker
@
change=
"timeAddByTC"
v-model=
"productionDateByTC"
type=
"daterange"
...
...
@@ -131,8 +131,8 @@
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
value-format=
"yyyy-MM-dd"
></el-date-picker>
-->
<
StartDateLimit
:clearable=
"false"
:dateTime=
"productionDateByTC"
@
change=
"(startDate,endDate)=>
{msg.QStartDate=startDate,msg.QEndDate=endDate}">
</StartDateLimit
>
></el-date-picker>
<
!--
<StartDateLimit
:clearable=
"false"
:dateTime=
"productionDateByTC"
@
change=
"(startDate,endDate)=>
{msg.QStartDate=startDate,msg.QEndDate=endDate}">
</StartDateLimit>
--
>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"4"
:gutter=
"35"
>
...
...
@@ -898,11 +898,11 @@ export default {
},
},
mounted
(){
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
productionDateByTC
=
[
StartDate
,
EndDate
]
this
.
msg
.
QStartDate
=
this
.
productionDateByTC
[
0
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
//
let StartDate = this.getBeforeDate(186, new Date().Format("yyyy-MM-dd"))
//
let EndDate = this.getBeforeDate(-1, new Date().Format("yyyy-MM-dd"))
//
this.productionDateByTC = [StartDate, EndDate]
//
this.msg.QStartDate = this.productionDateByTC[0];
//
this.msg.QEndDate = this.productionDateByTC[1];
let
userInfo
=
this
.
getLocalStorage
();
let
ClientID
=
this
.
$route
.
query
.
ClientID
;
...
...
src/components/FinancialModule/accDetail/PoolAccDetail.vue
View file @
9976e2c5
...
...
@@ -97,14 +97,14 @@
<
/el-col
>
<
el
-
col
:
span
=
"8"
:
gutter
=
"35"
>
<
el
-
form
-
item
label
=
"发团日期"
>
<
!--
<
el
-
date
-
picker
class
=
"h34"
<
el
-
date
-
picker
class
=
"h34"
@
change
=
"timeAddByTC"
v
-
model
=
"productionDateByTC"
type
=
"daterange"
value
-
format
=
"yyyy-MM-dd"
:
range
-
separator
=
"$t('restaurant.res_To')"
>
<
/el-date-picker>
--
>
<
StartDateLimit
:
clearable
=
"false"
:
dateTime
=
"productionDateByTC"
@
change
=
"(startDate,endDate)=>{msg.QStartDate=startDate,msg.QEndDate=endDate
}
"
><
/StartDateLimit
>
<
/el-date-picker
>
<
!--
<
StartDateLimit
:
clearable
=
"false"
:
dateTime
=
"productionDateByTC"
@
change
=
"(startDate,endDate)=>{msg.QStartDate=startDate,msg.QEndDate=endDate
}
"
><
/StartDateLimit> --
>
<
/el-form-item
>
<
/el-col
>
<
el
-
col
:
span
=
"4"
:
gutter
=
"35"
>
...
...
@@ -1052,11 +1052,11 @@ export default {
}
,
}
,
mounted
(){
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
productionDateByTC
=
[
StartDate
,
EndDate
]
this
.
msg
.
QStartDate
=
this
.
productionDateByTC
[
0
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
]
//
let StartDate = this.getBeforeDate(186, new Date().Format("yyyy-MM-dd"))
//
let EndDate = this.getBeforeDate(-1, new Date().Format("yyyy-MM-dd"))
//
this.productionDateByTC = [StartDate, EndDate]
//
this.msg.QStartDate = this.productionDateByTC[0];
//
this.msg.QEndDate = this.productionDateByTC[1]
let
userInfo
=
this
.
getLocalStorage
();
this
.
getAccountTypeList
();
this
.
AccountType_post_GetList
();
...
...
src/components/SalesModule/enrollTotalTwo.vue
View file @
9976e2c5
...
...
@@ -56,17 +56,18 @@
</el-select>
</li>
<li><span><em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
<
!--
<el-date-picker
v-model=
'msg.QStartDate'
@
change=
"dataDuiQ()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
--
>
<
DateLimit
:clearable=
"false"
:EndGroupDate=
"msg.QEndDate"
@
change=
"(date)=>
{msg.QStartDate = date,dataDuiQ()}">
</DateLimit
>
<
el-date-picker
v-model=
'msg.QStartDate'
@
change=
"dataDuiQ()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker
>
<
!--
<DateLimit
:clearable=
"false"
:StartGroupDate=
"msg.QStartDate"
:EndGroupDate=
"msg.QEndDate"
@
change=
"(date)=>
{msg.QStartDate = date,dataDuiQ()}">
</DateLimit>
--
>
-
<el-date-picker
v-model=
'msg.QEndDate'
@
change=
"dataDuiQ()"
class=
'w135'
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<!--
<DateLimit
:EndGroupDate=
"msg.QEndDate"
@
change=
"(date)=>
{msg.QEndDate = date,dataDuiQ()}">
</DateLimit>
-->
<!--
<DateLimit
:
clearable=
"false"
:StartGroupDate=
"msg.QEndDate"
:
EndGroupDate=
"msg.QEndDate"
@
change=
"(date)=>
{msg.QEndDate = date,dataDuiQ()}">
</DateLimit>
-->
</span>
</li>
<li><span><em>
{{
$t
(
'fnc.bmriqi'
)
}}
</em>
<el-date-picker
v-model=
'msg.CStartDate'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<!--
<el-date-picker
v-model=
'msg.CStartDate'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
-->
<DateLimit
:clearable=
"false"
:StartGroupDate=
"msg.CStartDate"
:EndGroupDate=
"msg.CEndDate"
@
change=
"(date)=>
{msg.CStartDate = date,dataDuiQ()}">
</DateLimit>
-
<el-date-picker
v-model=
'msg.CEndDate'
@
change=
"dataDui()"
class=
'w135'
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
<el-date-picker
v-model=
'msg.CEndDate'
@
change=
"dataDui()"
class=
'w135'
:picker-options=
"pickerBeginDateAfterBM"
value-format=
"yyyy-MM-dd"
type=
"date"
></el-date-picker>
</span>
</li>
<li>
...
...
@@ -382,6 +383,12 @@
return
startTime
.
getTime
()
>=
time
.
getTime
();
}
},
pickerBeginDateAfterBM
:
{
disabledDate
:
time
=>
{
let
startTime
=
new
Date
(
this
.
msg
.
CStartDate
);
return
startTime
.
getTime
()
>=
time
.
getTime
();
}
},
normalizer
(
node
)
{
var
obj
=
{
id
:
node
.
DepartmentId
,
...
...
@@ -643,7 +650,9 @@
}
if
(
!
this
.
$route
.
query
||!
this
.
$route
.
query
.
starTime
){
let
StartDate
=
this
.
getBeforeDate
(
186
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
msg
.
QStartDate
=
StartDate
let
EndDate
=
this
.
getBeforeDate
(
-
1
,
new
Date
().
Format
(
"yyyy-MM-dd"
))
this
.
msg
.
CStartDate
=
StartDate
this
.
msg
.
CEndDate
=
EndDate
}
this
.
getList
();
},
...
...
src/components/SalesModule/productTicketLossList.vue
View file @
9976e2c5
...
...
@@ -294,7 +294,7 @@
<span><em>
{{ $t("hotel.hotel_StarDate") }}
</em>
<!-- <el-date-picker v-model="msg.StartTime" @change="dataDui()" class="w135" value-format="yyyy-MM-dd"
type="date"></el-date-picker> -->
<DateLimit
:clearable=
"false"
:EndGroupDate=
"msg.EndTime"
@
change=
"(date)=> {msg.StartTime = date,dataDui()}"
></DateLimit>
<DateLimit
:clearable=
"false"
:
StartGroupDate=
"msg.StartTime"
:
EndGroupDate=
"msg.EndTime"
@
change=
"(date)=> {msg.StartTime = date,dataDui()}"
></DateLimit>
-
<el-date-picker
v-model=
"msg.EndTime"
@
change=
"dataDui()"
class=
"w135"
value-format=
"yyyy-MM-dd"
type=
"date"
:picker-options=
"pickerBeginDateAfter"
></el-date-picker>
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
9976e2c5
...
...
@@ -183,7 +183,7 @@
<em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
<!--
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
-->
<DateLimit
:clearable=
"false"
:EndGroupDate=
"queryMsg.EndGroupDate"
@
change=
"(date)=> queryMsg.StartGroupDate = date"
></DateLimit>
<DateLimit
:clearable=
"false"
:
StartGroupDate=
"queryMsg.StartGroupDate"
:
EndGroupDate=
"queryMsg.EndGroupDate"
@
change=
"(date)=> queryMsg.StartGroupDate = date"
></DateLimit>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
...
...
src/components/dmc/manager/tripsManager.vue
View file @
9976e2c5
...
...
@@ -440,9 +440,10 @@
<li>
<span>
<em>
{{
$t
(
'scen.sc_ftTime'
)
}}
</em>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
<!--
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.StartGroupDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
-->
<DateLimit
:clearable=
"false"
:StartGroupDate=
"queryMsg.StartGroupDate"
:EndGroupDate=
"queryMsg.EndGroupDate"
@
change=
"(date)=> queryMsg.StartGroupDate = date"
></DateLimit>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"queryMsg.EndGroupDate"
:picker-options=
"pickerBeginDateAfter"
value-format=
"yyyy-MM-dd"
placeholder
></el-date-picker>
</span>
</li>
...
...
@@ -636,7 +637,11 @@
</div>
</template>
<
script
>
import
DateLimit
from
'../../public/DateLimit.vue'
;
export
default
{
components
:
{
DateLimit
},
data
()
{
return
{
ArrList
:
[],
...
...
src/components/public/DateLimit.vue
View file @
9976e2c5
<
template
>
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"S
tart
GroupDate"
<el-date-picker
class=
"w150"
type=
"date"
v-model=
"SGroupDate"
:picker-options=
"pickerBeginDateBefore"
value-format=
"yyyy-MM-dd"
placeholder
:clearable=
"clearable==false||clearable?clearable:true"
...
...
@@ -7,20 +7,20 @@
</
template
>
<
script
>
export
default
{
props
:[
'EndGroupDate'
,
'clearable'
],
props
:[
'
StartGroupDate'
,
'
EndGroupDate'
,
'clearable'
],
data
()
{
return
{
S
tart
GroupDate
:
''
,
SGroupDate
:
''
,
pickerBeginDateBefore
:
{
disabledDate
:
time
=>
{
if
(
this
.
EndGroupDate
){
if
(
this
.
EndGroupDate
==
null
)
{
if
(
this
.
S
tart
GroupDate
&&!
this
.
isQueryHistoryData
){
if
(
this
.
SGroupDate
&&!
this
.
isQueryHistoryData
){
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
return
false
;
}
else
{
if
(
this
.
S
tart
GroupDate
&&!
this
.
isQueryHistoryData
){
if
(
this
.
SGroupDate
&&!
this
.
isQueryHistoryData
){
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
else
{
...
...
@@ -29,7 +29,7 @@
}
}
}
else
{
if
(
this
.
S
tart
GroupDate
&&!
this
.
isQueryHistoryData
){
if
(
this
.
SGroupDate
&&!
this
.
isQueryHistoryData
){
let
endTime
=
this
.
TourDateRestrictions
()
return
time
&&
endTime
.
getTime
()
>=
time
.
getTime
();
}
...
...
@@ -48,7 +48,7 @@
"-"
+
myDate
.
getDate
();
if
(
!
this
.
$route
.
query
.
tcmun
)
{
this
.
S
tart
GroupDate
=
nowDate
;
this
.
SGroupDate
=
nowDate
;
}
},
mounted
()
{
...
...
@@ -57,22 +57,22 @@
watch
:
{
EndGroupDate
:{
handler
(
n
,
o
){
this
.
EGroupDate
=
n
},
deep
:
false
,
immediate
:
true
,
},
StartGroupDate
:{
handler
(
n
,
o
){
this
.
SGroupDate
=
n
},
deep
:
tru
e
,
immediate
:
fals
e
,
deep
:
fals
e
,
immediate
:
tru
e
,
}
},
methods
:
{
getTime
()
{
this
.
$emit
(
'change'
,
this
.
S
tart
GroupDate
)
this
.
$emit
(
'change'
,
this
.
SGroupDate
)
},
GetSupperOrderEditAuth
()
{
var
actiionContract
=
this
.
$AuthCode
.
isQueryHistoryData
;
...
...
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