Commit e6458a1f authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'master-fix' into pre-release

parents 249d6ef8 b4443768
......@@ -145,7 +145,7 @@ export default {
if (valId) {
let p = {...this.form}
p.type = p.type.join(',')
p.customerContacts[0].name = p.name + p.customerContacts[0].phoneNew
p.customerContacts[0].name = p.name
createPotential(p).then(r => {
if (r.code === 0) {
this.$emit('change');
......
......@@ -874,11 +874,7 @@ export default {
return packging
.filter((item) => !!item.packagingTypes)
.map((item) => {
if (item.packagingTypes.length === 0){
item.packagingTypes = "";
} else {
item.packagingTypes = item.packagingTypes?.join(",") || "";
}
item.packagingTypes = item.packagingTypes?.join(",") || "";
return item;
});
},
......
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