Commit 1b542acb by 孙亚楠

d

parent e30b6ae3
...@@ -475,6 +475,9 @@ class OorderService extends ServiceBase { ...@@ -475,6 +475,9 @@ class OorderService extends ServiceBase {
for(let ele of item.service_items.split(',')){ for(let ele of item.service_items.split(',')){
childProductServiceItem += `${productAllMap[ele].name}、`; childProductServiceItem += `${productAllMap[ele].name}、`;
} }
if(childProductServiceItem.charAt(childProductServiceItem.length-1) == '、'){
childProductServiceItem = childProductServiceItem.substring(0, childProductServiceItem.length - 1)
}
item.oproduct.childProductServiceItem = childProductServiceItem || ""; item.oproduct.childProductServiceItem = childProductServiceItem || "";
} }
} }
......
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