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 0868e302
authored
Sep 04, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'V4.56.0' of
http://192.168.3.233:8090/glsx/gl_tape
into V4.56.0
2 parents
5e5c1f98
811068d0
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
36 additions
and
15 deletions
components/OrderPopup/components/CarModelList.vue
components/OrderPopup/components/CouponList.vue
components/OrderPopup/components/DiversionMerchant.vue
components/OrderPopup/components/EmployeeList.vue
components/OrderPopup/components/GoodsList.vue
components/OrderPopup/components/PackageList.vue
components/OrderPopup/components/SkuGoodsList.vue
pages/boutique/tool/components/CreateOrder.vue
utils/Track.js
components/OrderPopup/components/CarModelList.vue
View file @
0868e30
...
...
@@ -46,7 +46,7 @@
</template>
</scroll-view>
<view
class=
"letter-list"
>
<
template
v-for=
"(i, index) in list"
>
<
template
v-for=
"(i, index) in list
Data
"
>
<view
class=
"letter-item"
:key=
"index"
...
...
@@ -85,7 +85,7 @@ export default {
data
=
await
uni
.
$api
.
popupApi
.
getMerchantCarBrandList
({
merchantId
:
shopMerchantId
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
initData
(
carData
)
{
let
{
params
:
{
idKey
},
data
:
{
customer
}
}
=
this
,
...
...
components/OrderPopup/components/CouponList.vue
View file @
0868e30
...
...
@@ -88,7 +88,7 @@ export default {
yqMerchantId
:
merchantId
,
orderByType
:
9
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
initData
(
data
)
{
let
couponTypeList
=
Array
.
from
(
new
Set
([...
data
.
map
((
e
)
=>
e
.
couponInfo
.
couponType
)])),
...
...
components/OrderPopup/components/DiversionMerchant.vue
View file @
0868e30
...
...
@@ -36,7 +36,7 @@ export default {
const
data
=
await
uni
.
$api
.
popupApi
.
getDiversionMerchantRef
({
merchantId
:
shopMerchantId
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
initData
(
data
)
{
this
.
list
=
data
...
...
components/OrderPopup/components/EmployeeList.vue
View file @
0868e30
...
...
@@ -40,9 +40,9 @@ export default {
sceneList
:
params
.
idKey
==
'sellerUserId'
?
''
:
[
sceneType
],
name
:
searchValue
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
initData
(
data
)
{
initData
(
data
)
{
this
.
list
=
data
this
.
$emit
(
'onComplete'
)
},
...
...
components/OrderPopup/components/GoodsList.vue
View file @
0868e30
...
...
@@ -4,11 +4,18 @@
<template
v-if=
"listData.length"
>
<template
v-for=
"(i, index) in listData"
>
<template
v-if=
"isDefeatOrder"
>
<view
class=
"item-box"
:key=
"index"
>
<view
class=
"item-box"
:key=
"index"
>
<view
class=
"goods-title flex"
>
{{
i
.
goodsTypeName
}}
|建议价
</view>
<view
class=
"defeat-goods-list"
>
<template
v-for=
"(item, ind) in i.upgradeGoodsList"
>
<view
:class=
"['item flex',
{ active: checkActive(item) }]" :key="`${index}_${ind}`" @click="choose(item)">
<view
:class=
"['item flex',
{ active: checkActive(item) }]"
:key="`${index}_${ind}`"
@click="choose(item)"
>
<view
class=
"sprite-icon icon-tag-checked"
></view>
<text
class=
"goods-name text-hide"
>
{{
replaceItemText
(
item
,
'upgradeGoodsAlias'
)
||
replaceItemText
(
item
,
'upgradeGoodsName'
)
||
replaceItemText
(
item
.
goodsInfo
,
'goodsName'
)
}}
...
...
@@ -26,7 +33,11 @@
</view>
</template>
<
template
v-else
>
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]">
<view
:key=
"index"
@
click=
"choose(i)"
:class=
"['item flex',
{ active: checkActive(i) }]"
>
<view
class=
"sprite-icon icon-tag-checked"
></view>
<text
class=
"goods-name text-hide"
>
{{
replaceItemText
(
i
.
goods
,
'goodsAlias'
)
||
replaceItemText
(
i
.
goods
,
'upgradeGoodsName'
)
||
replaceItemText
(
i
.
goodsInfo
,
'goodsName'
)
}}
...
...
@@ -76,7 +87,7 @@ export default {
}
isDefeatOrder
?
apiParams
.
upradeFlag
=
'N'
:
apiParams
.
sceneType
=
sceneType
const
data
=
await
uni
.
$api
.
popupApi
[
apiName
](
apiParams
)
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
handleSearch
(
searchValue
)
{
let
{
isDefeatOrder
}
=
this
...
...
components/OrderPopup/components/PackageList.vue
View file @
0868e30
...
...
@@ -67,7 +67,7 @@ export default {
merchantId
:
shopMerchantId
,
sceneType
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
handleSearch
(
searchValue
)
{
if
(
!
searchValue
)
this
.
searchStatus
=
false
...
...
components/OrderPopup/components/SkuGoodsList.vue
View file @
0868e30
...
...
@@ -123,7 +123,7 @@ export default {
merchantId
:
shopMerchantId
,
sceneType
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
handleSearch
(
searchValue
)
{
if
(
!
searchValue
)
this
.
searchStatus
=
false
...
...
@@ -241,7 +241,7 @@ export default {
},
async
watchAllChose
(
index
,
cancel
)
{
let
{
list
:
goodsList
,
list
Data
:
goodsList
,
}
=
this
;
let
result
=
goodsList
[
index
].
multipleSpecificationsGoods
.
specificationList
.
every
(
item
=>
item
.
value
)
if
(
result
)
{
...
...
pages/boutique/tool/components/CreateOrder.vue
View file @
0868e30
...
...
@@ -282,6 +282,7 @@ export default {
const
productFields
=
[
'frontGear'
,
'frontWindow'
,
'rearGear'
,
'rearWindow'
,
'sunRoof'
,
'package'
,
'skuGoods'
]
if
(
productFields
.
includes
(
val
.
value
))
{
this
.
valueKey
=
val
.
value
this
.
externalData
=
utils
.
deepClone
(
this
.
goodsList
)
}
console
.
log
(
this
.
popupType
,
this
.
externalData
,
'-------------'
)
this
.
$refs
.
orderPopup
.
open
()
...
...
@@ -297,6 +298,7 @@ export default {
// 弹窗确认回调
onConfirm
(
val
)
{
console
.
log
(
val
,
'onConfirm'
)
this
.
externalData
=
[]
// const { chooseContent } = val
const
chooseContent
=
utils
.
deepClone
(
val
.
chooseContent
)
// 根据popupTypeEnum优化处理
...
...
@@ -687,6 +689,7 @@ export default {
merchantId
:
userInfo
.
shopMerchantId
,
sceneType
:
userInfo
.
sceneType
})
this
.
goodsList
=
res
// 分类映射
const
posMap
=
{
...
...
utils/Track.js
View file @
0868e30
...
...
@@ -37,6 +37,10 @@ class Track {
if
(
data
.
businessId
)
item
.
businessId
=
data
.
businessId
trackList
.
push
(
item
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
trackList
)
if
(
!
TRACK_TIME
)
{
console
.
log
(
'---------------- 重新打开定时埋点 ----------------'
)
this
.
sendTrack
()
//开启定时埋点
}
if
(
trackList
.
length
>
9
)
this
.
sendTrackData
()
}
...
...
@@ -52,8 +56,11 @@ class Track {
const
recordList
=
uni
.
getStorageSync
(
'TRACK_LIST'
)
||
[]
if
(
recordList
.
length
)
{
const
res
=
await
uni
.
$api
.
commonApi
.
recordInsert
({
recordList
})
if
(
res
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
[])
if
(
res
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
[])
}
else
{
clearInterval
(
TRACK_TIME
)
TRACK_TIME
=
null
console
.
log
(
'---------------- 暂停定时埋点 ----------------'
)
}
}
}
...
...
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