Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
d4c8d191
提交
d4c8d191
authored
7月 28, 2021
作者:
王天霸
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
111
上级
a965b7f0
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
29 行增加
和
8 行删除
+29
-8
orderDetail.vue
src/views/system/order/components/orderDetail.vue
+1
-1
index.vue
src/views/system/order/index.vue
+28
-7
没有找到文件。
src/views/system/order/components/orderDetail.vue
浏览文件 @
d4c8d191
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
</div>
</div>
<el-table
:data=
"orderDetail ? orderDetail.item : []"
style=
"border: 1px solid #eee;"
@
selection-change=
"handleSelectionChange"
>
<el-table
:data=
"orderDetail ? orderDetail.item : []"
style=
"border: 1px solid #eee;"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
label=
"订单号"
prop=
"order_sn"
/>
<el-table-column
label=
"订单号"
prop=
"order_sn"
/>
<el-table-column
label=
"商品名称"
>
<el-table-column
label=
"商品名称"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
goods_list
[
0
].
title
}}
{{
scope
.
row
.
goods_list
[
0
].
title
}}
...
...
src/views/system/order/index.vue
浏览文件 @
d4c8d191
...
@@ -4,10 +4,10 @@
...
@@ -4,10 +4,10 @@
<div
style=
"position: relative;"
>
<div
style=
"position: relative;"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
name=
"first"
>
<el-tab-pane
name=
"first"
>
<div
slot=
"label"
>
待发货
{{
activeName
==
'first'
?
'('
+
total
+
')'
:
''
}}
</div>
<div
slot=
"label"
>
待发货
{{
activeName
==
'first'
?
'('
+
total
1
+
')'
:
''
}}
</div>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
name=
"second"
>
<el-tab-pane
name=
"second"
>
<div
slot=
"label"
>
已发货
{{
activeName
==
'second'
?
'('
+
total
+
')'
:
''
}}
</div>
<div
slot=
"label"
>
已发货
{{
activeName
==
'second'
?
'('
+
total
2
+
')'
:
''
}}
</div>
</el-tab-pane>
</el-tab-pane>
<el-tab-pane
label=
"已完成"
name=
"third"
></el-tab-pane>
<el-tab-pane
label=
"已完成"
name=
"third"
></el-tab-pane>
<el-tab-pane
label=
"全部订单"
name=
"fourth"
></el-tab-pane>
<el-tab-pane
label=
"全部订单"
name=
"fourth"
></el-tab-pane>
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
<el-button
size=
"mini"
icon=
"el-icon-position"
@
click=
"isDeliveryOpen = true"
>
批量发货
</el-button>
<el-button
size=
"mini"
icon=
"el-icon-position"
@
click=
"isDeliveryOpen = true"
>
批量发货
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"scollbox"
>
<div
class=
"form-box"
>
<div
class=
"form-box"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"85px"
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"85px"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
>
<el-row
type=
"flex"
class=
"row-bg"
justify=
"space-around"
>
...
@@ -64,16 +65,20 @@
...
@@ -64,16 +65,20 @@
</el-row>
</el-row>
</el-form>
</el-form>
</div>
</div>
<el-table
:data=
"tableData"
height=
"52
0"
>
<el-table
:data=
"tableData"
max-height=
"108
0"
>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
type=
"selection"
width=
"55"
/>
<el-table-column
label=
"订单号"
align=
"center"
prop=
"order_sn"
/>
<el-table-column
label=
"订单号"
align=
"center"
prop=
"order_sn"
width=
"255"
/>
<el-table-column
label=
"下单时间"
align=
"center"
prop=
"Updatetime"
>
<el-table-column
label=
"下单时间"
align=
"center"
prop=
"Updatetime"
width=
"155"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
formatter
(
scope
.
row
.
Updatetime
)
}}
{{
formatter
(
scope
.
row
.
Updatetime
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"数量"
align=
"center"
prop=
"goods_total"
/>
<el-table-column
label=
"数量"
align=
"center"
prop=
"goods_total"
/>
<el-table-column
label=
"订单金额"
align=
"center"
prop=
"goods_price"
/>
<el-table-column
label=
"订单金额"
align=
"center"
prop=
"goods_price"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
goods_price
/
100
}}
</
template
>
</el-table-column>
<el-table-column
label=
"收货人"
align=
"center"
prop=
"real_name"
/>
<el-table-column
label=
"收货人"
align=
"center"
prop=
"real_name"
/>
<el-table-column
label=
"联系电话"
align=
"center"
prop=
"mobile"
/>
<el-table-column
label=
"联系电话"
align=
"center"
prop=
"mobile"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
...
@@ -88,6 +93,8 @@
...
@@ -88,6 +93,8 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
<div
class=
"footer_pagination"
>
<div
class=
"footer_pagination"
>
<el-pagination
<el-pagination
background
background
...
@@ -170,6 +177,8 @@
...
@@ -170,6 +177,8 @@
currentPage
:
1
,
currentPage
:
1
,
pageSize
:
20
,
pageSize
:
20
,
total
:
0
,
total
:
0
,
total1
:
''
,
//待发货
total2
:
''
,
//已发货
activeName
:
'first'
,
activeName
:
'first'
,
form
:
{
form
:
{
order_sn
:
''
,
order_sn
:
''
,
...
@@ -256,6 +265,12 @@
...
@@ -256,6 +265,12 @@
listOrder
(
params
).
then
(
res
=>
{
listOrder
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
if
(
res
.
code
==
1
)
{
this
.
total
=
res
.
data
.
count
||
0
this
.
total
=
res
.
data
.
count
||
0
if
(
this
.
goodsStatus
==
1
){
this
.
total1
=
res
.
data
.
count
||
0
}
if
(
this
.
goodsStatus
==
2
){
this
.
total2
=
res
.
data
.
count
||
0
}
this
.
tableData
=
res
.
data
.
data
this
.
tableData
=
res
.
data
.
data
}
}
})
})
...
@@ -381,7 +396,13 @@
...
@@ -381,7 +396,13 @@
/
deep
/
.el-range-editor.el-input__inner
{
/
deep
/
.el-range-editor.el-input__inner
{
width
:
100%
;
width
:
100%
;
}
}
/
deep
/
.el-card__body
{
height
:
calc
(
100%
-
50px
);
}
.scollbox
{
height
:
calc
(
100%
-
50px
);
overflow-y
:
scroll
;
}
.form-box
{
.form-box
{
background-color
:
#F7F8FA
;
background-color
:
#F7F8FA
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论