Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 19fcb034
authored
May 15, 2025
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
门店订单
1 parent
bf5afb83
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
122 additions
and
155 deletions
api/module/boutique.js
pages/equity/detail/components/History.vue
api/module/boutique.js
View file @
19fcb03
...
@@ -5,88 +5,96 @@
...
@@ -5,88 +5,96 @@
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-09-13 11:08:55
* @LastEditTime: 2024-09-13 11:08:55
*/
*/
import
http
from
"../request/http"
;
import
http
from
'../request/http'
module
.
exports
=
{
module
.
exports
=
{
/**获取APP更新 */
/**获取APP更新 */
findSoureList
(
data
)
{
findSoureList
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.recepiton.soure.findSoureList"
,
method
:
'dj.api.smartcarlife.recepiton.soure.findSoureList'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
,
...
data
})
;
})
},
},
/** 查询可发放礼券-分页查询商户券列表 */
/** 查询可发放礼券-分页查询商户券列表 */
findCouponList
(
data
)
{
findCouponList
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.merchantCoupon.pageForZYApp"
,
method
:
'dj.api.smartcarlife.merchantCoupon.pageForZYApp'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
onlyUsable
:
true
,
onlyUsable
:
true
,
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
99999
,
pageSize
:
99999
,
...
data
,
...
data
})
;
})
},
},
/**查询用户是否领券 */
/**查询用户是否领券 */
findCustomerReceivedStatus
(
data
)
{
findCustomerReceivedStatus
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.customerCoupon.pageForZYApp"
,
method
:
'dj.api.smartcarlife.customerCoupon.pageForZYApp'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
,
...
data
,
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
99999
,
pageSize
:
99999
,
statusList
:
[
0
,
1
]
statusList
:
[
0
,
1
]
})
;
})
},
},
/**历史成交客户 */
/**历史成交客户 */
historyDealOrderPage
(
data
)
{
historyDealOrderPage
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.order.historyDealOrder.page"
,
method
:
'dj.api.smartcarlife.order.historyDealOrder.page'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
,
...
data
})
;
})
},
},
// 历史订单列表
// 历史订单列表
getQuotationList
(
data
)
{
getQuotationList
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page"
,
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
,
...
data
});
})
},
// 历史订单列表
getOrderList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.for.pad.page'
,
projectName
:
'boutique'
,
...
data
})
},
},
/**客户邀约记录 */
/**客户邀约记录 */
customerInviteRecordPage
(
data
)
{
customerInviteRecordPage
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.customerInviteRecord.page"
,
method
:
'dj.api.smartcarlife.customerInviteRecord.page'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
,
...
data
})
;
})
},
},
/**轻改素材配置 */
/**轻改素材配置 */
getBoutiqueMaterialConfig
(
data
)
{
getBoutiqueMaterialConfig
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.boutique.recepiton.material.merchant.detail"
,
method
:
'dj.api.boutique.recepiton.material.merchant.detail'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
,
...
data
})
;
})
},
},
/** 案例视频 */
/** 案例视频 */
getCaseList
(
data
)
{
getCaseList
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.recepiton.material.case.find"
,
method
:
'dj.api.smartcarlife.recepiton.material.case.find'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
...
data
})
})
},
},
/** 获取类目 */
/** 获取类目 */
getCategory
(
data
)
{
getCategory
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.boutique.recepiton.material.merchant.category"
,
method
:
'dj.api.boutique.recepiton.material.merchant.category'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
...
data
})
})
},
},
/**
/**
...
@@ -94,10 +102,9 @@ module.exports = {
...
@@ -94,10 +102,9 @@ module.exports = {
*/
*/
getInviteRecordCount
(
data
)
{
getInviteRecordCount
(
data
)
{
return
http
.
post
({
return
http
.
post
({
method
:
"dj.api.smartcarlife.customerInviteRecord.inviteStatus.count"
,
method
:
'dj.api.smartcarlife.customerInviteRecord.inviteStatus.count'
,
projectName
:
"boutique"
,
projectName
:
'boutique'
,
...
data
...
data
})
})
},
}
}
};
pages/equity/detail/components/History.vue
View file @
19fcb03
<
template
>
<
template
>
<view
:class=
"['layout',
{'byd-layout':isByd
}]">
<view
:class=
"['layout',
{ 'byd-layout': isByd
}]">
<view
class=
"layout-content"
>
<view
class=
"layout-content"
>
<view
class=
"title flex"
>
{{
title
}}
</view>
<view
class=
"title flex"
>
{{
title
}}
</view>
<view
<view
class=
"form-box"
:key=
"watchStatus"
>
class=
"form-box"
:key=
"watchStatus"
>
<view
class=
"form"
>
<view
class=
"form"
>
<template
v-for=
"(i, index) in formObject"
>
<template
v-for=
"(i, index) in formObject"
>
<view
<view
:class=
"['form-item',
{ active: focusIndex == index }]" :key="index">
:class=
"['form-item' ,
{active:focusIndex == index}]"
:key="index"
>
<view
class=
"form-item-box"
>
<view
class=
"form-item-box"
>
<view
<view
:class=
"['select flex',
{ placeholderStyle: !customerInfo[i.key] }]" @click="showPopup(i.popKey, index)">
:class=
"['select flex',
{placeholderStyle:!customerInfo[i.key]}]"
<view
class=
"value text-hide"
>
{{
customerInfo
[
i
.
key
]
||
i
.
placeholder
}}
</view>
@click="showPopup(i.popKey,index)"
<uni-icons
class=
"arrow"
type=
"right"
:size=
"16"
></uni-icons>
>
<view
class=
"value text-hide"
>
{{
customerInfo
[
i
.
key
]
||
i
.
placeholder
}}
</view>
<uni-icons
class=
"arrow"
type=
"right"
:size=
"16"
></uni-icons>
</view>
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<view
<view
class=
"form-check flex"
@
click=
"showphoto = !showphoto"
>
class=
"form-check flex"
<view
:class=
"['check-box flex', { checked: showphoto }]"
>
@
click=
"showphoto = !showphoto"
<uni-icons
type=
"checkmarkempty"
:size=
"14"
color=
"#fff"
></uni-icons>
>
<view
:class=
"['check-box flex',{'checked':showphoto}]"
>
<uni-icons
type=
"checkmarkempty"
:size=
"14"
color=
"#fff"
></uni-icons>
</view>
</view>
显示凭证
显示凭证
</view>
</view>
<view
<view
class=
"form-check flex"
@
click=
"merchantOrder = !merchantOrder"
>
class=
"form-check flex"
<view
:class=
"['check-box flex', { checked: merchantOrder }]"
>
@
click=
"merchantOrder = !merchantOrder"
<uni-icons
type=
"checkmarkempty"
:size=
"14"
color=
"#fff"
></uni-icons>
>
<view
:class=
"['check-box flex',{'checked':merchantOrder}]"
>
<uni-icons
type=
"checkmarkempty"
:size=
"14"
color=
"#fff"
></uni-icons>
</view>
</view>
门店订单
门店订单
</view>
</view>
</view>
</view>
</view>
</view>
<
template
v-if=
"list.length > 0"
>
<
template
v-if=
"list.length > 0"
>
<scroll-view
<scroll-view
:class=
"['record-box',
{ 'has-tabs': views
&&
views.length > 1 }]" scroll-y :scroll-top="scrollTop" @scrolltolower="pageonReachBottom">
:class=
"['record-box',
{ 'has-tabs': views
&&
views.length > 1 }]"
scroll-y
:scroll-top="scrollTop"
@scrolltolower="pageonReachBottom"
>
<!--
<template
v-for=
"(i,index) in formatList"
>
<!--
<template
v-for=
"(i,index) in formatList"
>
<view
<view
:key=
"index"
:key=
"index"
...
@@ -70,27 +38,15 @@
...
@@ -70,27 +38,15 @@
<!--
<view
class=
"card-title"
>
{{
i
.
title
}}
</view>
-->
<!--
<view
class=
"card-title"
>
{{
i
.
title
}}
</view>
-->
<!-- v-for="item in i.list" -->
<!-- v-for="item in i.list" -->
<view
class=
"card-list"
>
<view
class=
"card-list"
>
<view
<view
class=
"card-item"
v-for=
"item in list"
:key=
"item.id"
>
class=
"card-item"
v-for=
"item in list"
:key=
"item.id"
>
<template
v-if=
"showphoto"
>
<template
v-if=
"showphoto"
>
<image
<image
v-if=
"item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl"
class=
"image-box"
:src=
"item.vdQuotationPaymentDoc.paymentDocUrl"
/>
v-if=
"item.vdQuotationPaymentDoc && item.vdQuotationPaymentDoc.paymentDocUrl"
<image
v-else
class=
"image-box photo"
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp"
/>
class=
"image-box"
:src=
"item.vdQuotationPaymentDoc.paymentDocUrl"
/>
<image
v-else
class=
"image-box photo"
src=
"https://img02.glsx.com.cn/weapp/resource/app-tape/media/common/pay.webp"
/>
<view
class=
"gradient-overlay"
></view>
<view
class=
"gradient-overlay"
></view>
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<!-- 1:线上微信支付,2:线下收款,3:POS机收款,4:支付宝支付,5:嘀加收款 -->
<!-- 1:线上微信支付,2:线下收款,3:POS机收款,4:支付宝支付,5:嘀加收款 -->
<div
:class=
"['payType sprite-icon',
`icon-payType-$
{item.payType}`]">
</div>
<div
:class=
"['payType sprite-icon',
`icon-payType-$
{item.payType}`]">
</div>
</
template
>
</
template
>
<view>
<view>
<view
class=
"name"
>
{{ nameHide(item.customerName) }}
</view>
<view
class=
"name"
>
{{ nameHide(item.customerName) }}
</view>
...
@@ -120,28 +76,17 @@
...
@@ -120,28 +76,17 @@
</view>
</view>
<!-- </view>
<!-- </view>
</template> -->
</template> -->
<view
<view
class=
"end-text"
v-if=
"list.length > 0 && isEnd"
>
我是一个有底线的人
</view>
class=
"end-text"
v-if=
"list.length > 0 && isEnd"
>
我是一个有底线的人
</view>
</scroll-view>
</scroll-view>
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<view
class=
"no-data"
>
<view
class=
"no-data"
>
<glsx-image
<glsx-image
class=
"no-data-img"
src=
"media/no-data.png"
mode=
"scaleToFill"
/>
class=
"no-data-img"
src=
"media/no-data.png"
mode=
"scaleToFill"
/>
<view
class=
"no-data-text"
>
暂无数据
</view>
<view
class=
"no-data-text"
>
暂无数据
</view>
</view>
</view>
</
template
>
</
template
>
</view>
</view>
<car-brands
<car-brands
ref=
"carBrandListVisible"
@
select=
"handleSelect($event, 'carBrandListVisible')"
@
close=
"resetFocusIndex"
/>
ref=
"carBrandListVisible"
@
select=
"handleSelect($event,'carBrandListVisible')"
@
close=
"resetFocusIndex"
/>
</view>
</view>
</template>
</template>
...
@@ -161,7 +106,7 @@ export default {
...
@@ -161,7 +106,7 @@ export default {
isByd
:
Boolean
,
isByd
:
Boolean
,
views
:
Array
views
:
Array
},
},
data
()
{
data
()
{
return
{
return
{
scrollTop
:
0
,
scrollTop
:
0
,
formObject
:
[
formObject
:
[
...
@@ -170,23 +115,23 @@ export default {
...
@@ -170,23 +115,23 @@ export default {
key
:
'carModel'
,
key
:
'carModel'
,
type
:
'select'
,
type
:
'select'
,
popKey
:
'carBrandListVisible'
popKey
:
'carBrandListVisible'
}
,
}
],
],
customerInfo
:
{},
customerInfo
:
{},
focusIndex
:
-
1
,
focusIndex
:
-
1
,
showphoto
:
false
,
showphoto
:
false
,
formatList
:
[],
formatList
:
[],
merchantOrder
:
false
,
//门店订单
merchantOrder
:
false
//门店订单
}
}
},
},
watch
:
{
watch
:
{
show
(
n
)
{
show
(
n
)
{
if
(
n
)
this
.
init
()
if
(
n
)
this
.
init
()
else
this
.
scrollTop
=
0
else
this
.
scrollTop
=
0
},
},
watchStatus
:
{
watchStatus
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
newval
)
{
handler
(
newval
)
{
this
.
pageNum
=
1
this
.
pageNum
=
1
this
.
scrollTop
=
1000
this
.
scrollTop
=
1000
this
.
list
=
[]
this
.
list
=
[]
...
@@ -195,11 +140,11 @@ export default {
...
@@ -195,11 +140,11 @@ export default {
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
scrollTop
=
0
this
.
scrollTop
=
0
},
100
)
},
100
)
}
,
}
},
},
merchantOrder
:
{
merchantOrder
:
{
immediate
:
true
,
immediate
:
true
,
handler
(
newval
)
{
handler
(
newval
)
{
this
.
pageNum
=
1
this
.
pageNum
=
1
this
.
scrollTop
=
1000
this
.
scrollTop
=
1000
this
.
list
=
[]
this
.
list
=
[]
...
@@ -211,61 +156,76 @@ export default {
...
@@ -211,61 +156,76 @@ export default {
}
}
},
},
computed
:
{
computed
:
{
watchStatus
()
{
watchStatus
()
{
return
this
.
$store
.
state
.
user
.
historyStatus
return
this
.
$store
.
state
.
user
.
historyStatus
},
},
watchCustomerInfo
()
{
watchCustomerInfo
()
{
return
this
.
$store
.
state
.
user
.
customerInfo
return
this
.
$store
.
state
.
user
.
customerInfo
},
},
shopMerchantId
()
{
shopMerchantId
()
{
return
uni
.
$storage
.
get
(
'userInfo'
).
shopMerchantId
return
uni
.
$storage
.
get
(
'userInfo'
).
shopMerchantId
},
},
channelType
()
{
channelType
()
{
const
{
channelType
}
=
uni
.
$storage
.
get
(
'userInfo'
)
const
{
channelType
}
=
uni
.
$storage
.
get
(
'userInfo'
)
return
channelType
return
channelType
}
},
},
},
mounted
()
{
mounted
()
{
if
(
this
.
show
)
this
.
init
()
if
(
this
.
show
)
this
.
init
()
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
// this.customerInfo = this.watchCustomerInfo
// this.customerInfo = this.watchCustomerInfo
// if (!this.customerInfo.carModel && !this.isByd) this.$refs.carBrandListVisible.autoSelect()
// if (!this.customerInfo.carModel && !this.isByd) this.$refs.carBrandListVisible.autoSelect()
// else
// else
this
.
search
()
this
.
search
()
},
},
search
()
{
search
()
{
if
(
this
.
list
.
length
==
0
)
{
if
(
this
.
list
.
length
==
0
)
{
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
this
.
isEnd
=
true
this
.
isEnd
=
true
}
}
if
(
this
.
pageNum
==
1
)
this
.
getQuotationList
()
if
(
this
.
pageNum
==
1
)
this
.
getQuotationList
()
},
},
async
getQuotationList
()
{
getPreviousDate
(
days
)
{
let
date
=
new
Date
()
date
.
setDate
(
date
.
getDate
()
-
days
)
// 格式化日期为 YYYY-MM-DD
let
year
=
date
.
getFullYear
()
let
month
=
String
(
date
.
getMonth
()
+
1
).
padStart
(
2
,
'0'
)
let
day
=
String
(
date
.
getDate
()).
padStart
(
2
,
'0'
)
return
`
${
year
}
-
${
month
}
-
${
day
}
`
},
async
getQuotationList
()
{
const
{
shopMerchantId
,
pageNum
,
pageSize
,
merchantOrder
}
=
this
,
const
{
shopMerchantId
,
pageNum
,
pageSize
,
merchantOrder
}
=
this
,
carModel
=
this
.
customerInfo
.
carModel
carModel
=
this
.
customerInfo
.
carModel
try
{
try
{
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
mask
:
true
})
;
})
let
params
=
{
let
params
=
{
merchantId
:
shopMerchantId
,
merchantId
:
shopMerchantId
,
pageNum
,
pageNum
,
pageSize
,
pageSize
,
carModel
:
carModel
||
''
,
carModel
:
carModel
||
''
,
orderStatus
:
3
,
orderStatus
:
3
,
merchantOrder
merchantOrder
}
}
let
{
list
,
total
}
=
await
uni
.
$api
.
boutiqueApi
.
getQuotationList
(
params
);
if
(
!
params
.
merchantOrder
)
{
uni
.
hideLoading
();
delete
params
.
merchantId
params
.
maxCreateTime
=
dayjs
(
Date
.
now
()).
format
(
'YYYY-MM-DD HH:mm:ss'
)
params
.
minCreateTime
=
dayjs
(
Date
.
now
()
-
90
*
24
*
60
*
60
*
1000
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
let
{
list
,
total
}
=
await
uni
.
$api
.
boutiqueApi
.
getOrderList
(
params
)
uni
.
hideLoading
()
this
.
list
=
[...(
pageNum
==
1
?
[]
:
this
.
list
),
...
list
]
;
this
.
list
=
[...(
pageNum
==
1
?
[]
:
this
.
list
),
...
list
]
let
previousCreatedTime
=
null
let
previousCreatedTime
=
null
let
_list
=
[]
let
_list
=
[]
this
.
list
.
map
(
e
=>
{
this
.
list
.
map
(
e
=>
{
let
createdTime
=
dayjs
(
e
.
createdTime
).
format
(
"YYYY年MM月DD日"
)
let
createdTime
=
dayjs
(
e
.
createdTime
).
format
(
'YYYY年MM月DD日'
)
if
(
createdTime
!==
previousCreatedTime
)
{
if
(
createdTime
!==
previousCreatedTime
)
{
_list
.
push
({
_list
.
push
({
title
:
createdTime
,
title
:
createdTime
,
...
@@ -276,22 +236,22 @@ export default {
...
@@ -276,22 +236,22 @@ export default {
})
})
_list
.
map
(
e
=>
{
_list
.
map
(
e
=>
{
this
.
list
.
map
(
i
=>
{
this
.
list
.
map
(
i
=>
{
let
createdTime
=
dayjs
(
i
.
createdTime
).
format
(
"YYYY年MM月DD日"
)
let
createdTime
=
dayjs
(
i
.
createdTime
).
format
(
'YYYY年MM月DD日'
)
if
(
e
.
title
===
createdTime
)
e
.
list
.
push
(
i
)
if
(
e
.
title
===
createdTime
)
e
.
list
.
push
(
i
)
})
})
})
})
this
.
formatList
=
list
this
.
formatList
=
list
this
.
flag
=
true
;
this
.
flag
=
true
this
.
total
=
total
;
this
.
total
=
total
if
(
!
carModel
&&
this
.
pageNum
==
1
&&
this
.
list
.
length
)
uni
.
setStorageSync
(
`
${
shopMerchantId
}
-historyList`
,
this
.
list
)
if
(
!
carModel
&&
this
.
pageNum
==
1
&&
this
.
list
.
length
)
uni
.
setStorageSync
(
`
${
shopMerchantId
}
-historyList`
,
this
.
list
)
}
catch
(
error
)
{
}
catch
(
error
)
{
uni
.
hideLoading
()
uni
.
hideLoading
()
this
.
flag
=
true
;
this
.
flag
=
true
this
.
isEnd
=
true
this
.
isEnd
=
true
if
(
!
carModel
&&
this
.
pageNum
==
1
)
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
if
(
!
carModel
&&
this
.
pageNum
==
1
)
this
.
list
=
uni
.
getStorageSync
(
`
${
this
.
shopMerchantId
}
-historyList`
)
}
}
},
},
pageonReachBottom
()
{
pageonReachBottom
()
{
this
.
isEnd
=
false
this
.
isEnd
=
false
let
{
pageNum
,
total
,
isEnd
,
pageSize
}
=
this
let
{
pageNum
,
total
,
isEnd
,
pageSize
}
=
this
if
(
!
isEnd
)
isEnd
=
false
if
(
!
isEnd
)
isEnd
=
false
...
@@ -301,13 +261,13 @@ export default {
...
@@ -301,13 +261,13 @@ export default {
}
else
this
.
isEnd
=
true
}
else
this
.
isEnd
=
true
},
},
// 脱敏
// 脱敏
nameHide
(
name
)
{
nameHide
(
name
)
{
return
name
.
substring
(
0
,
1
)
+
'*'
return
name
.
substring
(
0
,
1
)
+
'*'
},
},
accDiv
(
val
)
{
accDiv
(
val
)
{
return
utils
.
accDiv
(
val
||
0
,
100
)
return
utils
.
accDiv
(
val
||
0
,
100
)
},
},
handleSelect
(
item
,
popkey
)
{
handleSelect
(
item
,
popkey
)
{
this
.
$refs
[
popkey
].
close
()
this
.
$refs
[
popkey
].
close
()
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
customerInfo
.
carModel
=
item
.
name
this
.
customerInfo
.
carModel
=
item
.
name
...
@@ -318,17 +278,17 @@ export default {
...
@@ -318,17 +278,17 @@ export default {
this
.
pageNum
=
1
this
.
pageNum
=
1
this
.
getQuotationList
()
this
.
getQuotationList
()
},
},
showPopup
(
e
,
index
)
{
showPopup
(
e
,
index
)
{
this
.
focusIndex
=
index
this
.
focusIndex
=
index
this
.
$refs
[
e
].
open
()
this
.
$refs
[
e
].
open
()
},
},
closeAllPopup
()
{
closeAllPopup
()
{
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
$refs
.
carBrandListVisible
.
close
()
this
.
resetFocusIndex
()
this
.
resetFocusIndex
()
},
},
resetFocusIndex
()
{
resetFocusIndex
()
{
this
.
focusIndex
=
-
1
this
.
focusIndex
=
-
1
}
,
}
}
}
}
}
</
script
>
</
script
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment