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
e7d3ca71
Commit
e7d3ca71
authored
Jan 05, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
0544929e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
20 deletions
+51
-20
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+17
-2
HotelList.vue
src/components/Hotel/singleProduct/HotelList.vue
+23
-14
leaderPay2.vue
src/components/leaderPay2.vue
+11
-4
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
e7d3ca71
...
...
@@ -1635,11 +1635,26 @@ export default {
};
that
.
yfHandmsg
.
ReFinanceId
=
this
.
yfcheckList
[
0
].
FrID
;
that
.
yfHandmsg
.
Rate
=
this
.
yfcheckList
[
0
].
Rate
;
var
msg
=
JSON
.
stringify
(
that
.
yfHandmsg
);
var
msg
=
{}
// msg = JSON.stringify(that.yfHandmsg);
if
(
item
){
msg
=
{
OtherType
:
65
,
ReFinanceId
:
that
.
yfHandmsg
.
ReFinanceId
,
czState
:
that
.
yfHandmsg
.
czState
}
}
else
{
msg
=
{
OtherType
:
7
,
ReFinanceId
:
that
.
yfHandmsg
.
ReFinanceId
,
czState
:
that
.
yfHandmsg
.
czState
}
}
let
routeData
=
this
.
$router
.
resolve
({
name
:
"ChoiceAddFinancialDocuments"
,
query
:
{
czmsg
:
msg
,
czmsg
:
JSON
.
stringify
(
msg
)
,
orderObj
:
JSON
.
stringify
(
orderObj
),
companyID
:
this
.
OutBranchId
,
Type
:
2
,
...
...
src/components/Hotel/singleProduct/HotelList.vue
View file @
e7d3ca71
...
...
@@ -392,29 +392,16 @@
},
// 编辑购物车
editor
(
x
){
let
state
=
true
this
.
dataList
.
forEach
((
item
,
index
)
=>
{
if
(
item
.
HotelId
==
x
.
HotelId
){
item
.
subList
.
forEach
(
xs
=>
{
if
(
xs
.
DateStr
==
x
.
Date
){
state
=
false
this
.
rightCarOpen
=
false
this
.
showOrderSubmitHandler
(
item
,
index
,
1
)
}
})
}
});
if
(
state
){
let
oldCars
=
JSON
.
parse
(
localStorage
.
getItem
(
"cars"
))
let
newCars
=
[]
oldCars
.
forEach
(
item
=>
{
if
(
item
.
Date
!=
x
.
Date
){
newCars
.
push
(
item
)
}
})
localStorage
.
removeItem
(
"cars"
)
localStorage
.
setItem
(
"cars"
,
JSON
.
stringify
(
newCars
))
}
})
},
// 提交预约成功
success
(){
...
...
@@ -705,7 +692,29 @@
},
},
mounted
()
{
// 当前日期小于20天更新数据
let
oldCars
=
[]
let
newCars
=
[]
let
states
=
true
oldCars
=
JSON
.
parse
(
localStorage
.
getItem
(
"cars"
))
oldCars
.
forEach
(
item
=>
{
if
(
item
.
Date
<
this
.
getBeforeDate
(
-
20
,
new
Date
().
Format
(
"yyyy-MM-dd"
))){
states
=
false
}
else
{
newCars
.
push
(
item
)
}
})
if
(
!
states
){
this
.
HotelLength
=
newCars
.
length
localStorage
.
removeItem
(
"cars"
)
localStorage
.
setItem
(
"cars"
,
JSON
.
stringify
(
newCars
))
localStorage
.
removeItem
(
'HotelLength'
)
localStorage
.
setItem
(
'HotelLength'
,
JSON
.
stringify
(
this
.
HotelLength
))
}
this
.
HotelLength
=
localStorage
.
getItem
(
"HotelLength"
)?
localStorage
.
getItem
(
"HotelLength"
):
0
let
userinfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userinfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
"HOTEL_memorandum"
)
!=
-
1
)
{
...
...
src/components/leaderPay2.vue
View file @
e7d3ca71
...
...
@@ -1392,10 +1392,17 @@
}
let
arr
=
[];
that
.
fkZDmsg2
.
ReFinanceId2
=
this
.
checkList2
[
0
].
FinanceId
;
that
.
fkZDmsg2
.
ReFinanceId2
=
this
.
checkList2
[
0
].
FinanceId
;
that
.
fkZDmsg2
.
Rate
=
this
.
checkList2
[
0
].
Rate
;
var
msg
=
JSON
.
stringify
(
that
.
fkZDmsg2
);
var
msg
=
{}
// msg=JSON.stringify(that.fkZDmsg2);
msg
=
{
OtherType
:
that
.
fkZDmsg2
.
OtherType
,
ReFinanceId
:
that
.
fkZDmsg2
.
ReFinanceId
,
TCNUM
:
that
.
fkZDmsg2
.
TCNUM
,
noEditRate
:
that
.
fkZDmsg2
.
noEditRate
,
ReFinanceId2
:
that
.
fkZDmsg2
.
ReFinanceId2
,
}
let
id
=
[];
if
(
obj
.
LineId
==
this
.
LineId
)
{
id
=
[
75
]
...
...
@@ -1414,7 +1421,7 @@
TCNUMS
:
obj
.
TCNUM
};
let
fullPath
=
`/ChoiceAddFinancialDocuments?searchTitle=报账&czmsg=
${
msg
}
&Type=
${
2
}
&templateID=
${
JSON
.
stringify
(
id
)}
&companyID=
${
obj
.
OutBranchId
}
&orderObj=
${
JSON
.
stringify
(
orderObj
)}
&blank=y&tab=领队报账`
;
`/ChoiceAddFinancialDocuments?searchTitle=报账&czmsg=
${
JSON
.
stringify
(
msg
)
}
&Type=
${
2
}
&templateID=
${
JSON
.
stringify
(
id
)}
&companyID=
${
obj
.
OutBranchId
}
&orderObj=
${
JSON
.
stringify
(
orderObj
)}
&blank=y&tab=领队报账`
;
let
dom
=
document
.
querySelector
(
"#blankLink"
);
dom
.
href
=
`http://
${
window
.
location
.
host
}
/#
${
fullPath
}
`
;
dom
.
click
();
...
...
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