Commit 429d1d62 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复存取件报表手机号显示错误的问题

parent e05a71e8
...@@ -37,8 +37,8 @@ ...@@ -37,8 +37,8 @@
</a-table> </a-table>
</div> </div>
</template> </template>
<script> <script>
import { mapState } from "vuex"; import { mapState } from "vuex";
import storage from "@/utils/js/Storage"; import storage from "@/utils/js/Storage";
import { export2Excel } from "@/utils/js/exportExcel"; import { export2Excel } from "@/utils/js/exportExcel";
...@@ -100,7 +100,7 @@ export default { ...@@ -100,7 +100,7 @@ export default {
title: "取件人联系电话", title: "取件人联系电话",
dataIndex: "phone", dataIndex: "phone",
width: 150, width: 150,
customRender: (text) => text.phone || "--", customRender: (text) => text || "--",
}, },
{ {
title: "取件码", title: "取件码",
...@@ -297,6 +297,5 @@ export default { ...@@ -297,6 +297,5 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
</a-table> </a-table>
</div> </div>
</template> </template>
<script> <script>
import { mapState } from "vuex"; import { mapState } from "vuex";
import storage from "@/utils/js/Storage"; import storage from "@/utils/js/Storage";
import { export2Excel } from "@/utils/js/exportExcel"; import { export2Excel } from "@/utils/js/exportExcel";
...@@ -83,7 +83,7 @@ export default { ...@@ -83,7 +83,7 @@ export default {
title: "联系电话", title: "联系电话",
dataIndex: "phone", dataIndex: "phone",
width: 150, width: 150,
customRender: (text) => text.phone || "--", customRender: (text) => text || "--",
}, },
{ {
title: "取件方式", title: "取件方式",
...@@ -305,6 +305,5 @@ export default { ...@@ -305,6 +305,5 @@ export default {
}, },
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
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