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 3defd179
authored
Sep 10, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug
1 parent
1d16bbf3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
10 deletions
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.sass
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxml
tabWorkOrder/pages/orderSignature/orderSignature.js
tabWorkOrder/pages/orderSignature/orderSignature.sass
tabWorkOrder/pages/orderSignature/orderSignature.wxml
tabWorkOrder/pages/technicianSearchList/pages/index/technicianSearchList.js
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.sass
View file @
3defd17
...
@@ -25,6 +25,10 @@ page {
...
@@ -25,6 +25,10 @@ page {
font-size
:
var
(
--
fontSize40
)
;
font-size
:
var
(
--
fontSize40
)
;
font-weight
:
600
;
font-weight
:
600
;
margin-bottom
:
var
(
--
fontSize40
)
;
margin-bottom
:
var
(
--
fontSize40
)
;
.customerName
{
flex
:
1
;
}
}
}
.status-box
.orderContainer
{
.status-box
.orderContainer
{
...
@@ -246,7 +250,7 @@ page {
...
@@ -246,7 +250,7 @@ page {
margin-left
:
auto
;
margin-left
:
auto
;
}
}
.
box
.goods
.item
.subItem_box
.
artificer.disabled
,
.artificer.disabled
,
.film-roll.disabled
{
.film-roll.disabled
{
color
:
#BEC1C7
;
color
:
#BEC1C7
;
}
}
...
...
tabWorkOrder/pages/constructionOrderDetail/constructionOrderDetail.wxml
View file @
3defd17
...
@@ -3,11 +3,11 @@
...
@@ -3,11 +3,11 @@
<wxs src="../../index.wxs" module="filter" />
<wxs src="../../index.wxs" module="filter" />
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<block wx:if="{{ flag }}">
<block wx:if="{{ flag }}">
<view class="main {{ isFullSucreen?'isFullSucreen':'' }}">
<view class="main {{ isFullSucreen?'isFullSucreen':'' }}"
style="{{ showRatingPopup ? 'overflow: hidden;height:100vh;' : '' }}"
>
<view class="status-box">
<view class="status-box">
<view class="userInfo" hover-class="none" hover-stop-propagation="false">
<view class="userInfo" hover-class="none" hover-stop-propagation="false">
<image class="" src="../../images/activeIcon.png" />
<image class="" src="../../images/activeIcon.png" />
客户{{orderInfo.customerName}}
<view class="customerName">客户{{orderInfo.customerName}}</view>
<!-- wx:if="{{ orderInfo.constructionFlag !='Y' }}" -->
<!-- wx:if="{{ orderInfo.constructionFlag !='Y' }}" -->
<block>
<block>
<view class="signBtn text-center" bindtap="RatingPopupSetting">查看签名/施工图</view>
<view class="signBtn text-center" bindtap="RatingPopupSetting">查看签名/施工图</view>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<view class="meal-bd-bottom">
<view class="meal-bd-bottom">
{{g.positionStr || g.upgradeGoodsTypeName}}
{{g.positionStr || g.upgradeGoodsTypeName}}
<view class="count">x{{g.number}}</view>
<view class="count">x{{g.number}}</view>
<view wx:if="{{ g.technicianName }}" class="artificer disabled"
>
<view wx:if="{{ g.technicianName }}" class="artificer disabled">
<text class="{{ !g.technicianName ? 'grey_text' : '' }} 'text-hide'">{{g.technicianName }}</text>
<text class="{{ !g.technicianName ? 'grey_text' : '' }} 'text-hide'">{{g.technicianName }}</text>
<image src="/components/images/arrow-x.png" mode="" />
<image src="/components/images/arrow-x.png" mode="" />
</view>
</view>
...
...
tabWorkOrder/pages/orderSignature/orderSignature.js
View file @
3defd17
...
@@ -253,6 +253,11 @@ Page({
...
@@ -253,6 +253,11 @@ Page({
data
.
packageGoodsList
.
forEach
(
item
=>
{
data
.
packageGoodsList
.
forEach
(
item
=>
{
item
.
packageGoodsOrderList
.
forEach
(
g
=>
{
item
.
packageGoodsOrderList
.
forEach
(
g
=>
{
g
.
price
=
g
.
totalPrice
?
Number
(
g
.
totalPrice
)
/
Number
(
g
.
number
)
:
g
.
upgradePrice
g
.
price
=
g
.
totalPrice
?
Number
(
g
.
totalPrice
)
/
Number
(
g
.
number
)
:
g
.
upgradePrice
// 处理套餐也能上传图片,packageGoodsList 商品做对应的过滤
data
.
subOrderList
.
push
({
...
g
,
packageGoodsList
:
true
})
})
})
item
.
goodsList
=
item
.
packageGoodsOrderList
item
.
goodsList
=
item
.
packageGoodsOrderList
item
.
price
=
item
.
goodsList
.
reduce
((
prev
,
cur
)
=>
{
item
.
price
=
item
.
goodsList
.
reduce
((
prev
,
cur
)
=>
{
...
@@ -822,7 +827,7 @@ Page({
...
@@ -822,7 +827,7 @@ Page({
async
onRoute
(
options
)
{
async
onRoute
(
options
)
{
// console.log(options)
// console.log(options)
// 调试用
// 调试用
// options.orderCode = '2
30427135616113
'
// options.orderCode = '2
50909203356982
'
if
(
options
.
orderCode
)
{
if
(
options
.
orderCode
)
{
// 获取配置服务数据
// 获取配置服务数据
let
baseConfigData
=
await
setConfigInfo
(
app
.
globalData
)
let
baseConfigData
=
await
setConfigInfo
(
app
.
globalData
)
...
@@ -838,6 +843,7 @@ Page({
...
@@ -838,6 +843,7 @@ Page({
* 生命周期函数--监听页面加载
* 生命周期函数--监听页面加载
*/
*/
onLoad
:
async
function
(
options
)
{
onLoad
:
async
function
(
options
)
{
// options.orderCode = '250909203356982'
if
(
options
.
orderCode
)
{
if
(
options
.
orderCode
)
{
// 获取配置服务数据
// 获取配置服务数据
let
baseConfigData
=
await
setConfigInfo
(
app
.
globalData
)
let
baseConfigData
=
await
setConfigInfo
(
app
.
globalData
)
...
...
tabWorkOrder/pages/orderSignature/orderSignature.sass
View file @
3defd17
...
@@ -346,6 +346,13 @@ page {
...
@@ -346,6 +346,13 @@ page {
z-index
:
100
;
z-index
:
100
;
}
}
.delete_icon_min
{
position
:
absolute
;
right
:
var
(
--
fontSize24
)
;
bottom
:
var
(
--
fontSize24
)
;
z-index
:
100
;
}
.icon
{
.icon
{
width
:
var
(
--
fontSize40
)
;
width
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
height
:
var
(
--
fontSize40
)
;
...
...
tabWorkOrder/pages/orderSignature/orderSignature.wxml
View file @
3defd17
...
@@ -41,16 +41,16 @@
...
@@ -41,16 +41,16 @@
{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}}
{{g.upgradeGoodsType===1?g.positionStr: g.upgradeGoodsTypeName}}
<view class="count">x{{g.number}}</view>
<view class="count">x{{g.number}}</view>
<view class="artificer" bindtap="selectArtificer" data-item="{{g}}">
<view class="artificer" bindtap="selectArtificer" data-item="{{g}}">
<text class="{{!g.technicianName ? 'grey_text' : ''}} 'text-hide'">{{g.technicianName || '选择技师'}}</text>
<text class="{{!g.technicianName ? 'grey_text' : ''}} 'text-hide'">{{g.technicianName || '选择技师'}}</text>
<image src="/components/images/arrow-x.png" mode="" />
<image src="/components/images/arrow-x.png" mode="" />
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="goods">
<view class="goods">
<block wx:for="{{ orderInfo.subOrderList }}" wx:key="index">
<block wx:for="{{ orderInfo.subOrderList }}" wx:key="index">
<view class="item">
<view class="item"
wx:if="{{!item.packageGoodsList}}"
>
<view class="subItem_box goods_name">
<view class="subItem_box goods_name">
<view class="name text-hide">{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || ''}}</view>
<view class="name text-hide">{{filter.replaceItemText(item.upgradeGoodsAlias) ||filter.replaceItemText(item.upgradeGoodsName) || ''}}</view>
<view class="price">¥{{item.price}}</view>
<view class="price">¥{{item.price}}</view>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
<view wx:else class="canvas_wrap">
<view wx:else class="canvas_wrap">
<image class="full_icon icon" src="/images/fullScreen.png" bind:tap="toFullPage" />
<image class="full_icon icon" src="/images/fullScreen.png" bind:tap="toFullPage" />
<image class="coverImage" src="{{ signImage }}" />
<image class="coverImage" src="{{ signImage }}" />
<image class="delete_icon icon deleteIcon" src="
/images/sign_del
.png" bind:tap="clearCanvas"></image>
<image class="delete_icon icon deleteIcon" src="
{{ IMG_URL }}delete_icon
.png" bind:tap="clearCanvas"></image>
</view>
</view>
</view>
</view>
<block wx:for="{{ orderInfo.subOrderList }}" wx:key="index" wx:for-item="imgItem" wx:for-index="imgIndex">
<block wx:for="{{ orderInfo.subOrderList }}" wx:key="index" wx:for-item="imgItem" wx:for-index="imgIndex">
...
...
tabWorkOrder/pages/technicianSearchList/pages/index/technicianSearchList.js
View file @
3defd17
...
@@ -611,6 +611,21 @@ Page({
...
@@ -611,6 +611,21 @@ Page({
}
}
return
str
;
return
str
;
},
''
)
},
''
)
if
(
e
?.
packageGoodsList
)
{
e
.
technicianName
=
e
?.
packageGoodsList
.
reduce
((
str
,
el
,
index
)
=>
{
el
.
packageGoodsOrderList
.
forEach
(
item
=>
{
if
(
item
.
technicianName
)
{
if
(
str
==
''
)
{
str
=
item
.
technicianName
}
else
if
(
!
str
.
includes
(
item
.
technicianName
))
{
str
=
str
+
'/'
+
''
+
item
.
technicianName
}
}
})
return
str
;
},
e
.
technicianName
)
}
e
.
packageGoodsList
?.
forEach
((
item
)
=>
{
e
.
packageGoodsList
?.
forEach
((
item
)
=>
{
item
.
packageGoodsOrderList
.
forEach
((
g
)
=>
{
item
.
packageGoodsOrderList
.
forEach
((
g
)
=>
{
g
.
price
=
g
.
totalPrice
?
g
.
price
=
g
.
totalPrice
?
...
...
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