Browse Source

修改病虫害保存 名字

master
马景富 2 years ago
parent
commit
e8ce76bdab
  1. 4
      pages/massif/add_farming.vue

4
pages/massif/add_farming.vue

@ -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>

Loading…
Cancel
Save