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
a6a8b735
Commit
a6a8b735
authored
May 13, 2024
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
索道票下单页面站点信息未上传给后端处理
parent
7690be48
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
6 deletions
+42
-6
scenicCombiOrder.vue
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
+21
-3
scenicSingleOrder.vue
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
+21
-3
No files found.
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
View file @
a6a8b735
...
@@ -405,8 +405,15 @@ export default {
...
@@ -405,8 +405,15 @@ export default {
couponData
:[],
//选择产品的所有劵数据
couponData
:[],
//选择产品的所有劵数据
chooseCouponObj
:
''
,
//选择产品选中的券
chooseCouponObj
:
''
,
//选择产品选中的券
chooseCredential
:
''
,
//选中的产品的需要的证件类型
chooseCredential
:
''
,
//选中的产品的需要的证件类型
timer
:
null
,
//时间函数
}
}
},
},
onUnload
()
{
if
(
this
.
timer
)
{
clearTimeout
(
this
.
timer
)
this
.
timer
=
null
}
},
onLoad
(
option
)
{
onLoad
(
option
)
{
this
.
companyId
=
option
.
companyId
||
''
this
.
companyId
=
option
.
companyId
||
''
this
.
groupId
=
option
.
groupId
||
''
this
.
groupId
=
option
.
groupId
||
''
...
@@ -552,8 +559,10 @@ export default {
...
@@ -552,8 +559,10 @@ export default {
let
data
=
{
let
data
=
{
merchantCode
:
item
.
merchantVo
.
code
//商户code
merchantCode
:
item
.
merchantVo
.
code
//商户code
}
}
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
(
res
=>
{
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
,
true
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
if
(
res
.
code
==
'00'
)
{
//请求成功,默认为上架状态
this
.
orderStatus
=
0
this
.
sortArr
=
res
.
data
.
data
||
[]
this
.
sortArr
=
res
.
data
.
data
||
[]
let
data
=
res
.
data
let
data
=
res
.
data
item
.
areaObj
=
{}
item
.
areaObj
=
{}
...
@@ -591,8 +600,17 @@ export default {
...
@@ -591,8 +600,17 @@ export default {
}
}
}
}
}
}
else
{
})
//请求失败,默认为下架状态
this
.
orderStatus
=
1
}
}).
catch
(
err
=>
{
//请求失败,默认为下架状态
this
.
orderStatus
=
1
this
.
timer
=
setTimeout
(()
=>
{
this
.
sortUpDown
(
item
)
},
2000
)
})
},
},
//---获取班次票
//---获取班次票
getTimeStock
(
item
)
{
getTimeStock
(
item
)
{
...
...
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
View file @
a6a8b735
...
@@ -470,8 +470,15 @@ export default {
...
@@ -470,8 +470,15 @@ export default {
couponData
:
''
,
//所有劵数据
couponData
:
''
,
//所有劵数据
chooseCouponObj
:
''
,
//默认选中最优价格优惠券
chooseCouponObj
:
''
,
//默认选中最优价格优惠券
ableConpon
:
''
,
//没有可用优惠券时,达到一定条件可用,显示达到的条件
ableConpon
:
''
,
//没有可用优惠券时,达到一定条件可用,显示达到的条件
timer
:
null
,
//时间函数
}
}
},
},
onUnload
()
{
if
(
this
.
timer
)
{
clearTimeout
(
this
.
timer
)
this
.
timer
=
null
}
},
onLoad
(
option
)
{
onLoad
(
option
)
{
let
times
=
new
Date
().
Format
(
'yyyy-MM-dd hh:mm:ss'
)
let
times
=
new
Date
().
Format
(
'yyyy-MM-dd hh:mm:ss'
)
this
.
timeNumber
=
parseInt
(
this
.
$commonjs
.
changeTime
(
times
))
//将当前时间转化为数字
this
.
timeNumber
=
parseInt
(
this
.
$commonjs
.
changeTime
(
times
))
//将当前时间转化为数字
...
@@ -662,8 +669,10 @@ export default {
...
@@ -662,8 +669,10 @@ export default {
let
data
=
{
let
data
=
{
merchantCode
:
this
.
merchantCode
//商户code
merchantCode
:
this
.
merchantCode
//商户code
}
}
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
(
res
=>
{
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
,
true
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
if
(
res
.
code
==
'00'
)
{
//请求成功,默认为上架状态
this
.
productIfo
.
status
=
0
this
.
sortArr
=
res
.
data
.
data
this
.
sortArr
=
res
.
data
.
data
let
data
=
res
.
data
let
data
=
res
.
data
let
areaList
=
this
.
productIfo
.
productAreaList
let
areaList
=
this
.
productIfo
.
productAreaList
...
@@ -696,8 +705,17 @@ export default {
...
@@ -696,8 +705,17 @@ export default {
}
}
}
}
}
}
}
}
else
{
})
//请求失败,默认为下架状态
this
.
productIfo
.
status
=
1
}
}).
catch
(
err
=>
{
//请求失败,默认为下架状态
this
.
productIfo
.
status
=
1
this
.
timer
=
setTimeout
(()
=>
{
this
.
sortUpDown
()
},
2000
)
})
},
},
//---获取班次票
//---获取班次票
getTimeStock
()
{
getTimeStock
()
{
...
...
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