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 a469443b
authored
Sep 04, 2025
by
李伟康
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
246078e6
0868e302
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
40 additions
and
31 deletions
pages/boutique/components/OrderCard.vue
pages/boutique/tool/components/ConfirmOrder.vue
pages/boutique/tool/components/CreateOrder.vue
pages/boutique/tool/components/DefeatOrder.vue
pages/boutique/tool/components/OrderDetail.vue
pages/boutique/tool/components/OrderManagement.vue
pages/boutique/components/OrderCard.vue
View file @
a469443
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</view>
</view>
<view
v-if=
"orderCardDetail.subOrderList.length > 2"
class=
"goods-more"
>
<view
v-if=
"orderCardDetail.subOrderList.length > 2"
class=
"goods-more"
>
<text
@
click=
"showAllGoodsList"
>
<text
@
click
.
stop
=
"showAllGoodsList"
>
{{
orderCardDetail
.
showAllGoodsListFlag
?
'收起'
:
'查看全部'
}}
{{
orderCardDetail
.
showAllGoodsListFlag
?
'收起'
:
'查看全部'
}}
</text>
</text>
(共
{{
orderCardDetail
.
subOrderList
.
length
}}
件)
(共
{{
orderCardDetail
.
subOrderList
.
length
}}
件)
...
...
pages/boutique/tool/components/ConfirmOrder.vue
View file @
a469443
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
<PublishPopup
ref=
"tipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
@
confirm=
"confirmTips"
>
<PublishPopup
ref=
"tipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
@
confirm=
"confirmTips"
>
<template
#
content
>
<template
#
content
>
<view>
<view>
<image
class=
"tipsPopupBg"
src=
"@/assets/images/boutique/tipsPopupBg.pn
g"
/>
<image
class=
"tipsPopupBg"
:src=
"popupB
g"
/>
<view
class=
"title"
>
重要提示
</view>
<view
class=
"title"
>
重要提示
</view>
<view
class=
"tipsConent"
>
<view
class=
"tipsConent"
>
<view>
请检查店内是否配备POS机,确认信息后该工单将无法撤销或修改!
</view>
<view>
请检查店内是否配备POS机,确认信息后该工单将无法撤销或修改!
</view>
...
@@ -245,6 +245,7 @@ export default {
...
@@ -245,6 +245,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
...
order_mixins
.
data
,
...
order_mixins
.
data
,
popupBg
:
require
(
'@/assets/images/boutique/tipsPopupBg.png'
),
positionTypeList
:
[],
positionTypeList
:
[],
isErrorOrder
:
false
,
isErrorOrder
:
false
,
orderInfo
:
null
,
orderInfo
:
null
,
...
...
pages/boutique/tool/components/CreateOrder.vue
View file @
a469443
<
template
>
<
template
>
<view
class=
"order"
>
<view
class=
"order"
>
<view
class=
"common-title"
>
{{
orderCreateType
==
'createWithPay'
?
'新建工单'
:
'补录订单'
}}
</view>
<view
class=
"common-title"
>
{{
orderCreateType
==
'createWithPay'
?
'新建工单'
:
'补录订单'
}}
</view>
<view
class=
"box"
>
<view
class=
"box"
>
<scroll-view
class=
"scroll-view"
scroll-y=
"true"
>
<scroll-view
class=
"scroll-view"
scroll-y=
"true"
>
<view
class=
"box-content"
>
<view
class=
"box-content"
>
<GlCell
:formList=
"formList"
:formData=
"orderObj"
@
radioChange=
"radioChange"
@
inputBlur=
"inputBlur"
<GlCell
:formList=
"formList"
:formData=
"orderObj"
@
radioChange=
"radioChange"
@
inputBlur=
"inputBlur"
@
handleCell=
"handleCell"
>
@
handleCell=
"handleCell"
>
<template
slot=
"frontGear"
>
<template
slot=
"frontGear"
>
<Product
v-if=
"orderObj.frontGear"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.frontGear"
:positionTypeList=
"positionTypeList"
<Product
v-if=
"orderObj.frontGear"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.frontGear"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
</
template
>
<
template
slot=
"frontWindow"
>
<
template
slot=
"frontWindow"
>
<Product
v-if=
"orderObj.frontWindow"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.frontWindow"
:positionTypeList=
"positionTypeList"
<Product
v-if=
"orderObj.frontWindow"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.frontWindow"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
</
template
>
<
template
slot=
"rearWindow"
>
<
template
slot=
"rearWindow"
>
<Product
v-if=
"orderObj.rearWindow"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.rearWindow"
:positionTypeList=
"positionTypeList"
<Product
v-if=
"orderObj.rearWindow"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.rearWindow"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
</
template
>
<
template
slot=
"rearGear"
>
<
template
slot=
"rearGear"
>
<Product
v-if=
"orderObj.rearGear"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.rearGear"
:positionTypeList=
"positionTypeList"
<Product
v-if=
"orderObj.rearGear"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.rearGear"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
</
template
>
<
template
slot=
"sunRoof"
>
<
template
slot=
"sunRoof"
>
<Product
v-if=
"orderObj.sunRoof"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.sunRoof"
:positionTypeList=
"positionTypeList"
<Product
v-if=
"orderObj.sunRoof"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.sunRoof"
:positionTypeList=
"positionTypeList"
:baseConfigData=
"baseConfigData"
></Product>
:baseConfigData=
"baseConfigData"
></Product>
</
template
>
</
template
>
<
template
slot=
"package"
>
<
template
slot=
"package"
>
<Package
v-if=
"orderObj.package"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.package"
:positionTypeList=
"positionTypeList"
></Package>
<Package
v-if=
"orderObj.package"
@
changeTotalPrice=
"changeTotalPrice"
:list=
"orderObj.package"
:positionTypeList=
"positionTypeList"
></Package>
...
@@ -230,7 +224,7 @@ export default {
...
@@ -230,7 +224,7 @@ export default {
// 埋点
// 埋点
if
(
this
.
orderCreateType
==
'createWithPay'
&&
!
this
.
orderObj
.
id
)
{
if
(
this
.
orderCreateType
==
'createWithPay'
&&
!
this
.
orderObj
.
id
)
{
uni
.
$track
.
add
({
eventCode
:
'app_create_order'
})
uni
.
$track
.
add
({
eventCode
:
'app_create_order'
})
}
else
if
(
this
.
orderCreateType
==
'supplementOrder'
)
{
}
else
if
(
this
.
orderCreateType
==
'supplementOrder'
)
{
uni
.
$track
.
add
({
eventCode
:
'app_supplement_order'
})
uni
.
$track
.
add
({
eventCode
:
'app_supplement_order'
})
}
}
const
{
userInfo
}
=
this
const
{
userInfo
}
=
this
...
@@ -410,14 +404,14 @@ export default {
...
@@ -410,14 +404,14 @@ export default {
}
}
if
(
this
.
orderObj
.
standNo
)
{
if
(
this
.
orderObj
.
standNo
)
{
const
vinRex
=
/
[
A-Z0-9
]{17}
$/
;
const
vinRex
=
/
^
(?=
.*
[
A-Za-z
])[
A-Za-z0-9
]{17}
$/
console
.
log
(
this
.
orderObj
.
standNo
,
vinRex
.
test
(
this
.
orderObj
.
standNo
))
console
.
log
(
this
.
orderObj
.
standNo
,
vinRex
.
test
(
this
.
orderObj
.
standNo
))
if
(
!
vinRex
.
test
(
this
.
orderObj
.
standNo
))
{
if
(
!
vinRex
.
test
(
this
.
orderObj
.
standNo
))
{
uni
.
showToast
({
uni
.
showToast
({
title
:
`请输入正确的VIN码`
,
title
:
`请输入正确的VIN码`
,
icon
:
'none'
icon
:
'none'
})
})
return
false
;
return
false
}
}
}
}
...
@@ -524,7 +518,7 @@ export default {
...
@@ -524,7 +518,7 @@ export default {
})
})
if
(
this
.
orderCreateType
==
'createWithPay'
&&
!
this
.
orderObj
.
id
)
{
if
(
this
.
orderCreateType
==
'createWithPay'
&&
!
this
.
orderObj
.
id
)
{
uni
.
$track
.
add
({
eventCode
:
'app_submit_create_order'
})
uni
.
$track
.
add
({
eventCode
:
'app_submit_create_order'
})
}
else
if
(
this
.
orderCreateType
==
'supplementOrder'
)
{
}
else
if
(
this
.
orderCreateType
==
'supplementOrder'
)
{
uni
.
$track
.
add
({
eventCode
:
'app_submit_supplement_order'
})
uni
.
$track
.
add
({
eventCode
:
'app_submit_supplement_order'
})
}
}
this
.
$emit
(
'jump'
,
orderCreateType
==
'supplementOrder'
?
'OrderDetail'
:
'ConfirmOrder'
,
res
)
this
.
$emit
(
'jump'
,
orderCreateType
==
'supplementOrder'
?
'OrderDetail'
:
'ConfirmOrder'
,
res
)
...
...
pages/boutique/tool/components/DefeatOrder.vue
View file @
a469443
...
@@ -380,7 +380,7 @@ export default {
...
@@ -380,7 +380,7 @@ export default {
}
}
if
(
this
.
orderObj
.
standNo
)
{
if
(
this
.
orderObj
.
standNo
)
{
const
vinRex
=
/
[
A-Z
0-9
]{17}
$/
const
vinRex
=
/
^
(?=
.*
[
A-Za-z
])[
A-Za-z
0-9
]{17}
$/
console
.
log
(
this
.
orderObj
.
standNo
,
vinRex
.
test
(
this
.
orderObj
.
standNo
))
console
.
log
(
this
.
orderObj
.
standNo
,
vinRex
.
test
(
this
.
orderObj
.
standNo
))
if
(
!
vinRex
.
test
(
this
.
orderObj
.
standNo
))
{
if
(
!
vinRex
.
test
(
this
.
orderObj
.
standNo
))
{
uni
.
showToast
({
uni
.
showToast
({
...
...
pages/boutique/tool/components/OrderDetail.vue
View file @
a469443
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<uni-icons
class=
"checkbox-filled"
type=
"checkbox-filled"
color=
"#4ac18e"
></uni-icons>
<uni-icons
class=
"checkbox-filled"
type=
"checkbox-filled"
color=
"#4ac18e"
></uni-icons>
<view>
<view>
<view
class=
"fs-34 fw-5"
>
客户已付款
</view>
<view
class=
"fs-34 fw-5"
>
客户已付款
</view>
<view
class=
"fs-26"
>
技师施工完毕后可通知车主前来取车
</view>
<view
class=
"fs-26
mt-12
"
>
技师施工完毕后可通知车主前来取车
</view>
</view>
</view>
<view
class=
"sprite-icon icon-topTipsRightIcon topTipsRightIcon"
></view>
<view
class=
"sprite-icon icon-topTipsRightIcon topTipsRightIcon"
></view>
</view>
</view>
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<text
class=
"good-name"
>
商品名称:
{{
replaceItemText
(
item
.
upgradeGoodsName
)
||
''
}}
</text>
<text
class=
"good-name"
>
商品名称:
{{
replaceItemText
(
item
.
upgradeGoodsName
)
||
''
}}
</text>
<text
class=
"good-price"
>
¥
{{
item
.
price
}}
</text>
<text
class=
"good-price"
>
¥
{{
item
.
price
}}
</text>
</view>
</view>
<view
class=
"flex justify-between align-center
pt-6
"
>
<view
class=
"flex justify-between align-center
mt-12
"
>
<text
class=
"good-alias"
>
商品别名:
{{
replaceItemText
(
item
.
upgradeGoodsAlias
)
||
''
}}
</text>
<text
class=
"good-alias"
>
商品别名:
{{
replaceItemText
(
item
.
upgradeGoodsAlias
)
||
''
}}
</text>
</view>
</view>
<view
class=
"flex align-center pt-12"
>
<view
class=
"flex align-center pt-12"
>
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"flex align-center
py-8
"
>
<view
class=
"flex align-center
my-16
"
>
<view
class=
"sprite-icon icon-coupon fs-14"
></view>
<view
class=
"sprite-icon icon-coupon fs-14"
></view>
<text
class=
"fs-14 coupon-name"
>
{{
orderInfo
.
couponName
||
''
}}{{
orderInfo
.
customerCoupon
.
customerCouponCode
||
''
}}
(
{{
orderInfo
.
customerCoupon
.
employeeName
||
''
}}
)
</text>
<text
class=
"fs-14 coupon-name"
>
{{
orderInfo
.
couponName
||
''
}}{{
orderInfo
.
customerCoupon
.
customerCouponCode
||
''
}}
(
{{
orderInfo
.
customerCoupon
.
employeeName
||
''
}}
)
</text>
</view>
</view>
...
@@ -101,7 +101,7 @@
...
@@ -101,7 +101,7 @@
<view
class=
"sprite-icon icon-icon-copy copy"
></view>
<view
class=
"sprite-icon icon-icon-copy copy"
></view>
</view>
</view>
<
view
class=
"customize-btn"
v-if=
"item.dateChange"
@
click
.
stop=
"customizeDate"
>
自定义
</view
>
<
!--
<view
class=
"customize-btn"
v-if=
"item.dateChange"
@
click
.
stop=
"customizeDate"
>
自定义
</view>
--
>
</view>
</view>
<view
v-if=
"(orderInfo.selectPayType == 2 || orderInfo.selectPayType == 5 || orderInfo.selectPayType == 6 || orderInfo.selectPayType == 7) && orderInfo.payVoucherList.length"
>
<view
v-if=
"(orderInfo.selectPayType == 2 || orderInfo.selectPayType == 5 || orderInfo.selectPayType == 6 || orderInfo.selectPayType == 7) && orderInfo.payVoucherList.length"
>
<view
class=
"flex align-start pt-16"
>
<view
class=
"flex align-start pt-16"
>
...
@@ -287,6 +287,7 @@ export default {
...
@@ -287,6 +287,7 @@ export default {
...
order_mixins
.
data
,
...
order_mixins
.
data
,
orderInfo
:
{},
orderInfo
:
{},
baseConfigData
:
{},
baseConfigData
:
{},
customerService
:
''
,
defaultCustomerService
:
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/kf.png'
,
defaultCustomerService
:
'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/kf.png'
,
failCustomerService
:
'../images/kfrefresh.png'
,
failCustomerService
:
'../images/kfrefresh.png'
,
warrantyCardVisible
:
true
,
warrantyCardVisible
:
true
,
...
@@ -498,12 +499,6 @@ export default {
...
@@ -498,12 +499,6 @@ export default {
}
else
{
}
else
{
this
.
customerService
=
defaultCustomerService
this
.
customerService
=
defaultCustomerService
}
}
// else {
// wx.$util.showToast(message)
// }
})
.
catch
(
err
=>
{
this
.
customerService
=
failCustomerService
})
})
// }, 3000)
// }, 3000)
},
},
...
@@ -801,9 +796,18 @@ export default {
...
@@ -801,9 +796,18 @@ export default {
.mr-8
{
.mr-8
{
margin-right
:
toRpx
(
8
);
margin-right
:
toRpx
(
8
);
}
}
.mt-12
{
margin-top
:
toRpx
(
12
);
}
.my-16
{
margin
:
toRpx
(
16
)
0
;
}
.py-8
{
.py-8
{
padding
:
toRpx
(
8
)
0
;
padding
:
toRpx
(
8
)
0
;
}
}
.py-16
{
padding
:
toRpx
(
16
)
0
;
}
.date-box
{
.date-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
pages/boutique/tool/components/OrderManagement.vue
View file @
a469443
...
@@ -268,7 +268,9 @@ export default {
...
@@ -268,7 +268,9 @@ export default {
},
},
openFilterConfirm
(
val
)
{
openFilterConfirm
(
val
)
{
console
.
log
(
val
)
console
.
log
(
val
)
this
.
searchObj
=
null
this
.
searchObj
=
val
this
.
searchObj
=
val
console
.
log
(
this
.
searchObj
)
this
.
search
()
this
.
search
()
},
},
tabChange
(
index
)
{
tabChange
(
index
)
{
...
@@ -281,6 +283,10 @@ export default {
...
@@ -281,6 +283,10 @@ export default {
}
}
},
},
getStatByStatus
()
{
getStatByStatus
()
{
if
((
this
.
searchObj
.
statusList
&&
this
.
searchObj
.
statusList
[
0
]
==
'Y'
)
||
(
this
.
searchObj
.
statusList
&&
this
.
searchObj
.
statusList
[
0
]
==
'N'
))
{
this
.
searchObj
.
constructionFlag
=
this
.
searchObj
.
statusList
[
0
]
delete
this
.
searchObj
.
statusList
}
uni
.
$api
.
boutiqueApi
uni
.
$api
.
boutiqueApi
.
statByStatus
({
.
statByStatus
({
...
this
.
searchObj
,
...
this
.
searchObj
,
...
@@ -326,6 +332,7 @@ export default {
...
@@ -326,6 +332,7 @@ export default {
})
})
},
},
queryList
(
pageNo
,
pageSize
)
{
queryList
(
pageNo
,
pageSize
)
{
console
.
log
(
this
.
searchObj
)
let
obj
=
{
let
obj
=
{
keyword
:
this
.
keyword
,
keyword
:
this
.
keyword
,
pageSize
,
pageSize
,
...
@@ -344,10 +351,13 @@ export default {
...
@@ -344,10 +351,13 @@ export default {
}
else
if
(
this
.
tabIndex
==
1
)
{
}
else
if
(
this
.
tabIndex
==
1
)
{
obj
.
statusList
=
[
1
]
obj
.
statusList
=
[
1
]
}
}
console
.
log
(
this
.
searchObj
.
statusList
)
console
.
log
(
this
.
searchObj
.
statusList
&&
this
.
searchObj
.
statusList
[
0
])
if
((
this
.
searchObj
.
statusList
&&
this
.
searchObj
.
statusList
[
0
]
==
'Y'
)
||
(
this
.
searchObj
.
statusList
&&
this
.
searchObj
.
statusList
[
0
]
==
'N'
))
{
if
((
this
.
searchObj
.
statusList
&&
this
.
searchObj
.
statusList
[
0
]
==
'Y'
)
||
(
this
.
searchObj
.
statusList
&&
this
.
searchObj
.
statusList
[
0
]
==
'N'
))
{
this
.
searchObj
.
constructionFlag
=
this
.
searchObj
.
statusList
[
0
]
this
.
searchObj
.
constructionFlag
=
this
.
searchObj
.
statusList
[
0
]
delete
this
.
searchO
bj
.
statusList
delete
o
bj
.
statusList
}
}
uni
.
$api
.
boutiqueApi
uni
.
$api
.
boutiqueApi
.
getWorkPackageGoodsList
(
obj
)
.
getWorkPackageGoodsList
(
obj
)
.
then
(
result
=>
{
.
then
(
result
=>
{
...
...
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