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
0b7ad32b
Commit
0b7ad32b
authored
Oct 28, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
19b27abb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
23 deletions
+45
-23
orderItem.vue
pages/MallMange/components/orderItem.vue
+45
-23
No files found.
pages/MallMange/components/orderItem.vue
View file @
0b7ad32b
...
@@ -33,26 +33,46 @@
...
@@ -33,26 +33,46 @@
>
规格:
{{
getSpecificationsStr
(
item
.
SpecificationList
)
}}
</view
>
规格:
{{
getSpecificationsStr
(
item
.
SpecificationList
)
}}
</view
>
>
<view
class=
"flex-between"
>
<view
class=
"flex-between"
>
<text>
x
{{
item
.
Number
}}
</text>
<text
style=
"color: #808080"
>
x
{{
item
.
Number
}}
</text>
<text>
¥
{{
item
.
SmallShopsCostPrice
}}
</text>
<text>
¥
{{
item
.
SmallShopsCostPrice
}}
</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"priceBox"
>
<view
class=
"priceBox"
>
<text>
合计:
</text>
<text>
合计
</text>
<text
style=
"color: #111"
>
¥
{{
data
.
Income
}}
</text>
<text
style=
"color: #111; margin: 0 4rpx; fond-size: 26rpx"
<text
v-if=
"data.FreightMoney > 0"
>
¥
{{
data
.
Income
.
toFixed
(
2
)
}}
</text
>
(含运费¥
{{
data
.
FreightMoney
}}
)
</text
>
>
<text>
(含运费¥
{{
data
.
FreightMoney
.
toFixed
(
2
)
}}
)
</text>
</view>
</view>
<view
class=
"btnBox"
>
<view
class=
"btnBox"
>
<button
class=
"btn"
@
click=
"modal = true"
v-if=
"orderType === 1"
>
备注
</button>
<button
class=
"btn"
@
click=
"modal = true"
v-if=
"orderType === 1"
>
备注
</button>
<button
class=
"btn"
v-if=
"orderType === 2"
>
拒绝
</button>
<button
class=
"btn"
v-if=
"orderType === 2"
>
拒绝
</button>
<button
class=
"btn"
v-if=
"orderType === 2"
>
同意
</button>
<button
class=
"btn"
v-if=
"orderType === 2"
>
同意
</button>
<button
class=
"btn"
v-if=
"orderType === 1 && data.OrderStatus === 2"
>
发货
</button>
<button
class=
"btn"
v-if=
"orderType === 1 && data.OrderStatus === 3"
>
确认收货
</button>
<button
class=
"btn"
v-if=
"orderType === 1 && data.OrderStatus === 3"
>
查看物流
</button>
<button
class=
"btn"
v-if=
"orderType === 1 && data.OrderStatus === 3"
>
修改物流
</button>
<button
class=
"btn"
v-if=
"orderType === 1 && (data.OrderStatus === 2||data.OrderStatus ===1)"
>
强制取消
</button>
<button
class=
"btn"
v-if=
"orderType === 1 && data.OrderStatus === 2"
>
修改地址
</button>
</view>
</view>
<u-modal
<u-modal
v-model=
"modal"
v-model=
"modal"
:show-cancel-button=
"
fals
e"
:show-cancel-button=
"
tru
e"
@
confirm=
"confirm"
@
confirm=
"confirm"
contentSlot
contentSlot
title=
"备注"
title=
"备注"
...
@@ -71,7 +91,7 @@
...
@@ -71,7 +91,7 @@
export
default
{
export
default
{
props
:
{
props
:
{
data
:
Object
,
data
:
Object
,
orderType
:
Number
,
orderType
:
Number
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -100,18 +120,18 @@ export default {
...
@@ -100,18 +120,18 @@ export default {
setOrderInfo
()
{
setOrderInfo
()
{
this
.
requestAdmin
(
"/api/order/SetOrderOperation"
,
this
.
exitMsg
,
(
res
)
=>
{
this
.
requestAdmin
(
"/api/order/SetOrderOperation"
,
this
.
exitMsg
,
(
res
)
=>
{
if
(
res
.
resultCode
===
1
)
{
if
(
res
.
resultCode
===
1
)
{
this
.
$emit
(
'update'
)
this
.
$emit
(
"update"
);
}
}
});
});
},
},
confirm
(){
confirm
()
{
this
.
modal
=
false
;
this
.
modal
=
false
;
this
.
setOrderInfo
();
this
.
setOrderInfo
();
}
}
,
},
},
created
()
{
created
()
{
this
.
exitMsg
.
Remark
=
this
.
data
?.
Remark
;
this
.
exitMsg
.
Remark
=
this
.
data
?.
Remark
;
this
.
exitMsg
.
OrderId
=
this
.
data
?.
OrderId
;
this
.
exitMsg
.
OrderId
=
this
.
data
?.
OrderId
;
},
},
};
};
</
script
>
</
script
>
...
@@ -130,13 +150,13 @@ export default {
...
@@ -130,13 +150,13 @@ export default {
border-radius
:
10rpx
;
border-radius
:
10rpx
;
margin
:
20rpx
auto
;
margin
:
20rpx
auto
;
.orderNum
{
.orderNum
{
font-size
:
2
6
rpx
;
font-size
:
2
4
rpx
;
color
:
#
333
;
color
:
#
111
;
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
}
}
.remarks
{
.remarks
{
font-size
:
2
6
rpx
;
font-size
:
2
4
rpx
;
color
:
#
333
;
color
:
#
111
;
margin-bottom
:
20rpx
;
margin-bottom
:
20rpx
;
}
}
.consigneeInfo
{
.consigneeInfo
{
...
@@ -182,6 +202,7 @@ export default {
...
@@ -182,6 +202,7 @@ export default {
}
}
.weight
{
.weight
{
height
:
35%
;
height
:
35%
;
color
:
#808080
;
}
}
}
}
.priceBox
{
.priceBox
{
...
@@ -196,10 +217,11 @@ export default {
...
@@ -196,10 +217,11 @@ export default {
align-items
:
center
;
align-items
:
center
;
.btn
{
.btn
{
// width: 90rpx;
// width: 90rpx;
//
height: 50rpx;
height
:
50rpx
;
border-radius
:
30
rpx
;
border-radius
:
25
rpx
;
border
:
2rpx
solid
#f7f7f7
;
border
:
2rpx
solid
#f7f7f7
;
margin
:
0
0
0
30rpx
;
margin
:
0
0
0
10rpx
;
padding
:
0
20rpx
;
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
...
...
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