|
@ -356,7 +356,7 @@ export default { |
|
|
body:{ |
|
|
body:{ |
|
|
...this.formData, |
|
|
...this.formData, |
|
|
images: this.fields.images.value, |
|
|
images: this.fields.images.value, |
|
|
farmPests: Object.assign(this.formData.farmPests||{},{pestName:this.formData.farmPests?.pestName?.map?.(v=>v.id).join(",")||''}) |
|
|
farmPests: Object.assign(this.formData.farmPests||{},{pestName:this.formData.farmPests?.pestName?.map?.(v=>v.name).join(",")||''}) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
if(res.statu){ |
|
|
if(res.statu){ |
|
@ -411,4 +411,4 @@ export default { |
|
|
this.$provise.off('forming_agr') |
|
|
this.$provise.off('forming_agr') |
|
|
}, |
|
|
}, |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|