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 072227ac
authored
Sep 06, 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
936a4a3d
ca19a6e0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
104 additions
and
69 deletions
components/OrderPopup/components/CouponList.vue
components/OrderPopup/components/DateTime.vue
components/OrderPopup/components/GoodsList.vue
components/OrderPopup/components/PackageList.vue
components/OrderPopup/components/SkuGoodsList.vue
components/OrderScreen/components/OrderStatusList.vue
components/OrderScreen/config.js
components/OrderScreen/index.vue
pages/boutique/components/OrderCard.vue
pages/boutique/tool/components/ConfirmOrder.vue
pages/boutique/tool/components/CreateOrder.vue
pages/boutique/tool/components/DailyReport.vue
pages/boutique/tool/components/DefeatOrder.vue
pages/boutique/tool/components/OrderDetail.vue
pages/boutique/tool/components/OrderManagement.vue
components/OrderPopup/components/CouponList.vue
View file @
072227a
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
},
},
async
getCustomerCouponList
(
customerPhone
)
{
async
getCustomerCouponList
(
customerPhone
)
{
const
phoneRex
=
/^
[
1
]([
3-9
])[
0-9
]{9}
$/
,
const
phoneRex
=
/^
[
1
]([
3-9
])[
0-9
]{9}
$/
,
{
userInfo
,
params
:
formParams
,
data
:
orderObj
}
=
this
,
{
data
:
orderObj
}
=
this
,
params
=
{
params
=
{
customerPhone
,
customerPhone
,
statusList
:
[
0
,
1
],
statusList
:
[
0
,
1
],
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
this
.
customerCouponList
=
data
.
filter
((
item
)
=>
{
this
.
customerCouponList
=
data
.
filter
((
item
)
=>
{
return
(
return
(
item
.
status
!=
1
||
item
.
status
!=
1
||
(
item
.
status
==
1
&&
item
.
customerCouponCode
==
orderObj
[
formParams
.
idKey
]
)
(
item
.
status
==
1
&&
item
.
id
==
orderObj
.
customerCouponId
)
);
);
})
})
}
}
...
...
components/OrderPopup/components/DateTime.vue
View file @
072227a
...
@@ -216,6 +216,12 @@ export default {
...
@@ -216,6 +216,12 @@ export default {
.picker
{
.picker
{
height
:
100%
;
height
:
100%
;
text-align
:
center
;
text-align
:
center
;
.uni-picker-view-content>*{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
toRpx
(
32
);
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
components/OrderPopup/components/GoodsList.vue
View file @
072227a
...
@@ -280,7 +280,7 @@ export default {
...
@@ -280,7 +280,7 @@ export default {
position
:
relative
;
position
:
relative
;
color
:
#333333
;
color
:
#333333
;
font-size
:
toRpx
(
32
);
font-size
:
toRpx
(
32
);
padding
:
toRpx
(
14
)
toRpx
(
16
);
padding
:
toRpx
(
14
)
toRpx
(
32
);
word-break
:
break-all
;
word-break
:
break-all
;
text-align
:
center
;
text-align
:
center
;
.sprite-icon
{
.sprite-icon
{
...
...
components/OrderPopup/components/PackageList.vue
View file @
072227a
...
@@ -9,14 +9,19 @@
...
@@ -9,14 +9,19 @@
:class=
"['item',
{active: checkActive(item)}]"
:class=
"['item',
{active: checkActive(item)}]"
>
>
<view
class=
"title flex"
>
<view
class=
"title flex"
>
<view
class=
"icon"
>
<view
class=
"icon
flex
"
>
<uni-icons
<uni-icons
type=
"circle"
type=
"circle"
:size=
"
16
"
:size=
"
20
"
color=
"#8C8C8C"
color=
"#8C8C8C"
class=
"uni-icons"
class=
"circle"
></uni-icons>
<uni-icons
type=
"checkbox-filled"
:size=
"20"
color=
"#2c66f7"
class=
"filled"
></uni-icons>
></uni-icons>
<view
class=
"sprite-icon icon-notice-success"
></view>
</view>
</view>
{{
item
.
packageGoods
.
packageAlias
||
item
.
packageGoods
.
packageName
}}
{{
item
.
packageGoods
.
packageAlias
||
item
.
packageGoods
.
packageName
}}
<text
class=
"price"
>
¥
{{
item
.
packageGoods
.
upgradePrice
}}
</text>
<text
class=
"price"
>
¥
{{
item
.
packageGoods
.
upgradePrice
}}
</text>
...
@@ -155,12 +160,12 @@ export default {
...
@@ -155,12 +160,12 @@ export default {
margin-left
:
auto
;
margin-left
:
auto
;
}
}
.title
{
.title
{
line-height
:
toRpx
(
44
);
height
:
toRpx
(
88
);
padding
:
toRpx
(
24
)
0
toRpx
(
20
);
padding
:
toRpx
(
24
)
0
toRpx
(
20
);
.icon
{
.icon
{
margin-right
:
toRpx
(
16
);
margin-right
:
toRpx
(
16
);
}
}
.
sprite-icon
{
.
filled
{
display
:
none
;
display
:
none
;
}
}
}
}
...
@@ -191,10 +196,10 @@ export default {
...
@@ -191,10 +196,10 @@ export default {
color
:
#2c66f7
;
color
:
#2c66f7
;
.icon
{
.icon
{
.
uni-icons
{
.
circle
{
display
:
none
;
display
:
none
;
}
}
.
sprite-icon
{
.
filled
{
display
:
block
;
display
:
block
;
}
}
}
}
...
...
components/OrderPopup/components/SkuGoodsList.vue
View file @
072227a
This diff is collapsed.
Click to expand it.
components/OrderScreen/components/OrderStatusList.vue
View file @
072227a
...
@@ -109,8 +109,11 @@ export default {
...
@@ -109,8 +109,11 @@ export default {
},
},
methods
:
{
methods
:
{
initList
()
{
initList
()
{
let
{
data
,
params
:
{
idKey
}
}
=
this
let
{
data
,
params
:
{
idKey
},
list
}
=
this
this
.
currentId
=
data
[
idKey
]
if
(
data
[
idKey
])
{
let
item
=
list
.
find
(
val
=>
val
.
value
.
join
(
','
)
==
data
[
idKey
].
join
(
','
))
this
.
currentId
=
item
?
item
.
id
:
''
}
this
.
$emit
(
'onComplete'
)
this
.
$emit
(
'onComplete'
)
}
}
}
}
...
...
components/OrderScreen/config.js
View file @
072227a
...
@@ -26,7 +26,7 @@ const screenList = [
...
@@ -26,7 +26,7 @@ const screenList = [
title
:
'订单时间'
,
title
:
'订单时间'
,
componentName
:
'TimeList'
,
componentName
:
'TimeList'
,
params
:
{
params
:
{
idKey
:
[
'
orderStartDate'
,
'orderEndDate
'
],
idKey
:
[
'
placeOrderStartDateStr'
,
'placeOrderEndDateStr
'
],
currentIdKey
:
'orderTimeId'
,
currentIdKey
:
'orderTimeId'
,
},
},
...
@@ -35,7 +35,7 @@ const screenList = [
...
@@ -35,7 +35,7 @@ const screenList = [
title
:
'支付时间'
,
title
:
'支付时间'
,
componentName
:
'TimeList'
,
componentName
:
'TimeList'
,
params
:
{
params
:
{
idKey
:
[
'
payStartDate'
,
'payEndDate
'
],
idKey
:
[
'
installUpgradeBeginTimeStr'
,
'installUpgradeEndTimeStr
'
],
currentIdKey
:
'payTimeId'
,
currentIdKey
:
'payTimeId'
,
},
},
...
...
components/OrderScreen/index.vue
View file @
072227a
...
@@ -139,8 +139,8 @@ export default {
...
@@ -139,8 +139,8 @@ export default {
delete
chooseContent
.
payTimeId
delete
chooseContent
.
payTimeId
delete
chooseContent
.
orderTimeId
delete
chooseContent
.
orderTimeId
Object
.
keys
(
chooseContent
).
map
(
e
=>
{
Object
.
keys
(
chooseContent
).
map
(
e
=>
{
if
(
e
==
'
orderStartDate'
||
e
==
'payStartDate
'
)
chooseContent
[
e
]
=
`
${
chooseContent
[
e
]}
00:00:00`
if
(
e
==
'
placeOrderStartDateStr'
||
e
==
'installUpgradeBeginTimeStr
'
)
chooseContent
[
e
]
=
`
${
chooseContent
[
e
]}
00:00:00`
if
(
e
==
'
orderEndDate'
||
e
==
'payEndDate
'
)
chooseContent
[
e
]
=
`
${
chooseContent
[
e
]}
23:59:59`
if
(
e
==
'
placeOrderEndDateStr'
||
e
==
'installUpgradeEndTimeStr
'
)
chooseContent
[
e
]
=
`
${
chooseContent
[
e
]}
23:59:59`
})
})
this
.
$emit
(
'onConfirm'
,
chooseContent
)
this
.
$emit
(
'onConfirm'
,
chooseContent
)
this
.
close
()
this
.
close
()
...
...
pages/boutique/components/OrderCard.vue
View file @
072227a
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<view>
<view>
<view
class=
"goods-list"
:style=
"
{ paddingBottom: orderCardDetail.subOrderList
&&
orderCardDetail.subOrderList.length
< 1
?
'
0
'
:
''
}"
v-if=
"orderCardDetail.subOrderList && orderCardDetail.subOrderList.length > 0"
>
<view
class=
"goods-list"
:style=
"
{ paddingBottom: orderCardDetail.subOrderList
&&
orderCardDetail.subOrderList.length
< 1
?
'
0
'
:
''
}"
v-if=
"orderCardDetail.subOrderList && orderCardDetail.subOrderList.length > 0"
>
<view>
<view>
<view
v-for=
"(i, sindex) in orderCardDetail.subOrderList"
:key=
"sindex"
class=
"goods flex justify-between"
v-if=
"orderCardDetail.showAllGoodsListFlag ? true : sindex
< 2
"
>
<view
v-for=
"(i, sindex) in orderCardDetail.subOrderList"
:key=
"sindex"
class=
"goods flex justify-between"
:class=
"
{ 'no-margin': orderCardDetail.subOrderList.length === 1 }"
v-if="orderCardDetail.showAllGoodsListFlag ? true : sindex
< 2
"
>
<view
class=
"goods-name text-hide flex"
>
<view
class=
"goods-name text-hide flex"
>
<view
class=
"point"
></view>
<view
class=
"point"
></view>
{{
i
.
upgradeGoodsAlias
||
i
.
upgradeGoodsName
||
i
.
packageName
||
''
}}
{{
i
.
upgradeGoodsAlias
||
i
.
upgradeGoodsName
||
i
.
packageName
||
''
}}
...
@@ -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
}}
件)
...
@@ -524,7 +524,10 @@ export default {
...
@@ -524,7 +524,10 @@ export default {
color
:
#333333
;
color
:
#333333
;
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
font-weight
:
400
;
font-weight
:
400
;
padding-top
:
toRpx
(
12
);
margin-bottom
:
toRpx
(
16
);
&.no-margin
{
margin-bottom
:
0
;
}
.goods-name
{
.goods-name
{
.point
{
.point
{
width
:
toRpx
(
12
);
width
:
toRpx
(
12
);
...
...
pages/boutique/tool/components/ConfirmOrder.vue
View file @
072227a
...
@@ -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 @
072227a
<
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/DailyReport.vue
View file @
072227a
...
@@ -717,7 +717,6 @@ export default {
...
@@ -717,7 +717,6 @@ export default {
width
:
100%
;
width
:
100%
;
height
:
toRpx
(
80
);
height
:
toRpx
(
80
);
border-radius
:
toRpx
(
48
);
border-radius
:
toRpx
(
48
);
border
:
toRpx
(
2
)
solid
#979797
;
background
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
background
:
linear-gradient
(
0deg
,
#2c66f7
0%
,
#48a6ff
100%
);
color
:
#ffffff
;
color
:
#ffffff
;
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
...
@@ -726,7 +725,6 @@ export default {
...
@@ -726,7 +725,6 @@ export default {
.cancel-btn
{
.cancel-btn
{
background
:
#3b73ff1
a
;
background
:
#3b73ff1
a
;
color
:
#4673ff
;
color
:
#4673ff
;
border
:
toRpx
(
2
)
solid
#fff
;
}
}
}
}
}
}
...
...
pages/boutique/tool/components/DefeatOrder.vue
View file @
072227a
...
@@ -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 @
072227a
<
template
>
<
template
>
<view
class=
"order-detail"
>
<view
class=
"order-detail"
>
<view
class=
"common-title"
>
{{
orderInfo
.
constructionFlag
==
'Y'
&&
orderInfo
.
status
!=
10
?
'完成施工'
:
'工单详情'
}}
</view>
<view
class=
"common-title"
>
{{
orderInfo
.
constructionFlag
==
'Y'
&&
orderInfo
.
status
!=
10
?
'完成施工'
:
'工单详情'
}}
</view>
<view
v-if=
"isShow"
class=
"px-48 scroll-y"
:class=
"
{ 'construction-flag-y':
orderInfo
&&
orderInfo.constructionFlag !== 'Y'
&&
!isMake }">
<view
v-if=
"isShow"
class=
"px-48 scroll-y"
:class=
"
{ 'construction-flag-y': !isMake }">
<view
class=
"top-tips flex align-center"
v-if=
"orderInfo.status != 10 && orderInfo.status != 9 && orderInfo.constructionFlag !== 'Y'"
>
<view
class=
"top-tips flex align-center"
v-if=
"orderInfo.status != 10 && orderInfo.status != 9 && orderInfo.constructionFlag !== 'Y'"
>
<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-20
"
>
<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>
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
</view>
</view>
</view>
</view>
<!-- 工单信息 -->
<!-- 工单信息 -->
<view
class=
"box-shell"
>
<view
class=
"box-shell
pt-32
"
>
<view
class=
"box-shell-title"
>
工单信息
</view>
<view
class=
"box-shell-title"
>
工单信息
</view>
<view
class=
"order-info pt-16"
>
<view
class=
"order-info pt-16"
>
<view
v-for=
"(item, index) in orderObj"
:key=
"index"
class=
"flex align-center pt-16"
>
<view
v-for=
"(item, index) in orderObj"
:key=
"index"
class=
"flex align-center pt-16"
>
...
@@ -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"
>
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<view
class=
"box-shell"
>
<view
class=
"box-shell"
>
<view
class=
"box-shell-title"
>
客户信息
</view>
<view
class=
"box-shell-title"
>
客户信息
</view>
<view
class=
"order-info pt-16"
>
<view
class=
"order-info pt-16"
>
<view
class=
"flex align-center pt-
16
"
v-for=
"(item, index) in customerObj"
:key=
"index"
>
<view
class=
"flex align-center pt-
20
"
v-for=
"(item, index) in customerObj"
:key=
"index"
>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"value"
:style=
"
{ color: item.color || '#333' }">
<view
class=
"value"
:style=
"
{ color: item.color || '#333' }">
<view
v-if=
"item.arr"
>
<view
v-if=
"item.arr"
>
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
<view
class=
"box"
>
<view
class=
"box"
>
<view
class=
"box-shell-title"
>
{{
orderInfo
.
selectPayType
==
0
?
'客服'
:
'质保信息'
}}
</view>
<view
class=
"box-shell-title"
>
{{
orderInfo
.
selectPayType
==
0
?
'客服'
:
'质保信息'
}}
</view>
<view
class=
"warranty-list"
v-for=
"(item, index) in warrantyCardList"
:key=
"index"
>
<view
class=
"warranty-list"
v-for=
"(item, index) in warrantyCardList"
:key=
"index"
>
<view
class=
"warranty flex align-center justify-between pt-
8
"
>
<view
class=
"warranty flex align-center justify-between pt-
20
"
>
<view
class=
"flex align-center"
>
<view
class=
"flex align-center"
>
<view
class=
"label"
>
质保产品
</view>
<view
class=
"label"
>
质保产品
</view>
<view
class=
"value"
>
{{
replaceItemText
(
item
.
goodsName
)
}}
</view>
<view
class=
"value"
>
{{
replaceItemText
(
item
.
goodsName
)
}}
</view>
...
@@ -176,11 +176,11 @@
...
@@ -176,11 +176,11 @@
质保价格
质保价格
</view>
</view>
</view>
</view>
<view
class=
"warranty flex align-center pt-
8
"
>
<view
class=
"warranty flex align-center pt-
20
"
>
<view
class=
"label"
>
质保期
</view>
<view
class=
"label"
>
质保期
</view>
<view
class=
"value"
>
{{
item
.
warrantyPeriod
}}
</view>
<view
class=
"value"
>
{{
item
.
warrantyPeriod
}}
</view>
</view>
</view>
<view
class=
"warranty flex align-start pt-
8
"
>
<view
class=
"warranty flex align-start pt-
20
"
>
<view
class=
"label"
>
质保编码
</view>
<view
class=
"label"
>
质保编码
</view>
<view
class=
"codeImg-box"
>
<view
class=
"codeImg-box"
>
<image
v-if=
"item.barCodeUrl"
:src=
"item.barCodeUrl"
class=
"barCodeImg"
/>
<image
v-if=
"item.barCodeUrl"
:src=
"item.barCodeUrl"
class=
"barCodeImg"
/>
...
@@ -190,7 +190,7 @@
...
@@ -190,7 +190,7 @@
</view>
</view>
<view
class=
"warranty-list"
>
<view
class=
"warranty-list"
>
<view
class=
"warranty flex align-start pt-
8
"
>
<view
class=
"warranty flex align-start pt-
20
"
>
<view
class=
"label"
>
{{
orderInfo
.
selectPayType
==
0
?
'客服号'
:
'质保查询'
}}
</view>
<view
class=
"label"
>
{{
orderInfo
.
selectPayType
==
0
?
'客服号'
:
'质保查询'
}}
</view>
<view
class=
"value"
>
<view
class=
"value"
>
<view
class=
"warranty-tips"
v-if=
"warrantyCardVisible"
>
<view
class=
"warranty-tips"
v-if=
"warrantyCardVisible"
>
...
@@ -206,9 +206,9 @@
...
@@ -206,9 +206,9 @@
<view
class=
"flex align-center footer-box justify-center"
v-if=
"isMake"
>
<view
class=
"flex align-center footer-box justify-center"
v-if=
"isMake"
>
<view
class=
"edit btn flex-1"
@
click=
"repeal"
>
撤销工单
</view>
<view
class=
"edit btn flex-1"
@
click=
"repeal"
>
撤销工单
</view>
</view>
</view>
<view
class=
"flex align-center footer-box justify-center"
v-if=
"orderInfo.constructionFlag == 'Y'"
>
<
!--
<
view
class=
"flex align-center footer-box justify-center"
v-if=
"orderInfo.constructionFlag == 'Y'"
>
<view
class=
"edit btn flex-1"
@
click=
"repeal"
>
再来一单
</view>
<view
class=
"edit btn flex-1"
@
click=
"repeal"
>
再来一单
</view>
</view>
</view>
-->
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
<!-- 已支付4 战败2 已评价6 三种状态才展示 并且不是通过失效客户录入的战败单 -->
<view
v-if=
"!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6) && ((orderInfo.subOrderList && orderInfo.subOrderList.length) || (orderInfo.packageGoodsList && orderInfo.packageGoodsList.length))"
>
<view
v-if=
"!userInfo.isSuper && userInfo.loginRole != 3 && userInfo.loginRole != 6 && userInfo.userType == 2 && (orderInfo.status == 4 || orderInfo.status == 2 || orderInfo.status == 6) && ((orderInfo.subOrderList && orderInfo.subOrderList.length) || (orderInfo.packageGoodsList && orderInfo.packageGoodsList.length))"
>
<!-- 不需要走签名逻辑 -->
<!-- 不需要走签名逻辑 -->
...
@@ -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)
},
},
...
@@ -771,6 +766,9 @@ export default {
...
@@ -771,6 +766,9 @@ export default {
.pt-16
{
.pt-16
{
padding-top
:
toRpx
(
16
);
padding-top
:
toRpx
(
16
);
}
}
.pt-20
{
padding-top
:
toRpx
(
20
);
}
.pt-12
{
.pt-12
{
padding-top
:
toRpx
(
12
);
padding-top
:
toRpx
(
12
);
}
}
...
@@ -801,9 +799,24 @@ export default {
...
@@ -801,9 +799,24 @@ export default {
.mr-8
{
.mr-8
{
margin-right
:
toRpx
(
8
);
margin-right
:
toRpx
(
8
);
}
}
.mt-12
{
margin-top
:
toRpx
(
12
);
}
.mt-20
{
margin-top
:
toRpx
(
20
);
}
.my-16
{
margin
:
toRpx
(
16
)
0
;
}
.py-8
{
.py-8
{
padding
:
toRpx
(
8
)
0
;
padding
:
toRpx
(
8
)
0
;
}
}
.py-16
{
padding
:
toRpx
(
16
)
0
;
}
.pt-32
{
padding-top
:
toRpx
(
32
)
!important
;
}
.date-box
{
.date-box
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -928,7 +941,7 @@ export default {
...
@@ -928,7 +941,7 @@ export default {
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
border-radius
:
toRpx
(
24
);
border-radius
:
toRpx
(
24
);
background
:
#f5f7fa
;
background
:
#f5f7fa
;
padding
:
toRpx
(
24
);
padding
:
toRpx
(
30
)
toRpx
(
24
)
toRpx
(
24
)
toRpx
(
24
);
margin-bottom
:
toRpx
(
16
);
margin-bottom
:
toRpx
(
16
);
.good-name
{
.good-name
{
font-weight
:
400
;
font-weight
:
400
;
...
...
pages/boutique/tool/components/OrderManagement.vue
View file @
072227a
...
@@ -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
()
},
},
copyText
(
e
)
{
copyText
(
e
)
{
...
@@ -294,6 +296,10 @@ export default {
...
@@ -294,6 +296,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
,
...
@@ -339,6 +345,7 @@ export default {
...
@@ -339,6 +345,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
,
...
@@ -357,10 +364,13 @@ export default {
...
@@ -357,10 +364,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
=>
{
...
@@ -525,7 +535,8 @@ export default {
...
@@ -525,7 +535,8 @@ export default {
}
}
.search-box
{
.search-box
{
padding
:
toRpx
(
40
)
toRpx
(
48
)
toRpx
(
24
);
padding
:
toRpx
(
40
)
toRpx
(
48
)
toRpx
(
0
);
margin-bottom
:
toRpx
(
24
);
position
:
relative
;
position
:
relative
;
&::after
{
&::after
{
content
:
''
;
content
:
''
;
...
@@ -593,11 +604,10 @@ export default {
...
@@ -593,11 +604,10 @@ export default {
.tab-container
{
.tab-container
{
display
:
flex
;
display
:
flex
;
//
justify-content
:
start
;
//
justify-content
:
start
;
padding
:
toRpx
(
0
)
toRpx
(
48
)
toRpx
(
24
);
padding
:
toRpx
(
0
)
toRpx
(
48
);
height
:
toRpx
(
80
);
margin-bottom
:
toRpx
(
24
);
margin-bottom
:
toRpx
(
20
);
.filter-item
{
.filter-item
{
width
:
toRpx
(
164
);
//
width
:
toRpx
(
164
);
height
:
toRpx
(
72
);
height
:
toRpx
(
72
);
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
background
:
#fff
;
background
:
#fff
;
...
@@ -605,14 +615,16 @@ export default {
...
@@ -605,14 +615,16 @@ export default {
color
:
#333333
;
color
:
#333333
;
font-size
:
toRpx
(
28
);
font-size
:
toRpx
(
28
);
font-weight
:
400
;
font-weight
:
400
;
padding
:
toRpx
(
0
)
toRpx
(
40
);
}
}
}
}
.tab-item
{
.tab-item
{
width
:
toRpx
(
164
);
//
width
:
toRpx
(
164
);
height
:
toRpx
(
72
);
height
:
toRpx
(
72
);
border-radius
:
toRpx
(
16
);
border-radius
:
toRpx
(
16
);
margin-right
:
toRpx
(
16
);
margin-right
:
toRpx
(
20
);
padding
:
toRpx
(
0
)
toRpx
(
40
);
opacity
:
1
;
opacity
:
1
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
...
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