Browse Source

地块基本信息 修改详情赋值

master
邓宏 2 years ago
parent
commit
f4b9c358dd
  1. 8
      pages/massif/info.vue

8
pages/massif/info.vue

@ -125,15 +125,7 @@ import request from '@/common/request'
if(res.statu){
this.formData={...res.data,image:res.data.image||[]}
this.fields.date.value=[res.data.beginTime, res.data.endTime]
this.fields.plantBaseInfoId.value=[res.data.plantBaseInfoId]
this.fields.image.value=res.data.image?.join?.(',')||''
// this.fields.longitude.value=this.formData.longitude.split(";").map(v=>{
// var point=v.split(",")
// if(point.length==2){
// return {longitude:point[0],latitude:point[1]}
// }
// return null
// }).filter(v=>v)
}else{
uni.showModal({
title:"提示",

Loading…
Cancel
Save