Commit c1e75da4 authored by “yiyousong”'s avatar “yiyousong”

fix:修改存件记录报表

parent 86acf127
...@@ -72,8 +72,8 @@ ...@@ -72,8 +72,8 @@
:columns="tableHeaders" :columns="tableHeaders"
:dataSource="tableSourceData" :dataSource="tableSourceData"
> >
<template slot="status" slot-scope="text"> <template slot="status" slot-scope="text, record">
<a-tag v-if="text.status == 1" color="red"> 未取件 </a-tag> <a-tag v-if="record.status == 1" color="red"> 未取件 </a-tag>
<a-tag v-else color="blue"> 已取件 </a-tag> <a-tag v-else color="blue"> 已取件 </a-tag>
</template> </template>
</a-table> </a-table>
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
title: "邮递员", title: "邮递员",
align: "center", align: "center",
dataIndex: "courier", dataIndex: "courier",
customRender: (text, record, index) => text.courier || "--",
}, },
{ {
title: "联系电话", title: "联系电话",
...@@ -148,7 +149,7 @@ export default { ...@@ -148,7 +149,7 @@ export default {
{ {
title: "取件人联系电话", title: "取件人联系电话",
align: "center", align: "center",
dataIndex: "phone", customRender: (text, record, index) => text.phone || "--",
}, },
{ {
title: "取件码", title: "取件码",
...@@ -197,6 +198,7 @@ export default { ...@@ -197,6 +198,7 @@ export default {
}, },
created() { created() {
this.getSitePickupDevice(); this.getSitePickupDevice();
this.getStorageList();
}, },
methods: { methods: {
// 获取设备列表 // 获取设备列表
......
...@@ -131,6 +131,7 @@ export default { ...@@ -131,6 +131,7 @@ export default {
title: "取件人", title: "取件人",
align: "center", align: "center",
dataIndex: "name", dataIndex: "name",
customRender: (text, record, index) => text.name || "--",
}, },
{ {
title: "取件方式", title: "取件方式",
...@@ -152,7 +153,7 @@ export default { ...@@ -152,7 +153,7 @@ export default {
{ {
title: "联系电话", title: "联系电话",
align: "center", align: "center",
dataIndex: "phone", customRender: (text, record, index) => text.phone || "--",
}, },
{ {
title: "取件时间", title: "取件时间",
...@@ -164,7 +165,7 @@ export default { ...@@ -164,7 +165,7 @@ export default {
{ {
title: "邮递员", title: "邮递员",
align: "center", align: "center",
dataIndex: "courier", customRender: (text, record, index) => text.courier || "--",
}, },
{ {
title: "存件时间", title: "存件时间",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment