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

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

parent e05a71e8
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</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: "取件码",
...@@ -298,5 +298,4 @@ export default { ...@@ -298,5 +298,4 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped></style>
</style>
\ No newline at end of file
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
</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: "取件方式",
...@@ -306,5 +306,4 @@ export default { ...@@ -306,5 +306,4 @@ 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