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
Show 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 @@
...
@@ -46,7 +46,7 @@
</template>
</template>
</scroll-view>
</scroll-view>
<view
class=
"letter-list"
>
<view
class=
"letter-list"
>
<
template
v-for=
"(i, index) in list"
>
<
template
v-for=
"(i, index) in list
Data
"
>
<view
<view
class=
"letter-item"
class=
"letter-item"
:key=
"index"
:key=
"index"
...
@@ -85,7 +85,7 @@ export default {
...
@@ -85,7 +85,7 @@ export default {
data
=
await
uni
.
$api
.
popupApi
.
getMerchantCarBrandList
({
data
=
await
uni
.
$api
.
popupApi
.
getMerchantCarBrandList
({
merchantId
:
shopMerchantId
merchantId
:
shopMerchantId
})
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
},
initData
(
carData
)
{
initData
(
carData
)
{
let
{
params
:
{
idKey
},
data
:
{
customer
}
}
=
this
,
let
{
params
:
{
idKey
},
data
:
{
customer
}
}
=
this
,
...
...
components/OrderPopup/components/CouponList.vue
View file @
0868e30
...
@@ -88,7 +88,7 @@ export default {
...
@@ -88,7 +88,7 @@ export default {
yqMerchantId
:
merchantId
,
yqMerchantId
:
merchantId
,
orderByType
:
9
orderByType
:
9
})
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
},
initData
(
data
)
{
initData
(
data
)
{
let
couponTypeList
=
Array
.
from
(
new
Set
([...
data
.
map
((
e
)
=>
e
.
couponInfo
.
couponType
)])),
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 {
...
@@ -36,7 +36,7 @@ export default {
const
data
=
await
uni
.
$api
.
popupApi
.
getDiversionMerchantRef
({
const
data
=
await
uni
.
$api
.
popupApi
.
getDiversionMerchantRef
({
merchantId
:
shopMerchantId
merchantId
:
shopMerchantId
})
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
},
initData
(
data
)
{
initData
(
data
)
{
this
.
list
=
data
this
.
list
=
data
...
...
components/OrderPopup/components/EmployeeList.vue
View file @
0868e30
...
@@ -40,9 +40,9 @@ export default {
...
@@ -40,9 +40,9 @@ export default {
sceneList
:
params
.
idKey
==
'sellerUserId'
?
''
:
[
sceneType
],
sceneList
:
params
.
idKey
==
'sellerUserId'
?
''
:
[
sceneType
],
name
:
searchValue
name
:
searchValue
})
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
},
initData
(
data
)
{
initData
(
data
)
{
this
.
list
=
data
this
.
list
=
data
this
.
$emit
(
'onComplete'
)
this
.
$emit
(
'onComplete'
)
},
},
...
...
components/OrderPopup/components/GoodsList.vue
View file @
0868e30
...
@@ -4,11 +4,18 @@
...
@@ -4,11 +4,18 @@
<template
v-if=
"listData.length"
>
<template
v-if=
"listData.length"
>
<template
v-for=
"(i, index) in listData"
>
<template
v-for=
"(i, index) in listData"
>
<template
v-if=
"isDefeatOrder"
>
<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=
"goods-title flex"
>
{{
i
.
goodsTypeName
}}
|建议价
</view>
<view
class=
"defeat-goods-list"
>
<view
class=
"defeat-goods-list"
>
<template
v-for=
"(item, ind) in i.upgradeGoodsList"
>
<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>
<view
class=
"sprite-icon icon-tag-checked"
></view>
<text
class=
"goods-name text-hide"
>
<text
class=
"goods-name text-hide"
>
{{
replaceItemText
(
item
,
'upgradeGoodsAlias'
)
||
replaceItemText
(
item
,
'upgradeGoodsName'
)
||
replaceItemText
(
item
.
goodsInfo
,
'goodsName'
)
}}
{{
replaceItemText
(
item
,
'upgradeGoodsAlias'
)
||
replaceItemText
(
item
,
'upgradeGoodsName'
)
||
replaceItemText
(
item
.
goodsInfo
,
'goodsName'
)
}}
...
@@ -26,7 +33,11 @@
...
@@ -26,7 +33,11 @@
</view>
</view>
</template>
</template>
<
template
v-else
>
<
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>
<view
class=
"sprite-icon icon-tag-checked"
></view>
<text
class=
"goods-name text-hide"
>
<text
class=
"goods-name text-hide"
>
{{
replaceItemText
(
i
.
goods
,
'goodsAlias'
)
||
replaceItemText
(
i
.
goods
,
'upgradeGoodsName'
)
||
replaceItemText
(
i
.
goodsInfo
,
'goodsName'
)
}}
{{
replaceItemText
(
i
.
goods
,
'goodsAlias'
)
||
replaceItemText
(
i
.
goods
,
'upgradeGoodsName'
)
||
replaceItemText
(
i
.
goodsInfo
,
'goodsName'
)
}}
...
@@ -76,7 +87,7 @@ export default {
...
@@ -76,7 +87,7 @@ export default {
}
}
isDefeatOrder
?
apiParams
.
upradeFlag
=
'N'
:
apiParams
.
sceneType
=
sceneType
isDefeatOrder
?
apiParams
.
upradeFlag
=
'N'
:
apiParams
.
sceneType
=
sceneType
const
data
=
await
uni
.
$api
.
popupApi
[
apiName
](
apiParams
)
const
data
=
await
uni
.
$api
.
popupApi
[
apiName
](
apiParams
)
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
},
handleSearch
(
searchValue
)
{
handleSearch
(
searchValue
)
{
let
{
isDefeatOrder
}
=
this
let
{
isDefeatOrder
}
=
this
...
...
components/OrderPopup/components/PackageList.vue
View file @
0868e30
...
@@ -67,7 +67,7 @@ export default {
...
@@ -67,7 +67,7 @@ export default {
merchantId
:
shopMerchantId
,
merchantId
:
shopMerchantId
,
sceneType
sceneType
})
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
},
handleSearch
(
searchValue
)
{
handleSearch
(
searchValue
)
{
if
(
!
searchValue
)
this
.
searchStatus
=
false
if
(
!
searchValue
)
this
.
searchStatus
=
false
...
...
components/OrderPopup/components/SkuGoodsList.vue
View file @
0868e30
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
merchantId
:
shopMerchantId
,
merchantId
:
shopMerchantId
,
sceneType
sceneType
})
})
if
(
data
&&
data
.
length
)
this
.
updateParams
(
params
,
data
)
this
.
updateParams
(
params
,
data
||
[]
)
},
},
handleSearch
(
searchValue
)
{
handleSearch
(
searchValue
)
{
if
(
!
searchValue
)
this
.
searchStatus
=
false
if
(
!
searchValue
)
this
.
searchStatus
=
false
...
@@ -241,7 +241,7 @@ export default {
...
@@ -241,7 +241,7 @@ export default {
},
},
async
watchAllChose
(
index
,
cancel
)
{
async
watchAllChose
(
index
,
cancel
)
{
let
{
let
{
list
:
goodsList
,
list
Data
:
goodsList
,
}
=
this
;
}
=
this
;
let
result
=
goodsList
[
index
].
multipleSpecificationsGoods
.
specificationList
.
every
(
item
=>
item
.
value
)
let
result
=
goodsList
[
index
].
multipleSpecificationsGoods
.
specificationList
.
every
(
item
=>
item
.
value
)
if
(
result
)
{
if
(
result
)
{
...
...
pages/boutique/tool/components/CreateOrder.vue
View file @
0868e30
...
@@ -282,6 +282,7 @@ export default {
...
@@ -282,6 +282,7 @@ export default {
const
productFields
=
[
'frontGear'
,
'frontWindow'
,
'rearGear'
,
'rearWindow'
,
'sunRoof'
,
'package'
,
'skuGoods'
]
const
productFields
=
[
'frontGear'
,
'frontWindow'
,
'rearGear'
,
'rearWindow'
,
'sunRoof'
,
'package'
,
'skuGoods'
]
if
(
productFields
.
includes
(
val
.
value
))
{
if
(
productFields
.
includes
(
val
.
value
))
{
this
.
valueKey
=
val
.
value
this
.
valueKey
=
val
.
value
this
.
externalData
=
utils
.
deepClone
(
this
.
goodsList
)
}
}
console
.
log
(
this
.
popupType
,
this
.
externalData
,
'-------------'
)
console
.
log
(
this
.
popupType
,
this
.
externalData
,
'-------------'
)
this
.
$refs
.
orderPopup
.
open
()
this
.
$refs
.
orderPopup
.
open
()
...
@@ -297,6 +298,7 @@ export default {
...
@@ -297,6 +298,7 @@ export default {
// 弹窗确认回调
// 弹窗确认回调
onConfirm
(
val
)
{
onConfirm
(
val
)
{
console
.
log
(
val
,
'onConfirm'
)
console
.
log
(
val
,
'onConfirm'
)
this
.
externalData
=
[]
// const { chooseContent } = val
// const { chooseContent } = val
const
chooseContent
=
utils
.
deepClone
(
val
.
chooseContent
)
const
chooseContent
=
utils
.
deepClone
(
val
.
chooseContent
)
// 根据popupTypeEnum优化处理
// 根据popupTypeEnum优化处理
...
@@ -687,6 +689,7 @@ export default {
...
@@ -687,6 +689,7 @@ export default {
merchantId
:
userInfo
.
shopMerchantId
,
merchantId
:
userInfo
.
shopMerchantId
,
sceneType
:
userInfo
.
sceneType
sceneType
:
userInfo
.
sceneType
})
})
this
.
goodsList
=
res
// 分类映射
// 分类映射
const
posMap
=
{
const
posMap
=
{
...
...
utils/Track.js
View file @
0868e30
...
@@ -37,6 +37,10 @@ class Track {
...
@@ -37,6 +37,10 @@ class Track {
if
(
data
.
businessId
)
item
.
businessId
=
data
.
businessId
if
(
data
.
businessId
)
item
.
businessId
=
data
.
businessId
trackList
.
push
(
item
)
trackList
.
push
(
item
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
trackList
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
trackList
)
if
(
!
TRACK_TIME
)
{
console
.
log
(
'---------------- 重新打开定时埋点 ----------------'
)
this
.
sendTrack
()
//开启定时埋点
}
if
(
trackList
.
length
>
9
)
this
.
sendTrackData
()
if
(
trackList
.
length
>
9
)
this
.
sendTrackData
()
}
}
...
@@ -52,8 +56,11 @@ class Track {
...
@@ -52,8 +56,11 @@ class Track {
const
recordList
=
uni
.
getStorageSync
(
'TRACK_LIST'
)
||
[]
const
recordList
=
uni
.
getStorageSync
(
'TRACK_LIST'
)
||
[]
if
(
recordList
.
length
)
{
if
(
recordList
.
length
)
{
const
res
=
await
uni
.
$api
.
commonApi
.
recordInsert
({
recordList
})
const
res
=
await
uni
.
$api
.
commonApi
.
recordInsert
({
recordList
})
if
(
res
)
if
(
res
)
uni
.
setStorageSync
(
'TRACK_LIST'
,
[])
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