Commit 6990d243 authored by 332784038@qq.com's avatar 332784038@qq.com

客户相关列表bug修复

parent b69f8c42
...@@ -364,7 +364,7 @@ export default { ...@@ -364,7 +364,7 @@ export default {
getProductTypeNames() { getProductTypeNames() {
return (ids) => { return (ids) => {
if (ids) { if (ids) {
const idsArr = ids.split(',') const idsArr = ids.toString().split(',')
const strArr = [] const strArr = []
this.productTypeList.forEach(item => { this.productTypeList.forEach(item => {
if (idsArr.includes(item.id.toString())) { if (idsArr.includes(item.id.toString())) {
...@@ -491,8 +491,8 @@ export default { ...@@ -491,8 +491,8 @@ export default {
this.list = response.data.list; this.list = response.data.list;
this.total = response.data.total; this.total = response.data.total;
this.loading = false; this.loading = false;
}); });
} }
} }
} }
</script> </script>
\ 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