Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0395b8f1
authored
Jun 23, 2023
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review 订单
parent
70a6d28e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/views/mall/trade/order/index.vue
+2
-2
src/views/mall/trade/order/tradeOrderDetail.vue
+3
-0
No files found.
src/views/mall/trade/order/index.vue
View file @
0395b8f1
...
...
@@ -205,6 +205,7 @@
<div
v-for=
"item in scope.row.items"
:key=
"item"
>
<div>
<p>
{{ item.spuName }}
</p>
<!-- TODO xiaobai: 是不是 (item.payPrice / 100.0).toFixed(2) -->
<p>
{{
'¥ ' +
parseFloat((item.payPrice / 100) as unknown as string).toFixed(2) +
...
...
@@ -216,7 +217,6 @@
</el-popover>
</template>
</el-table-column>
<el-table-column
label=
"实际支付(元)"
align=
"center"
prop=
"payPrice"
min-width=
"100"
>
<
template
#
default=
"scope"
>
{{
'¥ '
+
parseFloat
((
scope
.
row
.
payPrice
/
100
)
as
unknown
as
string
).
toFixed
(
2
)
}}
...
...
@@ -295,7 +295,7 @@ const exportLoading = ref(false)
const
total
=
ref
(
0
)
// 总记录数
const
list
=
ref
<
Array
<
TradeOrderPageItemRespVO
|
any
>>
([])
//表数据
//选中状态选中处理
//
选中状态选中处理
const
orderSelect
:
SelectType
=
reactive
({
queryParams
:
{}
as
TradeOrderPageReqVO
,
selectTotal
:
0
,
...
...
src/views/mall/trade/order/tradeOrderDetail.vue
View file @
0395b8f1
...
...
@@ -37,6 +37,7 @@
<!-- 订单状态 -->
<el-descriptions
title=
"订单状态"
:column=
"1"
>
<el-descriptions-item
label=
"订单状态: "
>
<!-- TODO xiaobai:status 一定有值哈,不用判断 -->
<dict-tag
v-if=
"order.status !== ''"
:type=
"DICT_TYPE.TRADE_ORDER_STATUS"
...
...
@@ -114,6 +115,7 @@
</el-descriptions>
<el-descriptions
column=
"6"
>
<el-descriptions-item
label=
"商品总额: "
>
<!-- TODO xiaobai: 是不是 (item.payPrice / 100.0).toFixed(2) -->
¥{{ parseFloat((order.totalPrice / 100.0) as unknown as string).toFixed(2) }}
</el-descriptions-item>
<el-descriptions-item
label=
"运费金额: "
>
...
...
@@ -150,6 +152,7 @@
</el-descriptions-item>
</el-descriptions>
<!-- TODO 芋艿:需要改改 -->
<div
v-for=
"group in detailGroups"
:key=
"group.title"
>
<el-descriptions
v-bind=
"group.groupProps"
:title=
"group.title"
>
<!-- 订单操作日志 -->
...
...
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