Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
191849c2
提交
191849c2
编写于
8月 24, 2020
作者:
yi.li
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
订单管理列表字段修改
上级
5a0883ff
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
22 行增加
和
8 行删除
+22
-8
order-detail.vue
src/views/goods/order-detail.vue
+4
-1
order-manage.vue
src/views/goods/order-manage.vue
+18
-7
未找到文件。
src/views/goods/order-detail.vue
浏览文件 @
191849c2
...
...
@@ -119,8 +119,9 @@
return
{
curmbFirst
:
'商铺管理'
,
curmbSecond
:
'订单管理'
,
jumPathThird
:
'
/order-manage
'
,
jumPathThird
:
''
,
curmbThird
:
'订单详情'
,
storeId
:
null
,
orderId
:
null
,
showStatus
:
null
,
//订单展示状态,1已完成,2已发货,3待发货,4待支付,5交易关闭
storeType
:
null
,
//店铺类型,1供应商,2医生小店,3小药房
...
...
@@ -151,6 +152,8 @@
},
created
()
{
this
.
orderId
=
this
.
$route
.
query
.
id
;
this
.
storeId
=
this
.
$route
.
query
.
storeId
||
0
;
this
.
jumPathThird
=
`/order-manage?storeId=
${
this
.
storeId
}
`
;
this
.
init
();
},
methods
:
{
...
...
src/views/goods/order-manage.vue
浏览文件 @
191849c2
...
...
@@ -41,10 +41,10 @@
</el-tabs>
<el-table
:data=
"tableData"
border
max-height=
"1000"
class=
"item-table"
style=
"width: 100%;margin-top: 10px;"
>
<el-table-column
prop=
"id"
label=
"订单号"
min-width=
"100"
align=
"center"
></el-table-column>
<el-table-column
prop=
"goodsName"
label=
"商品名称"
min-width=
"100"
align=
"center"
>
<el-table-column
prop=
"goodsName
List
"
label=
"商品名称"
min-width=
"100"
align=
"center"
>
<template
slot-scope=
"scope"
>
<
span>
{{
scope
.
row
.
goodsName
}}
</span
>
<
!--
<p
v-for=
"(item, index) in scope.row.goodsName"
:key=
"index"
class=
"p-normal"
>
{{
item
.
name
}}
</p>
--
>
<
!--
<span>
{{
scope
.
row
.
goodsName
}}
</span>
--
>
<
p
v-for=
"(item, index) in scope.row.goodsNameList"
:key=
"index"
class=
"p-normal"
>
{{
item
}}
</p
>
</
template
>
</el-table-column>
<el-table-column
prop=
"showStatusStr"
label=
"交易状态"
min-width=
"100"
align=
"center"
>
...
...
@@ -55,12 +55,22 @@
</
template
>
</el-table-column>
<el-table-column
prop=
"receiver"
label=
"买家"
min-width=
"100"
align=
"center"
></el-table-column>
<el-table-column
prop=
"goodsQuantity"
label=
"数量"
min-width=
"100"
align=
"center"
>
<el-table-column
prop=
"goodsQuantityList"
label=
"数量"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<!--
<span>
{{
scope
.
row
.
goodsQuantity
}}
</span>
-->
<p
v-for=
"(item, index) in scope.row.goodsQuantityList"
:key=
"index"
class=
"p-normal"
>
{{
item
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"sizeList"
label=
"规格"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<!--
<span>
{{
scope
.
row
.
size
}}
</span>
-->
<p
v-for=
"(item, index) in scope.row.sizeList"
:key=
"index"
class=
"p-normal"
>
{{
item
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"size"
label=
"规格"
min-width=
"100"
align=
"center"
></el-table-column>
<el-table-column
prop=
"price"
label=
"单价"
min-width=
"100"
align=
"center"
>
<el-table-column
prop=
"priceList"
label=
"单价"
min-width=
"100"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span>
¥
{{
scope
.
row
.
price
}}
</span>
<!--
<span>
¥
{{
scope
.
row
.
price
}}
</span>
-->
<p
v-for=
"(item, index) in scope.row.priceList"
:key=
"index"
class=
"p-normal"
>
¥
{{
item
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"下单时间"
min-width=
"100"
align=
"center"
>
...
...
@@ -440,6 +450,7 @@
path
:
`/order-detail`
,
query
:{
id
:
row
.
id
,
storeId
:
this
.
searchForm
.
storeId
,
}
})
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录