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 43c0f1de
authored
Dec 16, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.5.0' into 'SAAS+V5.5.1'
Saas+v5.5.0 See merge request
!457
2 parents
bbc10509
edc1fb39
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
117 additions
and
29 deletions
components/TechnicianSelectPopup/TechnicianSelectPopup.js
packageStudyCenter/pages/myTask/components/RecommendCourse/RecommendCourse.sass
packageStudyCenter/pages/staffRank/staffRank.sass
packageStudyCenter/pages/studyCenter/studyCenter.sass
packageStudyCenter/pages/studyCenter/studyCenter.wxml
packageStudyCenter/pages/taskDetail/longCourse/longCourse.sass
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.js
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.wxml
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.js
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
tabWorkOrder/pages/createAConstructionOrder/createAConstructionOrder.js
tabWorkOrder/pages/createAConstructionOrder/createAConstructionOrder.wxml
components/TechnicianSelectPopup/TechnicianSelectPopup.js
View file @
43c0f1d
...
@@ -32,7 +32,8 @@ Component({
...
@@ -32,7 +32,8 @@ Component({
return
m
return
m
},
{})
},
{})
copyArtificerList
=
copyArtificerList
.
map
(
i
=>
{
copyArtificerList
=
copyArtificerList
.
map
(
i
=>
{
const
id
=
artificerSelectObj
.
find
(
v
=>
v
.
uuid
==
i
.
uuid
)?.
id
||
undefined
// 技师列表id没实际用途,将id替换成已选技师的主键id
const
id
=
artificerSelectObj
.
find
(
v
=>
v
.
uuid
==
i
.
uuid
)?.
id
||
undefined
// 技师列表id没实际用途,将id替换成已选技师的主键id
const
active
=
selectArr
?.
includes
(
i
.
uuid
)
const
active
=
selectArr
?.
includes
(
i
.
uuid
)
const
disabled
=
const
disabled
=
disabledSelectObj
?.
findIndex
(
val
=>
val
.
uuid
==
i
.
uuid
)
>
-
1
disabledSelectObj
?.
findIndex
(
val
=>
val
.
uuid
==
i
.
uuid
)
>
-
1
...
@@ -229,6 +230,16 @@ Component({
...
@@ -229,6 +230,16 @@ Component({
this
.
setData
({
this
.
setData
({
selectedTechnicianId
:
[]
selectedTechnicianId
:
[]
})
})
if
(
deputyFlag
)
{
const
obj
=
{
...
artificerSelectObj
,
technicianUuid
:
''
,
technicianName
:
''
,
selectedTechnicians
:
[]
}
this
.
triggerEvent
(
'confirm'
,
obj
)
return
}
return
wx
.
$util
.
showToast
(
'请选择技师'
)
return
wx
.
$util
.
showToast
(
'请选择技师'
)
}
}
if
(
deputyFlag
)
{
if
(
deputyFlag
)
{
...
...
packageStudyCenter/pages/myTask/components/RecommendCourse/RecommendCourse.sass
View file @
43c0f1d
/* packageStudyCenter/pages/myTask/components/RecommendCourse/RecommendCourse.wxss */
/* packageStudyCenter/pages/myTask/components/RecommendCourse/RecommendCourse.wxss */
.recommend-course
{
.recommend-course
{
height
:
calc
(
100%
-
100rpx
)
;
height
:
calc
(
100%
-
100rpx
)
;
background
:
#FFFFFF
;
}
}
.recommend-course-list
{
.recommend-course-list
{
...
...
packageStudyCenter/pages/staffRank/staffRank.sass
View file @
43c0f1d
...
@@ -4,6 +4,7 @@ page {
...
@@ -4,6 +4,7 @@ page {
}
}
.rank-container
{
.rank-container
{
margin
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
;
margin
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
;
background
:
#FFFFFF
;
.bg
{
.bg
{
width
:
100%
;
width
:
100%
;
height
:
var
(
--
fontSize128
)
;
height
:
var
(
--
fontSize128
)
;
...
@@ -80,7 +81,8 @@ page {
...
@@ -80,7 +81,8 @@ page {
width
:
var
(
--
fontSize80
)
;
width
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
height
:
var
(
--
fontSize80
)
;
border-radius
:
var
(
--
fontSize40
)
;
border-radius
:
var
(
--
fontSize40
)
;
color
:
#2D66F7
;
background
:
#F7F7F7
;
color
:
#999EA8
;
font-size
:
var
(
--
fontSize34
)
;
font-size
:
var
(
--
fontSize34
)
;
font-weight
:
500
;
font-weight
:
500
;
text-align
:
center
;
text-align
:
center
;
...
...
packageStudyCenter/pages/studyCenter/studyCenter.sass
View file @
43c0f1d
...
@@ -187,7 +187,8 @@ page {
...
@@ -187,7 +187,8 @@ page {
position
:
absolute
;
position
:
absolute
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
padding-left
:
var
(
--
fontSize24
)
;
box-sizing
:
border-box
;
width
:
calc
(
100%
-
var
(
--
fontSize72
))
;
width
:
calc
(
100%
-
var
(
--
fontSize72
))
;
height
:
100%
;
height
:
100%
;
pointer-events
:
none
;
pointer-events
:
none
;
...
@@ -204,8 +205,9 @@ page {
...
@@ -204,8 +205,9 @@ page {
}
}
}
}
.input
{
.input
{
text-align
:
center
;
padding-left
:
var
(
--
fontSize24
)
;
width
:
calc
(
100%
-
var
(
--
fontSize72
))
;
width
:
calc
(
100%
-
var
(
--
fontSize72
))
;
box-sizing
:
border-box
;
font-size
:
var
(
--
fontSize28
)
;
font-size
:
var
(
--
fontSize28
)
;
}
}
.input-placeholder
{
.input-placeholder
{
...
@@ -280,6 +282,7 @@ page {
...
@@ -280,6 +282,7 @@ page {
display
:
flex
;
display
:
flex
;
flex-flow
:
column
;
flex-flow
:
column
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
var
(
--
fontSize40
)
;
font-size
:
var
(
--
fontSize24
)
;
font-size
:
var
(
--
fontSize24
)
;
color
:
#999999
;
color
:
#999999
;
.icon
{
.icon
{
...
...
packageStudyCenter/pages/studyCenter/studyCenter.wxml
View file @
43c0f1d
...
@@ -82,11 +82,11 @@
...
@@ -82,11 +82,11 @@
<view class="search-box">
<view class="search-box">
<view class="search-input">
<view class="search-input">
<view class="placeholder-area" wx:if="{{!searchTitle}}">
<view class="placeholder-area" wx:if="{{!searchTitle}}">
<text class="placeholder-text">搜索课程</text>
<image
<image
src="{{IMG_URL}}studyCenter/search-icon.png"
src="{{IMG_URL}}studyCenter/search-icon.png"
class="search-icon"
class="search-icon"
/>
/>
<text class="placeholder-text">搜索课程</text>
</view>
</view>
<input
<input
type="text"
type="text"
...
...
packageStudyCenter/pages/taskDetail/longCourse/longCourse.sass
View file @
43c0f1d
...
@@ -135,7 +135,7 @@
...
@@ -135,7 +135,7 @@
font-size
:
var
(
--
fontSize34
)
;
font-size
:
var
(
--
fontSize34
)
;
color
:
#292D33
;
color
:
#292D33
;
font-weight
:
500
;
font-weight
:
500
;
padding
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
;
padding
:
var
(
--
fontSize24
)
var
(
--
fontSize28
)
var
(
--
fontSize24
)
0
;
}
}
.course-list-box
{
.course-list-box
{
padding-bottom
:
var
(
--
fontSize32
)
;
padding-bottom
:
var
(
--
fontSize32
)
;
...
...
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.js
View file @
43c0f1d
...
@@ -108,7 +108,12 @@ Page({
...
@@ -108,7 +108,12 @@ Page({
id
:
it
.
id
,
id
:
it
.
id
,
uuid
:
it
.
technicianUuid
,
uuid
:
it
.
technicianUuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
Math
.
round
((
it
.
shareRatio
||
0
)
*
100
)
shareRatio
:
it
.
shareRatio
===
null
||
it
.
shareRatio
===
undefined
||
isNaN
(
Number
(
it
.
shareRatio
))
?
''
:
Math
.
round
(
Number
(
it
.
shareRatio
)
*
100
)
}
}
})
})
const
deputySelected
=
data
?.
mainTechnicianList
const
deputySelected
=
data
?.
mainTechnicianList
...
@@ -119,7 +124,12 @@ Page({
...
@@ -119,7 +124,12 @@ Page({
id
:
it
.
id
,
id
:
it
.
id
,
uuid
:
it
.
technicianUuid
,
uuid
:
it
.
technicianUuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
Math
.
round
((
it
.
shareRatio
||
0
)
*
100
)
shareRatio
:
it
.
shareRatio
===
null
||
it
.
shareRatio
===
undefined
||
isNaN
(
Number
(
it
.
shareRatio
))
?
''
:
Math
.
round
(
Number
(
it
.
shareRatio
)
*
100
)
}
}
})
})
data
.
customer
.
customerCarName
=
data
.
customer
.
carSeriesName
data
.
customer
.
customerCarName
=
data
.
customer
.
carSeriesName
...
@@ -400,10 +410,24 @@ Page({
...
@@ -400,10 +410,24 @@ Page({
return
return
if
(
if
(
validateWithImmediateFeedback
(
validateWithImmediateFeedback
(
(
deputySelected
?.
length
||
0
)
>
0
&&
deputySelected
.
some
(
it
=>
it
.
shareRatio
===
''
||
it
.
shareRatio
==
null
),
'副手技师分成比例不能为空'
)
)
{
return
}
// return
if
(
validateWithImmediateFeedback
(
!
confirmInfo
?.
serviceItemsList
?.
length
,
!
confirmInfo
?.
serviceItemsList
?.
length
,
'请选择服务项目'
'请选择服务项目'
)
)
)
)
return
// return
// return
wx
.
showModal
({
wx
.
showModal
({
title
:
'是否确认生成电子施工单'
,
title
:
'是否确认生成电子施工单'
,
...
@@ -437,7 +461,13 @@ Page({
...
@@ -437,7 +461,13 @@ Page({
technicianUuid
:
val
.
uuid
,
technicianUuid
:
val
.
uuid
,
technicianType
:
0
,
technicianType
:
0
,
staffPhone
:
val
.
staffPhone
,
staffPhone
:
val
.
staffPhone
,
shareRatio
:
((
val
.
shareRatio
??
0
)
*
1
)
/
100
shareRatio
:
val
.
shareRatio
===
''
||
val
.
shareRatio
===
undefined
||
val
.
shareRatio
===
null
||
isNaN
(
Number
(
val
.
shareRatio
))
?
1
:
Number
(
val
.
shareRatio
)
/
100
}))
||
[]),
}))
||
[]),
...(
deputySelected
?.
map
(
val
=>
({
...(
deputySelected
?.
map
(
val
=>
({
id
:
val
.
id
,
id
:
val
.
id
,
...
@@ -445,12 +475,17 @@ Page({
...
@@ -445,12 +475,17 @@ Page({
technicianUuid
:
val
.
uuid
,
technicianUuid
:
val
.
uuid
,
technicianType
:
1
,
technicianType
:
1
,
staffPhone
:
val
.
staffPhone
,
staffPhone
:
val
.
staffPhone
,
shareRatio
:
((
val
.
shareRatio
??
0
)
*
1
)
/
100
shareRatio
:
val
.
shareRatio
===
''
||
val
.
shareRatio
===
undefined
||
val
.
shareRatio
===
null
||
isNaN
(
Number
(
val
.
shareRatio
))
?
0
:
Number
(
val
.
shareRatio
)
/
100
}))
||
[])
}))
||
[])
]
]
const
serviceItemsList
=
(
const
serviceItemsList
=
(
confirmInfo
?.
serviceItemsList
||
[]).
reduce
(
confirmInfo
?.
serviceItemsList
||
[]
(
acc
,
val
)
=>
{
).
reduce
((
acc
,
val
)
=>
{
const
details
=
(
val
?.
detailList
||
[]).
map
(
it
=>
({
const
details
=
(
val
?.
detailList
||
[]).
map
(
it
=>
({
serviceItemsId
:
it
.
serviceItemsId
,
serviceItemsId
:
it
.
serviceItemsId
,
serviceItemsName
:
it
.
serviceItemsName
,
serviceItemsName
:
it
.
serviceItemsName
,
...
@@ -462,7 +497,9 @@ Page({
...
@@ -462,7 +497,9 @@ Page({
useNum
:
it
.
useNum
useNum
:
it
.
useNum
}))
}))
return
acc
.
concat
(
details
)
return
acc
.
concat
(
details
)
},
[])
},
[]
)
let
params
=
{
let
params
=
{
id
:
confirmInfo
.
id
,
id
:
confirmInfo
.
id
,
constructionCode
:
confirmInfo
.
constructionCode
,
constructionCode
:
confirmInfo
.
constructionCode
,
...
...
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.wxml
View file @
43c0f1d
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<block wx:if="{{ mainSelected.length }}">
<block wx:if="{{ mainSelected.length }}">
<view class="techic-value text-hide">
<view class="techic-value text-hide">
{{mainSelected[0] && mainSelected[0].staffName}}
{{mainSelected[0] && mainSelected[0].staffName}}
<text class="text" wx:if="{{
mainSelected[0] && mainSelected[0].shareRatio != ''
}}">{{mainSelected[0].shareRatio}}%</text>
<text class="text" wx:if="{{
deputySelected.length && mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null
}}">{{mainSelected[0].shareRatio}}%</text>
</view>
</view>
</block>
</block>
</gl-cell>
</gl-cell>
...
@@ -92,11 +92,11 @@
...
@@ -92,11 +92,11 @@
<view class="techic-value text-hide">
<view class="techic-value text-hide">
<view class="text-hide" wx:if="{{ deputySelected[0] }}">
<view class="text-hide" wx:if="{{ deputySelected[0] }}">
{{deputySelected[0].staffName}}
{{deputySelected[0].staffName}}
<text class="text" wx:if="{{ deputySelected[0].shareRatio }}">{{deputySelected[0].shareRatio}}%</text>
<text class="text" wx:if="{{ deputySelected[0].shareRatio
!== '' && deputySelected[0].shareRatio !== undefined && deputySelected[0].shareRatio !== null
}}">{{deputySelected[0].shareRatio}}%</text>
</view>
</view>
<view class="deputy-value text-hide" wx:if="{{ deputySelected[1] }}">
<view class="deputy-value text-hide" wx:if="{{ deputySelected[1] }}">
· {{deputySelected[1].staffName}}
· {{deputySelected[1].staffName}}
<text class="text" wx:if="{{ deputySelected[1].shareRatio }}">{{deputySelected[1].shareRatio}}%</text>
<text class="text" wx:if="{{ deputySelected[1].shareRatio
!== '' && deputySelected[1].shareRatio !== undefined && deputySelected[1].shareRatio !== null
}}">{{deputySelected[1].shareRatio}}%</text>
</view>
</view>
</view>
</view>
<!-- {{filter.techicianRatio(deputySelected)}}</view> -->
<!-- {{filter.techicianRatio(deputySelected)}}</view> -->
...
...
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.js
View file @
43c0f1d
...
@@ -304,7 +304,12 @@ Page({
...
@@ -304,7 +304,12 @@ Page({
id
:
it
.
id
,
id
:
it
.
id
,
uuid
:
it
.
technicianUuid
,
uuid
:
it
.
technicianUuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
Math
.
round
((
it
.
shareRatio
||
0
)
*
100
)
shareRatio
:
it
.
shareRatio
===
null
||
it
.
shareRatio
===
undefined
||
isNaN
(
Number
(
it
.
shareRatio
))
?
''
:
Math
.
round
(
Number
(
it
.
shareRatio
)
*
100
)
}
}
})
})
const
deputySelected
=
data
?.
mainTechnicianList
const
deputySelected
=
data
?.
mainTechnicianList
...
@@ -315,7 +320,12 @@ Page({
...
@@ -315,7 +320,12 @@ Page({
id
:
it
.
id
,
id
:
it
.
id
,
uuid
:
it
.
technicianUuid
,
uuid
:
it
.
technicianUuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
Math
.
round
((
it
.
shareRatio
||
0
)
*
100
)
shareRatio
:
it
.
shareRatio
===
null
||
it
.
shareRatio
===
undefined
||
isNaN
(
Number
(
it
.
shareRatio
))
?
''
:
Math
.
round
(
Number
(
it
.
shareRatio
)
*
100
)
}
}
})
})
const
mainTechnicianName
=
data
?.
mainTechnicianList
?.
find
(
const
mainTechnicianName
=
data
?.
mainTechnicianList
?.
find
(
...
@@ -858,7 +868,13 @@ Page({
...
@@ -858,7 +868,13 @@ Page({
technicianType
:
0
,
technicianType
:
0
,
technicianUuid
:
it
.
uuid
,
technicianUuid
:
it
.
uuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
((
it
.
shareRatio
??
100
)
*
1
)
/
100
shareRatio
:
it
.
shareRatio
===
''
||
it
.
shareRatio
===
undefined
||
it
.
shareRatio
===
null
||
isNaN
(
Number
(
it
.
shareRatio
))
?
1
:
Number
(
it
.
shareRatio
)
/
100
}))
}))
:
[]),
:
[]),
...(
Array
.
isArray
(
deputySelected
)
...(
Array
.
isArray
(
deputySelected
)
...
@@ -868,7 +884,13 @@ Page({
...
@@ -868,7 +884,13 @@ Page({
technicianType
:
1
,
technicianType
:
1
,
technicianUuid
:
it
.
uuid
,
technicianUuid
:
it
.
uuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
((
it
.
shareRatio
??
0
)
*
1
)
/
100
shareRatio
:
it
.
shareRatio
===
''
||
it
.
shareRatio
===
undefined
||
it
.
shareRatio
===
null
||
isNaN
(
Number
(
it
.
shareRatio
))
?
0
:
Number
(
it
.
shareRatio
)
/
100
}))
}))
:
[])
:
[])
]
]
...
...
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
View file @
43c0f1d
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<block wx:if="{{ mainSelected.length }}">
<block wx:if="{{ mainSelected.length }}">
<view class="techic-value text-hide">
<view class="techic-value text-hide">
{{mainSelected[0] && mainSelected[0].staffName}}
{{mainSelected[0] && mainSelected[0].staffName}}
<text class="text" wx:if="{{
mainSelected[0] && mainSelected[0].shareRatio != ''
}}">{{mainSelected[0].shareRatio}}%</text>
<text class="text" wx:if="{{
deputySelected.length && mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null
}}">{{mainSelected[0].shareRatio}}%</text>
</view>
</view>
</block>
</block>
<view wx:else class="value">-</view>
<view wx:else class="value">-</view>
...
@@ -77,11 +77,11 @@
...
@@ -77,11 +77,11 @@
<view class="techic-value text-hide">
<view class="techic-value text-hide">
<view class="text-hide" wx:if="{{ deputySelected[0] }}">
<view class="text-hide" wx:if="{{ deputySelected[0] }}">
{{deputySelected[0].staffName}}
{{deputySelected[0].staffName}}
<text class="text" wx:if="{{ deputySelected[0].shareRatio }}">{{deputySelected[0].shareRatio}}%</text>
<text class="text" wx:if="{{ deputySelected[0].shareRatio
!== '' && deputySelected[0].shareRatio !== undefined && deputySelected[0].shareRatio !== null
}}">{{deputySelected[0].shareRatio}}%</text>
</view>
</view>
<view class="deputy-value text-hide" wx:if="{{ deputySelected[1] }}">
<view class="deputy-value text-hide" wx:if="{{ deputySelected[1] }}">
· {{deputySelected[1].staffName}}
· {{deputySelected[1].staffName}}
<text class="text" wx:if="{{ deputySelected[1].shareRatio }}">{{deputySelected[1].shareRatio}}%</text>
<text class="text" wx:if="{{ deputySelected[1].shareRatio
!== '' && deputySelected[1].shareRatio !== undefined && deputySelected[1].shareRatio !== null
}}">{{deputySelected[1].shareRatio}}%</text>
</view>
</view>
</view>
</view>
<!-- {{filter.techicianRatio(deputySelected)}}</view> -->
<!-- {{filter.techicianRatio(deputySelected)}}</view> -->
...
...
tabWorkOrder/pages/createAConstructionOrder/createAConstructionOrder.js
View file @
43c0f1d
...
@@ -64,7 +64,13 @@ Page({
...
@@ -64,7 +64,13 @@ Page({
technicianType
:
0
,
technicianType
:
0
,
technicianUuid
:
it
.
uuid
,
technicianUuid
:
it
.
uuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
((
it
.
shareRatio
??
100
)
*
1
)
/
100
shareRatio
:
it
.
shareRatio
===
''
||
it
.
shareRatio
===
undefined
||
it
.
shareRatio
===
null
||
isNaN
(
Number
(
it
.
shareRatio
))
?
1
:
Number
(
it
.
shareRatio
)
/
100
})
})
})
})
item
.
deputySelected
.
map
(
it
=>
{
item
.
deputySelected
.
map
(
it
=>
{
...
@@ -73,7 +79,13 @@ Page({
...
@@ -73,7 +79,13 @@ Page({
technicianType
:
1
,
technicianType
:
1
,
technicianUuid
:
it
.
uuid
,
technicianUuid
:
it
.
uuid
,
staffPhone
:
it
.
staffPhone
,
staffPhone
:
it
.
staffPhone
,
shareRatio
:
((
it
.
shareRatio
??
0
)
*
1
)
/
100
shareRatio
:
it
.
shareRatio
===
''
||
it
.
shareRatio
===
undefined
||
it
.
shareRatio
===
null
||
isNaN
(
Number
(
it
.
shareRatio
))
?
0
:
Number
(
it
.
shareRatio
)
/
100
})
})
})
})
delete
item
.
mainSelected
delete
item
.
mainSelected
...
...
tabWorkOrder/pages/createAConstructionOrder/createAConstructionOrder.wxml
View file @
43c0f1d
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
<block wx:if="{{ mainSelected.length }}">
<block wx:if="{{ mainSelected.length }}">
<view class="techic-value text-hide">
<view class="techic-value text-hide">
{{mainSelected[0] && mainSelected[0].staffName}}
{{mainSelected[0] && mainSelected[0].staffName}}
<text class="text" wx:if="{{
mainSelected[0] && mainSelected[0].shareRatio != ''
}}">{{mainSelected[0].shareRatio}}%</text>
<text class="text" wx:if="{{
deputySelected.length && mainSelected[0] && mainSelected[0].shareRatio !== '' && mainSelected[0].shareRatio !== undefined && mainSelected[0].shareRatio !== null
}}">{{mainSelected[0].shareRatio}}%</text>
</view>
</view>
</block>
</block>
</gl-cell>
</gl-cell>
...
@@ -67,11 +67,11 @@
...
@@ -67,11 +67,11 @@
<view class="techic-value text-hide">
<view class="techic-value text-hide">
<view class="text-hide" wx:if="{{ deputySelected[0] }}">
<view class="text-hide" wx:if="{{ deputySelected[0] }}">
{{deputySelected[0].staffName}}
{{deputySelected[0].staffName}}
<text class="text" wx:if="{{ deputySelected[0].shareRatio }}">{{deputySelected[0].shareRatio}}%</text>
<text class="text" wx:if="{{ deputySelected[0].shareRatio
!== '' && deputySelected[0].shareRatio !== undefined && deputySelected[0].shareRatio !== null
}}">{{deputySelected[0].shareRatio}}%</text>
</view>
</view>
<view class="deputy-value text-hide" wx:if="{{ deputySelected[1] }}">
<view class="deputy-value text-hide" wx:if="{{ deputySelected[1] }}">
· {{deputySelected[1].staffName}}
· {{deputySelected[1].staffName}}
<text class="text" wx:if="{{ deputySelected[1].shareRatio }}">{{deputySelected[1].shareRatio}}%</text>
<text class="text" wx:if="{{ deputySelected[1].shareRatio
!== '' && deputySelected[1].shareRatio !== undefined && deputySelected[1].shareRatio !== null
}}">{{deputySelected[1].shareRatio}}%</text>
</view>
</view>
</view>
</view>
<!-- {{filter.techicianRatio(deputySelected)}}</view> -->
<!-- {{filter.techicianRatio(deputySelected)}}</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