Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
768ca1ea
Commit
768ca1ea
authored
Apr 22, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
60e84991
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
87 additions
and
0 deletions
+87
-0
orderService.vue
components/serviceStaff/orderService.vue
+87
-0
No files found.
components/serviceStaff/orderService.vue
0 → 100644
View file @
768ca1ea
<
template
>
<view>
<view
style=
"font-size: 17px;text-align: center;padding: 20px 0;"
>
选择服务人员
</view>
<scroll-view
scroll-x=
"true"
style=
"width: 100%;height: 43vh;"
>
<view
class=
"SaleBox"
>
<view
v-for=
"(item,index) in SaleList"
:key=
"index"
class=
"SaleText"
@
click=
"SelectSales(item)"
>
<view>
{{
item
.
EmName
}}
</view>
<view>
<u-radio-group
v-model=
"parameter.SaleId"
style=
"position: relative;top:10rpx;"
>
<u-radio
shape=
"circle"
:name=
"item.CreateBy"
:icon-size=
"36"
:active-color=
"mc"
></u-radio>
</u-radio-group>
</view>
</view>
</view>
</scroll-view>
<u-button
size=
"80"
:ripple=
"true"
shape=
"circle"
:custom-style=
"
{
backgroundColor: '#333',
height: '80rpx',
color: '#fff',
fontSize: '14px',
margin: '0 auto',
width: '90vw',
}" @click="goReserce()">确定
</u-button>
</view>
</
template
>
<
script
>
export
default
{
props
:[
'msg'
,
'list'
],
data
()
{
return
{
parameter
:
null
,
SaleList
:
[],
mc
:
''
,
}
},
watch
:
{
msg
:
{
deep
:
true
,
immediate
:
true
,
handler
(
newVal
,
oldVal
)
{
this
.
parameter
=
newVal
;
},
},
list
:
{
deep
:
true
,
immediate
:
true
,
handler
(
newVal
,
oldVal
)
{
this
.
SaleList
=
newVal
;
},
},
},
created
()
{
this
.
mc
=
this
.
$uiConfig
.
mainColor
;
},
methods
:
{
SelectSales
(
item
){
this
.
parameter
.
SaleName
=
item
.
EmName
this
.
parameter
.
SaleId
=
item
.
CreateBy
},
goReserce
(){
this
.
$emit
(
'goReserce'
,
this
.
parameter
)
}
}
}
</
script
>
<
style
scoped
>
.SaleBox
{
padding
:
0
20px
;
}
.SaleText
{
height
:
80
rpx
;
line-height
:
77
rpx
;
display
:
flex
;
justify-content
:
space-between
;
border-bottom
:
1
rpx
solid
#eee
;
overflow
:
hidden
;
}
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment