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