Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dd01797d
authored
Jul 29, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
d308b352
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
19 deletions
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.js
tabWorkOrder/pages/confirmOrder/confirmOrder.js
tabWorkOrder/pages/orderDetail/orderDetail.wxml
tabWorkOrder/components/orderRatingPopup/orderRatingPopup.js
View file @
dd01797
...
...
@@ -176,14 +176,25 @@ Component({
that
.
setData
({
orderInfo
})
const
customerPhotos
=
orderInfo
.
subOrderList
[
index
].
constructionImgList
.
map
(
item
=>
{
return
{
customerPhoto
:
item
,
subOrderCode
:
orderInfo
.
subOrderList
[
index
].
subOrderCode
// const customerPhotos = orderInfo.subOrderList[
// index
// ].constructionImgList.map(item => {
// return {
// customerPhoto: item,
// subOrderCode: orderInfo.subOrderList[index].subOrderCode
// }
// })
const
customerPhotos
=
orderInfo
.
subOrderList
.
reduce
((
pre
,
item
)
=>
{
if
(
item
.
constructionImgList
)
{
item
.
constructionImgList
.
map
(
el
=>
{
pre
.
push
({
customerPhoto
:
el
,
subOrderCode
:
item
.
subOrderCode
})
})
}
})
return
pre
;
},
[])
that
.
updateCustomerphotos
({
orderCode
:
orderInfo
.
orderCode
,
customerPhotos
...
...
@@ -206,14 +217,17 @@ Component({
}
orderInfo
.
subOrderList
[
imgindex
].
constructionImgList
.
splice
(
index
,
1
)
const
customerPhotos
=
orderInfo
.
subOrderList
[
imgindex
].
constructionImgList
.
map
(
item
=>
{
return
{
customerPhoto
:
item
,
subOrderCode
:
orderInfo
.
subOrderList
[
imgindex
].
subOrderCode
const
customerPhotos
=
orderInfo
.
subOrderList
.
reduce
((
pre
,
item
)
=>
{
if
(
item
.
constructionImgList
)
{
item
.
constructionImgList
.
map
(
el
=>
{
pre
.
push
({
customerPhoto
:
el
,
subOrderCode
:
item
.
subOrderCode
})
})
}
})
return
pre
;
},
[])
this
.
updateCustomerphotos
({
orderCode
:
orderInfo
.
orderCode
,
customerPhotos
...
...
tabWorkOrder/pages/confirmOrder/confirmOrder.js
View file @
dd01797
...
...
@@ -339,10 +339,6 @@ Page({
customerObj
,
});
}
// // 有配置技师
// if (data?.technicianConfigDTOList?.length > 0) {
// this.isArtificer(data)
// }
// 是2:门店收款 5:嘀加收款 6:对公转账 7:其它收款并且不是错误订单 自动打开门店收款弹窗
if
(
!
isErrorOrder
&&
[
2
,
5
,
6
,
7
].
includes
(
Number
(
data
.
selectPayType
))
)
{
this
.
toshowDateModal
();
...
...
tabWorkOrder/pages/orderDetail/orderDetail.wxml
View file @
dd01797
...
...
@@ -68,7 +68,7 @@
<image src="/components/images/arrow-x.png" mode="" />
</view>
<!-- 太阳膜类且配置技师 -->
<view wx:if="{{
orderInfo.isOpenArtificer &&
item.upgradeGoodsPosition}}" class="artificer" bindtap="selectArtificer" data-item="{{item}}">
<view wx:if="{{ item.upgradeGoodsPosition}}" class="artificer" bindtap="selectArtificer" data-item="{{item}}">
<text class="{{!item.technicianName ? 'grey_text' : ''}} 'text-hide'">{{item.technicianName || '选择技师'}}</text>
<image src="/components/images/arrow-x.png" mode="" />
</view>
...
...
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