Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
4d8a5879
Commit
4d8a5879
authored
Dec 01, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑联系人,选中日期,场次票bug处理
parent
028e23f5
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
detail.vue
pages/scenic/combinationProduct/components/detail.vue
+0
-1
editContacts.vue
pages/scenic/scenicComponents/editContacts.vue
+2
-0
scenicOrder-new.vue
pages/scenic/scenicOrder/scenicOrder-new.vue
+4
-4
scenicOrder.vue
pages/scenic/scenicOrder/scenicOrder.vue
+1
-1
No files found.
pages/scenic/combinationProduct/components/detail.vue
View file @
4d8a5879
...
@@ -37,7 +37,6 @@
...
@@ -37,7 +37,6 @@
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</u-popup>
</u-popup>
</
template
>
</
template
>
...
...
pages/scenic/scenicComponents/editContacts.vue
View file @
4d8a5879
...
@@ -121,6 +121,8 @@ export default {
...
@@ -121,6 +121,8 @@ export default {
this
.
name
=
''
this
.
name
=
''
this
.
credentialNumber
=
''
this
.
credentialNumber
=
''
this
.
phone
=
''
this
.
phone
=
''
}
else
{
this
.
$parent
.
getContactList
()
}
}
this
.
showEdit
=
false
this
.
showEdit
=
false
}
else
{
}
else
{
...
...
pages/scenic/scenicOrder/scenicOrder-new.vue
View file @
4d8a5879
...
@@ -825,9 +825,9 @@ export default {
...
@@ -825,9 +825,9 @@ export default {
if
(
item
.
priceStockList
.
length
>
0
){
if
(
item
.
priceStockList
.
length
>
0
){
//获取价格列表的第一个日期+预订最晚时间
//获取价格列表的第一个日期+预订最晚时间
let
time1
=
item
.
priceStockList
[
0
].
startTime
.
substr
(
0
,
10
)
+
item
.
bookTime
let
time1
=
item
.
priceStockList
[
0
].
startTime
.
substr
(
0
,
10
)
+
item
.
bookTime
let
timeNum1
=
parseInt
(
this
.
commonjs
.
changeTime
(
time1
))
let
timeNum1
=
parseInt
(
this
.
$
commonjs
.
changeTime
(
time1
))
let
time2
=
new
Date
().
Format
(
'yyyy-MM-dd hh:mm:ss'
)
let
time2
=
new
Date
().
Format
(
'yyyy-MM-dd hh:mm:ss'
)
let
timeNum2
=
parseInt
(
this
.
commonjs
.
changeTime
(
time2
))
//将当前时间转化为数字
let
timeNum2
=
parseInt
(
this
.
$
commonjs
.
changeTime
(
time2
))
//将当前时间转化为数字
if
(
timeNum2
>
timeNum1
){
if
(
timeNum2
>
timeNum1
){
//如果当前时间大于价格列表第一个日期+预订最晚时间,第一个价格不显示
//如果当前时间大于价格列表第一个日期+预订最晚时间,第一个价格不显示
item
.
priceStockList
.
splice
(
0
,
1
)
item
.
priceStockList
.
splice
(
0
,
1
)
...
@@ -1020,7 +1020,7 @@ export default {
...
@@ -1020,7 +1020,7 @@ export default {
}
else
{
}
else
{
item2
.
copyLast
=
item2
.
last
item2
.
copyLast
=
item2
.
last
}
}
item2
.
timeNumber
=
parseInt
(
this
.
commonjs
.
changeTime
(
item2
.
planDate
.
substr
(
0
,
10
)
+
item2
.
endPlanTime
))
item2
.
timeNumber
=
parseInt
(
this
.
$
commonjs
.
changeTime
(
item2
.
planDate
.
substr
(
0
,
10
)
+
item2
.
endPlanTime
))
if
(
this
.
timeNumber
>
item2
.
timeNumber
||
item2
.
last
<=
0
){
if
(
this
.
timeNumber
>
item2
.
timeNumber
||
item2
.
last
<=
0
){
item2
.
copyLast
=
'售罄'
item2
.
copyLast
=
'售罄'
}
}
...
@@ -1345,7 +1345,7 @@ export default {
...
@@ -1345,7 +1345,7 @@ export default {
//---预下单
//---预下单
preOrder
()
{
preOrder
()
{
//参数游客信息组装
//参数游客信息组装
let
orderTouristList
=
this
.
c
ontactTotal
.
map
((
item
)
=>
{
let
orderTouristList
=
this
.
c
hooseContact
.
map
((
item
)
=>
{
return
{
return
{
category
:
0
,
category
:
0
,
name
:
item
.
name
,
name
:
item
.
name
,
...
...
pages/scenic/scenicOrder/scenicOrder.vue
View file @
4d8a5879
...
@@ -910,7 +910,7 @@ export default {
...
@@ -910,7 +910,7 @@ export default {
}
else
{
}
else
{
item
.
copyLast
=
item
.
last
item
.
copyLast
=
item
.
last
}
}
item
.
timeNumber
=
parseInt
(
this
.
commonjs
.
changeTime
(
item
.
planDate
.
substr
(
0
,
10
)
+
item
.
endPlanTime
))
item
.
timeNumber
=
parseInt
(
this
.
$
commonjs
.
changeTime
(
item
.
planDate
.
substr
(
0
,
10
)
+
item
.
endPlanTime
))
if
(
this
.
timeNumber
>
item
.
timeNumber
||
item
.
last
<=
0
)
{
if
(
this
.
timeNumber
>
item
.
timeNumber
||
item
.
last
<=
0
)
{
item
.
copyLast
=
'售罄'
item
.
copyLast
=
'售罄'
}
}
...
...
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