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
fcc7f3b2
Commit
fcc7f3b2
authored
May 24, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
8639c6a8
a46e4064
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
1480 additions
and
1245 deletions
+1480
-1245
CashAccount.vue
src/components/FinancialModule/CashAccount.vue
+7
-1
CompanyAccount.vue
src/components/FinancialModule/CompanyAccount.vue
+23
-3
PlatformAccount.vue
src/components/FinancialModule/PlatformAccount.vue
+32
-3
PoolAccount.vue
src/components/FinancialModule/PoolAccount.vue
+7
-1
LineReceiver.vue
src/components/FinancialModule/ReportForm/LineReceiver.vue
+109
-0
CashAccDetail.vue
src/components/FinancialModule/accDetail/CashAccDetail.vue
+20
-2
CompanyAccDetail.vue
...components/FinancialModule/accDetail/CompanyAccDetail.vue
+27
-7
PlatformAccDetail.vue
...omponents/FinancialModule/accDetail/PlatformAccDetail.vue
+21
-3
PoolAccDetail.vue
src/components/FinancialModule/accDetail/PoolAccDetail.vue
+22
-2
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+27
-0
ChangeHotel.vue
src/components/Hotel/ChangeHotel.vue
+206
-291
roomReservationsDetails.vue
src/components/Hotel/roomReservationsDetails.vue
+4
-1
AttendanceRules.vue
src/components/administrative/AttendanceRules.vue
+965
-931
statisticsCheckTime.vue
src/components/administrative/statisticsCheckTime.vue
+2
-0
config.js
src/router/config.js
+8
-0
No files found.
src/components/FinancialModule/CashAccount.vue
View file @
fcc7f3b2
...
@@ -113,7 +113,8 @@
...
@@ -113,7 +113,8 @@
<span>
<span>
<span
v-if=
"item.IsStandardCurrency!=1"
>
{{
item
.
showB
?
item
.
StandardCurrencyCode
:
item
.
CurrencyCode
}}
</span>
<span
v-if=
"item.IsStandardCurrency!=1"
>
{{
item
.
showB
?
item
.
StandardCurrencyCode
:
item
.
CurrencyCode
}}
</span>
<span
v-else
>
{{
item
.
StandardCurrencyCode
}}
</span>
<span
v-else
>
{{
item
.
StandardCurrencyCode
}}
</span>
<span
class=
"fc_green PingFangSC _underline"
@
click=
"item.IsStandardCurrency!=1?goUrl('FineBalance',item.ID,item.Alias):''"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
<!--
<span
class=
"fc_green PingFangSC _underline"
@
click=
"item.IsStandardCurrency!=1?goUrl('FineBalance',item.ID,item.Alias):''"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
-->
<span
class=
"fc_green PingFangSC _underline"
@
click=
"goUrlNew(item)"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
<span
class=
"iconfont icon-qiehuan"
@
click=
"item.showB=!item.showB"
v-if=
"item.IsStandardCurrency!=1"
></span>
<span
class=
"iconfont icon-qiehuan"
@
click=
"item.showB=!item.showB"
v-if=
"item.IsStandardCurrency!=1"
></span>
<span
v-if=
"item.IsStandardCurrency!=1"
class=
"iconfont icon-ico-renwuyaoqiu"
></span>
<span
v-if=
"item.IsStandardCurrency!=1"
class=
"iconfont icon-ico-renwuyaoqiu"
></span>
</span>
</span>
...
@@ -436,6 +437,11 @@ export default {
...
@@ -436,6 +437,11 @@ export default {
costType
:[],
costType
:[],
}
}
},
methods
:{
},
methods
:{
goUrlNew
(
item
)
{
// console.log(item);
let
path
=
"CashAccDetail"
;
this
.
$router
.
push
({
name
:
path
,
query
:{
"TypeId"
:
item
.
TypeId
,
'ID'
:
item
.
ID
,
blank
:
"y"
,}})
},
regNum
(
n
,
t
){
// 判断数字 n 值 t 类型
regNum
(
n
,
t
){
// 判断数字 n 值 t 类型
let
reg
=
/^
\d
+
(\.\d{0,6})?
$/
let
reg
=
/^
\d
+
(\.\d{0,6})?
$/
if
(
!
n
)
return
0
if
(
!
n
)
return
0
...
...
src/components/FinancialModule/CompanyAccount.vue
View file @
fcc7f3b2
...
@@ -148,7 +148,8 @@
...
@@ -148,7 +148,8 @@
<span>
<span>
<span
v-if=
"item.IsStandardCurrency!=1"
>
{{
item
.
showB
?
item
.
StandardCurrencyCode
:
item
.
CurrencyCode
}}
</span>
<span
v-if=
"item.IsStandardCurrency!=1"
>
{{
item
.
showB
?
item
.
StandardCurrencyCode
:
item
.
CurrencyCode
}}
</span>
<span
v-else
>
{{
item
.
StandardCurrencyCode
}}
</span>
<span
v-else
>
{{
item
.
StandardCurrencyCode
}}
</span>
<span
class=
"fc_green PingFangSC _underline"
@
click=
"item.IsStandardCurrency!=1?goUrl('FineBalance',item.ID,item.Alias):''"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
<!--
<span
class=
"fc_green PingFangSC _underline"
@
click=
"item.IsStandardCurrency!=1?goUrl('FineBalance',item.ID,item.Alias):''"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
-->
<span
class=
"fc_green PingFangSC _underline"
@
click=
"goUrlNew(item)"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
<span
class=
"iconfont icon-qiehuan"
@
click=
"item.showB=!item.showB"
v-if=
"item.IsStandardCurrency!=1"
></span>
<span
class=
"iconfont icon-qiehuan"
@
click=
"item.showB=!item.showB"
v-if=
"item.IsStandardCurrency!=1"
></span>
<span
v-if=
"item.IsStandardCurrency!=1"
class=
"iconfont icon-ico-renwuyaoqiu"
></span>
<span
v-if=
"item.IsStandardCurrency!=1"
class=
"iconfont icon-ico-renwuyaoqiu"
></span>
</span>
</span>
...
@@ -338,6 +339,16 @@
...
@@ -338,6 +339,16 @@
<el-input
v-model=
"addMsg.RiskLowerLimitMoney"
type=
"number"
class=
""
></el-input>
<el-input
v-model=
"addMsg.RiskLowerLimitMoney"
type=
"number"
class=
""
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"初始本位币金额"
>
<el-input
v-model=
"addMsg.AccountStartWBMoney"
type=
"number"
class
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"初始原币金额"
>
<el-input
v-model=
"addMsg.AccountStartMoney"
type=
"number"
class
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
</div>
</div>
...
@@ -421,7 +432,9 @@ export default {
...
@@ -421,7 +432,9 @@ export default {
BranchIdS
:
0
,
BranchIdS
:
0
,
OutCharge
:
0
,
OutCharge
:
0
,
InCharge
:
0
,
InCharge
:
0
,
RiskLowerLimitMoney
:
''
RiskLowerLimitMoney
:
''
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
},
},
getCompanyMsg
:{
getCompanyMsg
:{
RB_Group_Id
:
'0'
,
RB_Group_Id
:
'0'
,
...
@@ -575,6 +588,11 @@ export default {
...
@@ -575,6 +588,11 @@ export default {
this
.
showEmployeeList2
=
[];
this
.
showEmployeeList2
=
[];
}
}
},
},
goUrlNew
(
item
)
{
console
.
log
(
"1223"
,
item
)
let
path
=
"CompanyAccDetail"
;
this
.
$router
.
push
({
name
:
path
,
query
:{
"TypeId"
:
item
.
TypeId
,
'ID'
:
item
.
ID
,
blank
:
"y"
,}})
},
goUrl
(
path
,
id
,
name
,
source
,
CurrencyId
)
{
goUrl
(
path
,
id
,
name
,
source
,
CurrencyId
)
{
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
'name'
:
name
,
'source'
:
source
,
'CurrencyId'
:
CurrencyId
}})
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
'name'
:
name
,
'source'
:
source
,
'CurrencyId'
:
CurrencyId
}})
},
},
...
@@ -658,7 +676,9 @@ export default {
...
@@ -658,7 +676,9 @@ export default {
BranchIdS
:
0
,
BranchIdS
:
0
,
OutCharge
:
0
,
OutCharge
:
0
,
InCharge
:
0
,
InCharge
:
0
,
RiskLowerLimitMoney
:
''
RiskLowerLimitMoney
:
''
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
}
}
this
.
SetProfitLossMsg
=
{
this
.
SetProfitLossMsg
=
{
ID
:
0
,
ID
:
0
,
...
...
src/components/FinancialModule/PlatformAccount.vue
View file @
fcc7f3b2
...
@@ -231,6 +231,7 @@
...
@@ -231,6 +231,7 @@
sort-always
sort-always
@
sort-change=
"sortChange"
@
sort-change=
"sortChange"
@
on-custom-comp=
'customCompFunc'
@
on-custom-comp=
'customCompFunc'
:row-click=
"rowClick"
></v-table>
></v-table>
<div
class=
"_vMG_edit _scrollbar"
v-if=
"addShow"
:class=
"addShow==true?'edHeight':''"
>
<div
class=
"_vMG_edit _scrollbar"
v-if=
"addShow"
:class=
"addShow==true?'edHeight':''"
>
<el-row>
<el-row>
...
@@ -459,6 +460,16 @@
...
@@ -459,6 +460,16 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"初始本位币金额"
>
<el-input
v-model=
"addMsg.AccountStartWBMoney"
type=
"number"
class
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
:gutter=
"35"
>
<el-form-item
label=
"初始原币金额"
>
<el-input
v-model=
"addMsg.AccountStartMoney"
type=
"number"
class
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-row>
<el-row>
<el-row>
<el-col
:span=
"24"
:gutter=
"35"
>
<el-col
:span=
"24"
:gutter=
"35"
>
...
@@ -596,7 +607,10 @@ export default {
...
@@ -596,7 +607,10 @@ export default {
Remark
:
''
,
Remark
:
''
,
BindBankID
:
null
,
BindBankID
:
null
,
HaveContract
:
'0'
,
HaveContract
:
'0'
,
ContraceDateRange
:
''
ContraceDateRange
:
''
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
},
},
getCompanyMsg
:
{
getCompanyMsg
:
{
RB_Group_Id
:
"0"
,
RB_Group_Id
:
"0"
,
...
@@ -708,6 +722,19 @@ export default {
...
@@ -708,6 +722,19 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
rowClick
(
rowIndex
,
rowData
,
column
){
let
path
=
'PlatformAccDetail'
;
if
(
column
.
title
==
"账户余额"
){
this
.
$router
.
push
({
name
:
path
,
query
:
{
TypeId
:
rowData
.
TypeId
,
ID
:
rowData
.
ID
,
blank
:
"y"
,
}
});
}
},
remoteQueryBankMethod
(
query
){
remoteQueryBankMethod
(
query
){
if
(
query
!=
''
){
if
(
query
!=
''
){
this
.
remoteLoading
=
true
this
.
remoteLoading
=
true
...
@@ -931,7 +958,6 @@ export default {
...
@@ -931,7 +958,6 @@ export default {
this
.
getList
();
this
.
getList
();
},
},
filterMethod
(
filters
)
{
filterMethod
(
filters
)
{
console
.
log
(
"filter"
,
filters
);
this
.
msg
.
Alias
=
filters
.
Alias
;
this
.
msg
.
Alias
=
filters
.
Alias
;
this
.
msg
.
RB_Branch_Id
=
filters
.
allName
;
this
.
msg
.
RB_Branch_Id
=
filters
.
allName
;
this
.
msg
.
SettlementType
=
this
.
msg
.
SettlementType
=
...
@@ -1107,6 +1133,7 @@ export default {
...
@@ -1107,6 +1133,7 @@ export default {
this
.
remoteMethod
(
data
.
InemName
);
this
.
remoteMethod
(
data
.
InemName
);
this
.
remoteMethod2
(
data
.
OutemName
);
this
.
remoteMethod2
(
data
.
OutemName
);
this
.
addMsg
=
data
;
this
.
addMsg
=
data
;
// console.log("this.addMsg",this.addMsg)
this
.
addMsg
.
HaveContract
=
this
.
addMsg
.
HaveContract
.
toString
()
this
.
addMsg
.
HaveContract
=
this
.
addMsg
.
HaveContract
.
toString
()
this
.
addMsg
.
SettlementType
=
this
.
addMsg
.
SettlementType
.
toString
()
this
.
addMsg
.
SettlementType
=
this
.
addMsg
.
SettlementType
.
toString
()
this
.
addMsg
.
BindBankID
=
this
.
addMsg
.
BindBankID
==-
1
?
null
:
this
.
addMsg
.
BindBankID
this
.
addMsg
.
BindBankID
=
this
.
addMsg
.
BindBankID
==-
1
?
null
:
this
.
addMsg
.
BindBankID
...
@@ -1135,7 +1162,9 @@ export default {
...
@@ -1135,7 +1162,9 @@ export default {
BranchIdS
:
0
,
BranchIdS
:
0
,
OutCharge
:
0
,
OutCharge
:
0
,
InCharge
:
0
,
InCharge
:
0
,
RiskLowerLimitMoney
:
""
RiskLowerLimitMoney
:
""
,
AccountStartMoney
:
0
,
AccountStartWBMoney
:
0
,
};
};
this
.
SetProfitLossMsg
=
{
this
.
SetProfitLossMsg
=
{
ID
:
0
,
ID
:
0
,
...
...
src/components/FinancialModule/PoolAccount.vue
View file @
fcc7f3b2
...
@@ -114,7 +114,8 @@
...
@@ -114,7 +114,8 @@
<span>
<span>
<span
v-if=
"item.IsStandardCurrency!=1"
>
{{
item
.
showB
?
item
.
StandardCurrencyCode
:
item
.
CurrencyCode
}}
</span>
<span
v-if=
"item.IsStandardCurrency!=1"
>
{{
item
.
showB
?
item
.
StandardCurrencyCode
:
item
.
CurrencyCode
}}
</span>
<span
v-else
>
{{
item
.
StandardCurrencyCode
}}
</span>
<span
v-else
>
{{
item
.
StandardCurrencyCode
}}
</span>
<span
class=
"fc_green PingFangSC _underline"
@
click=
"item.IsStandardCurrency!=1?goUrl('FineBalance',item.ID,item.Alias):''"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
<!--
<span
class=
"fc_green PingFangSC _underline"
@
click=
"item.IsStandardCurrency!=1?goUrl('FineBalance',item.ID,item.Alias):''"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
-->
<span
class=
"fc_green PingFangSC _underline"
@
click=
"goUrlNew(item)"
>
{{
item
.
showB
?
moneyFormat
(
item
.
benBalance
):
moneyFormat
(
item
.
Initialbalance
)
}}
</span>
<span
class=
"iconfont icon-qiehuan"
@
click=
"item.showB=!item.showB"
v-if=
"item.IsStandardCurrency!=1"
></span>
<span
class=
"iconfont icon-qiehuan"
@
click=
"item.showB=!item.showB"
v-if=
"item.IsStandardCurrency!=1"
></span>
<span
v-if=
"item.IsStandardCurrency!=1"
class=
"iconfont icon-ico-renwuyaoqiu"
></span>
<span
v-if=
"item.IsStandardCurrency!=1"
class=
"iconfont icon-ico-renwuyaoqiu"
></span>
</span>
</span>
...
@@ -432,6 +433,11 @@ export default {
...
@@ -432,6 +433,11 @@ export default {
Charge
:
1
Charge
:
1
}
}
},
methods
:{
},
methods
:{
goUrlNew
(
item
)
{
console
.
log
(
item
);
let
path
=
"PoolAccDetail"
;
this
.
$router
.
push
({
name
:
path
,
query
:{
"TypeId"
:
item
.
TypeId
,
'ID'
:
item
.
ID
,
blank
:
"y"
,}})
},
remoteMethod
(
query
)
{
remoteMethod
(
query
)
{
if
(
query
!==
''
)
{
if
(
query
!==
''
)
{
this
.
loadingPeople
=
true
this
.
loadingPeople
=
true
...
...
src/components/FinancialModule/ReportForm/LineReceiver.vue
0 → 100644
View file @
fcc7f3b2
<
style
scoped
>
.LineReceiver
.el-form-item
{
display
:
inline-block
;
}
</
style
>
<
template
>
<div
class=
"LineReceiver"
>
<div>
<el-form>
<el-form-item
label=
"收客日期"
>
<el-date-picker
size=
"small"
@
change=
"timeAdd"
v-model=
"productionDate"
type=
"daterange"
value-format=
"yyyy-MM-dd"
:range-separator=
"$t('restaurant.res_To')"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
</el-form-item>
</el-form>
</div>
<div>
<el-table
:data=
"List"
stripe
border
>
<el-table-column
fixed
prop=
"BranchName"
label=
"公司名称"
min-width=
"100"
>
</el-table-column>
<el-table-column
min-width=
"130"
@
sort-by=
"SortBy"
sortable
v-for=
'(item,index) in newArr'
:prop=
'item.Rank'
:label=
"item.title"
:key=
'index'
>
<template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
[
item
.
Rank
]
}}
(
{{
scope
.
row
[
item
.
value
]
}}
)
</p>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
</template>
<
script
>
import
moment
from
"moment"
export
default
{
data
(){
return
{
productionDate
:[],
msg
:{
StartTime
:
""
,
EndTime
:
""
,
},
ColList
:[],
List
:[],
newArr
:[],
}
},
created
(){
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
msg
.
StartTime
=
this
.
productionDate
[
0
];
this
.
msg
.
EndTime
=
this
.
productionDate
[
1
];
},
mounted
(){
this
.
getList
();
},
methods
:{
SortBy
(){
},
timeAdd
(){
if
(
!
this
.
productionDate
){
this
.
msg
.
StartTime
=
""
;
this
.
msg
.
EndTime
=
""
;
}
else
{
this
.
msg
.
StartTime
=
this
.
productionDate
[
0
];
this
.
msg
.
EndTime
=
this
.
productionDate
[
1
];
}
},
getList
(){
this
.
apipost
(
'financestatistics_post_GetCompanyLineGuestList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
ColList
=
res
.
data
.
data
.
ColList
;
this
.
List
=
res
.
data
.
data
.
List
;
console
.
log
(
"this.ColList"
,
this
.
ColList
);
console
.
log
(
"this.List"
,
this
.
List
);
for
(
let
i
=
1
;
i
<
this
.
ColList
.
length
;
i
++
)
{
this
.
newArr
.
push
({
"Rank"
:
this
.
ColList
[
i
].
Sort
,
'value'
:
this
.
ColList
[
i
].
Col
,
"title"
:
this
.
ColList
[
i
].
Name
,
})
}
console
.
log
(
"this.newArr"
,
this
.
newArr
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{})
},
}
}
</
script
>
\ No newline at end of file
src/components/FinancialModule/accDetail/CashAccDetail.vue
View file @
fcc7f3b2
...
@@ -364,6 +364,7 @@
...
@@ -364,6 +364,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
moment
from
"moment"
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -446,7 +447,7 @@ export default {
...
@@ -446,7 +447,7 @@ export default {
allWPrice
:
0
,
allWPrice
:
0
,
}
}
},
created
(){
},
created
(){
if
(
this
.
$route
.
query
.
TypeId
){
if
(
this
.
$route
.
query
.
TypeId
&&!
this
.
$route
.
query
.
ID
){
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
;
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
;
...
@@ -456,6 +457,23 @@ export default {
...
@@ -456,6 +457,23 @@ export default {
this
.
getList
();
this
.
getList
();
this
.
BankAccount_post_GetCashAccountList
(
"query"
);
this
.
BankAccount_post_GetCashAccountList
(
"query"
);
}
}
if
(
this
.
$route
.
query
.
ID
){
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
)?
parseInt
(
this
.
$route
.
query
.
TypeId
):
''
;
this
.
AccountId
=
parseInt
(
this
.
$route
.
query
.
ID
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
msg
.
sTradeDate
=
mon2
;
this
.
msg
.
eTradeDate
=
mon1
;
this
.
msg
.
BankList
=
[];
this
.
msg
.
BankList
.
push
({
Type
:
this
.
Type
,
AccountId
:
this
.
AccountId
})
this
.
bankaccount_post_GetList
();
this
.
getList
();
}
},
methods
:{
},
methods
:{
addChuNaFun
(){
// 添加出纳按钮点击事件
addChuNaFun
(){
// 添加出纳按钮点击事件
let
count
=
0
;
let
count
=
0
;
...
@@ -798,7 +816,7 @@ export default {
...
@@ -798,7 +816,7 @@ export default {
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
},
},
bankaccount_post_GetList
(){
// 获取银行账户
bankaccount_post_GetList
(){
// 获取银行账户
this
.
AccountId
=
''
;
//
this.AccountId = '';
let
msg
=
{
let
msg
=
{
TypeId
:
this
.
accType
,
TypeId
:
this
.
accType
,
BranchId
:
-
1
,
BranchId
:
-
1
,
...
...
src/components/FinancialModule/accDetail/CompanyAccDetail.vue
View file @
fcc7f3b2
...
@@ -331,6 +331,7 @@
...
@@ -331,6 +331,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
moment
from
"moment"
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -399,16 +400,33 @@ export default {
...
@@ -399,16 +400,33 @@ export default {
allWPrice
:
0
,
allWPrice
:
0
,
}
}
},
created
(){
},
created
(){
if
(
this
.
$route
.
query
.
TypeId
){
if
(
this
.
$route
.
query
.
TypeId
&&!
this
.
$route
.
query
.
ID
){
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
;
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
?
this
.
$route
.
query
.
sTradeDate
:
""
;
this
.
msg
.
eTradeDate
=
this
.
$route
.
query
.
eTradeDate
;
this
.
msg
.
eTradeDate
=
this
.
$route
.
query
.
eTradeDate
?
this
.
$route
.
query
.
eTradeDate
:
""
;
this
.
productionDate
=
[
this
.
msg
.
sTradeDate
,
this
.
msg
.
eTradeDate
];
this
.
productionDate
=
[
this
.
msg
.
sTradeDate
,
this
.
msg
.
eTradeDate
];
this
.
productionDateByTC
=
[
this
.
msg
.
QStartDate
,
this
.
msg
.
QEndDate
];
this
.
productionDateByTC
=
[
this
.
msg
.
QStartDate
,
this
.
msg
.
QEndDate
];
this
.
getList
();
this
.
getList
();
this
.
bankaccount_post_GetListS
(
"query"
);
this
.
bankaccount_post_GetListS
(
"query"
);
}
}
if
(
this
.
$route
.
query
.
ID
){
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
AccountId
=
parseInt
(
this
.
$route
.
query
.
ID
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
msg
.
sTradeDate
=
mon2
;
this
.
msg
.
eTradeDate
=
mon1
;
this
.
msg
.
BankList
=
[];
this
.
msg
.
BankList
.
push
({
Type
:
this
.
Type
,
AccountId
:
this
.
AccountId
})
this
.
bankaccount_post_GetList
();
this
.
getList
();
}
},
methods
:{
},
methods
:{
goUrl
(
path
,
id
){
goUrl
(
path
,
id
){
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
blank
:
'y'
}
})
...
@@ -453,7 +471,7 @@ export default {
...
@@ -453,7 +471,7 @@ export default {
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
},
},
bankaccount_post_GetList
(){
// 获取银行账户
bankaccount_post_GetList
(){
// 获取银行账户
this
.
AccountId
=
''
;
//
this.AccountId = '';
this
.
apipost
(
'bankaccount_post_GetList'
,{
TypeId
:
this
.
accType
},
res
=>
{
this
.
apipost
(
'bankaccount_post_GetList'
,{
TypeId
:
this
.
accType
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
...
@@ -487,7 +505,7 @@ export default {
...
@@ -487,7 +505,7 @@ export default {
},
err
=>
{})
},
err
=>
{})
},
},
getList
(){
//获取列表
getList
(){
//获取列表
this
.
loading
=
true
//
this.loading = true
if
(
this
.
msg
.
ClientID
==
''
){
if
(
this
.
msg
.
ClientID
==
''
){
this
.
msg
.
ClientID
=
0
;
this
.
msg
.
ClientID
=
0
;
}
}
...
@@ -500,6 +518,8 @@ export default {
...
@@ -500,6 +518,8 @@ export default {
}
}
this
.
allMoney
=
''
;
this
.
allMoney
=
''
;
this
.
apipost
(
'Financial_post_GetAccountDetailList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'Financial_post_GetAccountDetailList'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
if
(
data
.
length
){
if
(
data
.
length
){
...
@@ -534,7 +554,7 @@ export default {
...
@@ -534,7 +554,7 @@ export default {
})
})
});
});
this
.
DataList
=
data
this
.
DataList
=
data
this
.
loading
=
false
;
if
(
this
.
msg
.
ClientID
==
0
){
if
(
this
.
msg
.
ClientID
==
0
){
this
.
msg
.
ClientID
=
''
;
this
.
msg
.
ClientID
=
''
;
}
}
...
...
src/components/FinancialModule/accDetail/PlatformAccDetail.vue
View file @
fcc7f3b2
...
@@ -311,6 +311,7 @@
...
@@ -311,6 +311,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
moment
from
'moment'
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -328,7 +329,7 @@ export default {
...
@@ -328,7 +329,7 @@ export default {
AccountNumber
:
''
AccountNumber
:
''
},
},
Type
:
2
,
Type
:
2
,
AccountId
:
''
,
AccountId
:
""
,
DataList
:[],
DataList
:[],
StartMoney
:
0
,
StartMoney
:
0
,
AccountTypeList
:[],
AccountTypeList
:[],
...
@@ -380,7 +381,7 @@ export default {
...
@@ -380,7 +381,7 @@ export default {
allWPrice
:
0
,
allWPrice
:
0
,
}
}
},
created
(){
},
created
(){
if
(
this
.
$route
.
query
.
TypeId
){
if
(
this
.
$route
.
query
.
TypeId
&&!
this
.
$route
.
query
.
ID
){
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
;
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
;
...
@@ -390,6 +391,23 @@ export default {
...
@@ -390,6 +391,23 @@ export default {
this
.
getList
();
this
.
getList
();
this
.
BankAccount_post_GetPlatformList
(
"query"
);
this
.
BankAccount_post_GetPlatformList
(
"query"
);
}
}
if
(
this
.
$route
.
query
.
ID
){
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
)?
parseInt
(
this
.
$route
.
query
.
TypeId
):
""
;
this
.
AccountId
=
parseInt
(
this
.
$route
.
query
.
ID
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
msg
.
sTradeDate
=
mon2
;
this
.
msg
.
eTradeDate
=
mon1
;
this
.
msg
.
BankList
=
[];
this
.
msg
.
BankList
.
push
({
Type
:
this
.
Type
,
AccountId
:
this
.
AccountId
})
this
.
bankaccount_post_GetList
();
this
.
getList
();
}
},
methods
:{
},
methods
:{
goUrl
(
path
,
id
){
goUrl
(
path
,
id
){
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
blank
:
'y'
}
})
...
@@ -434,7 +452,7 @@ export default {
...
@@ -434,7 +452,7 @@ export default {
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
},
},
bankaccount_post_GetList
(){
// 获取平台账户
bankaccount_post_GetList
(){
// 获取平台账户
this
.
AccountId
=
''
;
//
this.AccountId = '';
let
msg
=
{
let
msg
=
{
BackId
:
0
,
BackId
:
0
,
TypeId
:
this
.
accType
,
TypeId
:
this
.
accType
,
...
...
src/components/FinancialModule/accDetail/PoolAccDetail.vue
View file @
fcc7f3b2
...
@@ -341,6 +341,7 @@
...
@@ -341,6 +341,7 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
moment
from
"moment"
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
...
@@ -410,7 +411,7 @@ export default {
...
@@ -410,7 +411,7 @@ export default {
allWPrice
:
0
,
allWPrice
:
0
,
}
}
},
created
(){
},
created
(){
if
(
this
.
$route
.
query
.
TypeId
){
if
(
this
.
$route
.
query
.
TypeId
&&!
this
.
$route
.
query
.
ID
){
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
msg
.
Is_Cashier
=
parseInt
(
this
.
$route
.
query
.
Is_Cashier
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
);
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
;
this
.
msg
.
sTradeDate
=
this
.
$route
.
query
.
sTradeDate
;
...
@@ -420,6 +421,24 @@ export default {
...
@@ -420,6 +421,24 @@ export default {
this
.
getList
();
this
.
getList
();
this
.
BankAccount_post_GetCashPoolList
(
"query"
);
this
.
BankAccount_post_GetCashPoolList
(
"query"
);
}
}
if
(
this
.
$route
.
query
.
ID
){
this
.
accType
=
parseInt
(
this
.
$route
.
query
.
TypeId
)?
parseInt
(
this
.
$route
.
query
.
TypeId
):
0
;
this
.
AccountId
=
parseInt
(
this
.
$route
.
query
.
ID
);
let
mon1
=
moment
().
format
(
"YYYY-MM-DD"
);
let
mon2
=
moment
().
subtract
(
1
,
"months"
).
format
(
"YYYY-MM-DD"
);
this
.
productionDate
=
[
mon2
,
mon1
];
this
.
msg
.
sTradeDate
=
mon2
;
this
.
msg
.
eTradeDate
=
mon1
;
this
.
msg
.
BankList
=
[];
this
.
msg
.
BankList
.
push
({
Type
:
this
.
Type
,
AccountId
:
this
.
AccountId
})
this
.
bankaccount_post_GetList
();
this
.
getList
();
}
},
methods
:{
},
methods
:{
goUrl
(
path
,
id
){
goUrl
(
path
,
id
){
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
path
,
query
:{
"id"
:
id
,
blank
:
'y'
}
})
...
@@ -469,7 +488,7 @@ export default {
...
@@ -469,7 +488,7 @@ export default {
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
this
.
msg
.
QEndDate
=
this
.
productionDateByTC
[
1
];
},
},
bankaccount_post_GetList
(){
// 获取银行账户
bankaccount_post_GetList
(){
// 获取银行账户
this
.
AccountId
=
''
;
//
this.AccountId = '';
let
msg
=
{
let
msg
=
{
TypeId
:
this
.
accType
,
TypeId
:
this
.
accType
,
BranchId
:
-
1
,
BranchId
:
-
1
,
...
@@ -514,6 +533,7 @@ export default {
...
@@ -514,6 +533,7 @@ export default {
this
.
endStartMoney
=
''
;
this
.
endStartMoney
=
''
;
this
.
endRStartMoney
=
''
;
this
.
endRStartMoney
=
''
;
this
.
apipost
(
'Financial_post_GetAccountDetailList'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'Financial_post_GetAccountDetailList'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
if
(
data
.
length
){
if
(
data
.
length
){
...
...
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
fcc7f3b2
...
@@ -1430,12 +1430,15 @@ export default {
...
@@ -1430,12 +1430,15 @@ export default {
getCompany
(){
// 获取公司
getCompany
(){
// 获取公司
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
companyMsg
,
res
=>
{
this
.
apipost
(
'admin_get_BranchGetList'
,
this
.
companyMsg
,
res
=>
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
let
Status
=
false
;
if
(
this
.
$route
.
query
.
companyID
!==
'-1'
&&
this
.
$route
.
query
.
companyID
!==
undefined
){
if
(
this
.
$route
.
query
.
companyID
!==
'-1'
&&
this
.
$route
.
query
.
companyID
!==
undefined
){
Status
=
true
;
data
.
forEach
(
x
=>
{
data
.
forEach
(
x
=>
{
x
.
disabled
=
true
;
x
.
disabled
=
true
;
})
})
}
}
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
Status
=
true
;
this
.
orderObj
.
companyIDList
.
forEach
(
x
=>
{
this
.
orderObj
.
companyIDList
.
forEach
(
x
=>
{
data
.
forEach
(
y
=>
{
data
.
forEach
(
y
=>
{
if
(
y
.
disabled
===
false
){
if
(
y
.
disabled
===
false
){
...
@@ -1447,6 +1450,30 @@ export default {
...
@@ -1447,6 +1450,30 @@ export default {
});
});
}
}
this
.
companyList
=
data
;
this
.
companyList
=
data
;
if
(
!
Status
){
let
id
=
this
.
$route
.
query
.
id
;
this
.
apipost
(
'FinancialFlowTemplate_post_GetTemplateBranch'
,
{
ID
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
resdata
=
res
.
data
.
data
;
if
(
resdata
.
IsGroupCommon
==
0
){
let
BranchList
=
resdata
.
BranchList
;
data
.
forEach
(
x
=>
{
x
.
disabled
=
true
;
BranchList
.
forEach
(
y
=>
{
if
(
x
.
Id
==
y
){
x
.
disabled
=
false
;
}
})
})
this
.
companyList
=
data
;
}
}
},
err
=>
{})
}
},
err
=>
{})
},
err
=>
{})
},
},
},
},
...
...
src/components/Hotel/ChangeHotel.vue
View file @
fcc7f3b2
This diff is collapsed.
Click to expand it.
src/components/Hotel/roomReservationsDetails.vue
View file @
fcc7f3b2
...
@@ -305,6 +305,9 @@
...
@@ -305,6 +305,9 @@
subItem
.
HotelId
=
0
;
subItem
.
HotelId
=
0
;
subItem
.
HotelName
=
""
;
subItem
.
HotelName
=
""
;
subItem
.
OrderID
=
0
;
subItem
.
OrderID
=
0
;
subItem
.
OrderDetailsList
.
forEach
(
childItem
=>
{
childItem
.
OrderDetailsId
=
0
;
});
item
.
HotelOrderList
.
push
(
subItem
);
item
.
HotelOrderList
.
push
(
subItem
);
},
},
//删除酒店
//删除酒店
...
@@ -492,7 +495,7 @@
...
@@ -492,7 +495,7 @@
})
})
});
});
})
})
this
.
loading
=
true
this
.
loading
=
true
;
this
.
apipost
(
'dmcstatistics_get_SetHotelOrder'
,
this
.
list
,
res
=>
{
this
.
apipost
(
'dmcstatistics_get_SetHotelOrder'
,
this
.
list
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getList
();
this
.
getList
();
...
...
src/components/administrative/AttendanceRules.vue
View file @
fcc7f3b2
This diff is collapsed.
Click to expand it.
src/components/administrative/statisticsCheckTime.vue
View file @
fcc7f3b2
...
@@ -184,6 +184,7 @@
...
@@ -184,6 +184,7 @@
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
});
});
console
.
log
(
"res"
,
res
);
this
.
datesArr
=
res
.
data
.
data
.
columnData
;
this
.
datesArr
=
res
.
data
.
data
.
columnData
;
this
.
newArr
.
length
=
0
;
this
.
newArr
.
length
=
0
;
for
(
let
i
=
0
;
i
<
this
.
datesArr
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
datesArr
.
length
;
i
++
)
{
...
@@ -192,6 +193,7 @@
...
@@ -192,6 +193,7 @@
"title"
:
this
.
datesArr
[
i
].
substring
(
this
.
datesArr
[
i
].
length
-
2
,
this
.
datesArr
[
i
].
length
)
+
'('
+
this
.
getWeekByDay
(
this
.
datesArr
[
i
])
+
')'
"title"
:
this
.
datesArr
[
i
].
substring
(
this
.
datesArr
[
i
].
length
-
2
,
this
.
datesArr
[
i
].
length
)
+
'('
+
this
.
getWeekByDay
(
this
.
datesArr
[
i
])
+
')'
})
})
}
}
console
.
log
(
"this.newArr"
,
this
.
newArr
)
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
}
}
...
...
src/router/config.js
View file @
fcc7f3b2
...
@@ -2733,6 +2733,14 @@ export default {
...
@@ -2733,6 +2733,14 @@ export default {
meta
:
{
meta
:
{
title
:
'简易报表'
title
:
'简易报表'
},
},
},
{
//财务 线路收客
path
:
'/LineReceiver'
,
name
:
'LineReceiver'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/LineReceiver'
],
resolve
),
meta
:
{
title
:
'线路收客'
},
},
{
//财务 报表 年度营收报表
},
{
//财务 报表 年度营收报表
path
:
'/YearReport'
,
path
:
'/YearReport'
,
name
:
'YearReport'
,
name
:
'YearReport'
,
...
...
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