Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
ffb5559a
Commit
ffb5559a
authored
Nov 09, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断一些字段
parent
d0460498
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
12 deletions
+22
-12
order-commit-details.vue
pages/reserve/personal/order-commit-details.vue
+18
-8
order-commit.vue
pages/reserve/personal/order-commit.vue
+2
-2
orderDetails.vue
pages/reserve/personal/orderDetails.vue
+1
-1
orderlist.vue
pages/reserve/personal/orderlist.vue
+1
-1
No files found.
pages/reserve/personal/order-commit-details.vue
View file @
ffb5559a
...
...
@@ -33,7 +33,7 @@
</view>
</view>
</view>
<view
class=
"good_List"
>
<view
class=
"good_List"
v-show=
"showpersonal==true"
>
<view
class=
"good-item"
style=
"margin-bottom:0;"
>
<u-avatar
mode=
"circle"
:src=
"dataList.ServicepersonalHead"
></u-avatar>
<view
style=
"margin:13px 0 0 10px;"
>
...
...
@@ -113,6 +113,7 @@
fileList
:
[],
//商品上传图
fileList2
:
[],
//导游上传图
dataList
:
{},
//商品详情数据
showpersonal
:
true
,
//是否评论服务人员
};
},
onLoad
(
option
)
{
...
...
@@ -123,12 +124,18 @@
this
.
msg
[
0
].
GoodsId
=
param
.
GoodsId
;
this
.
msg
[
1
].
GoodsId
=
param
.
GoodsId
;
this
.
msg
[
0
].
StoreId
=
param
.
StoresIds
;
this
.
msg
[
1
].
StoreId
=
param
.
StoresIds
;
this
.
msg
[
1
].
ServicePersonalId
=
param
.
ServicepersonalId
;
this
.
msg
[
0
].
OrderDetailId
=
param
.
OrderDetailId
;
this
.
msg
[
1
].
OrderDetailId
=
param
.
OrderDetailId
;
this
.
goodsName
=
param
.
GoodsName
;
this
.
goodsPic
=
param
.
CoverImage
;
this
.
OrderId
=
param
.
OrderId
;
if
(
param
.
ServicepersonalId
==
0
){
this
.
msg
.
splice
(
1
,
1
);
this
.
showpersonal
=
false
}
// this.getOrderDetail();
}
},
...
...
@@ -177,14 +184,17 @@
});
return
;
}
if
(
this
.
msg
[
1
].
CommentScore
==
0
)
{
this
.
$refs
.
uTips
.
show
({
title
:
"请您为服务人员打打分吧"
,
type
:
"error"
,
duration
:
"2300"
,
});
return
;
if
(
this
.
showpersonal
==
true
){
if
(
this
.
msg
[
1
].
CommentScore
==
0
)
{
this
.
$refs
.
uTips
.
show
({
title
:
"请您为服务人员打打分吧"
,
type
:
"error"
,
duration
:
"2300"
,
});
return
;
}
}
this
.
submitStatus
=
true
;
this
.
request2
({
url
:
"/api/AppletStores/SetGuideCarCommentInfo"
,
...
...
pages/reserve/personal/order-commit.vue
View file @
ffb5559a
...
...
@@ -11,10 +11,10 @@
<view
class=
"good-info"
>
<view
class=
"good-name"
>
{{
x
.
GoodsName
}}
</view>
<view
class=
"good-attr"
>
服务人员:
{{
x
.
ServicepersonalName
}}
服务人员:
{{
x
.
ServicepersonalName
!=
null
?
x
.
ServicepersonalName
:
'到店分配'
}}
</view>
<view
class=
"good-attr"
>
服务时间:
{{
x
.
ServiceDate
+
' '
+
x
.
ServiceTime
}}
服务时间:
{{
x
.
ServiceDate
+
' '
+
(
x
.
ServiceTime
!=
null
?
x
.
ServiceTime
:
''
)
}}
</view>
</view>
<view
class=
"op-box"
>
...
...
pages/reserve/personal/orderDetails.vue
View file @
ffb5559a
...
...
@@ -48,7 +48,7 @@
<view
class=
"good-name"
@
click=
"redirectGoods(x.GoodsId)"
>
{{
x
.
GoodsName
}}
</view>
<view
class=
"good-attr"
>
<text>
人数/时间:
{{
x
.
Number
}}
人/
{{
x
.
ServiceDate
+
' '
+
(
cx
.
ServiceTime
?
cx
.
ServiceTime
:
''
)
}}
</text>
<text>
服务人员:
{{
x
.
ServicepersonalName
}}
</text>
<text>
服务人员:
{{
x
.
ServicepersonalName
!=
null
?
x
.
ServicepersonalName
:
'到店分配'
}}
</text>
</view>
<view
style=
"overflow: hidden;white-space: nowrap;text-overflow: ellipsis;margin-top: 2px;"
@
click
.
native
.
stop=
"goUrl(x.FreeShippingUrl)"
v-if=
"x.FreeShippingRemarks !=null && x.FreeShippingRemarks!='' "
>
...
...
pages/reserve/personal/orderlist.vue
View file @
ffb5559a
...
...
@@ -25,7 +25,7 @@
<view
style=
"margin-left: 15px; flex: 1;min-height: 80px;"
>
<Text
class=
"topic_cont_text"
>
商品:
{{
cx
.
GoodsName
}}
</Text>
<Text
class=
"topic_cont_text"
>
时间:
{{
cx
.
ServiceDate
+
' '
+
(
cx
.
ServiceTime
?
cx
.
ServiceTime
:
''
)
}}
</Text>
<Text
class=
"topic_cont_text"
>
服务人员:
{{
cx
.
ServicepersonalName
}}
</Text>
<Text
class=
"topic_cont_text"
>
服务人员:
{{
cx
.
ServicepersonalName
!=
null
?
cx
.
ServicepersonalName
:
'到店分配'
}}
</Text>
</view>
<view
style=
"margin-left: 15px;"
>
<text
style=
"font-size: 10px;"
>
¥
</text>
...
...
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