|
|
@ -141,7 +141,7 @@ |
|
|
|
<view class="recovery" style="--c:#FFC760;">已采收:{{v.harvested}}kg</view> |
|
|
|
<view class="mu"> |
|
|
|
<text class="area">{{v.plantArea}}</text> |
|
|
|
<text class="farm">农事操作{{v.farmNum||0}}次</text> |
|
|
|
<text class="farm" @click.stop="v.farmNum>0 && $emit('farm',v.id)">农事操作{{v.farmNum||0}}次</text> |
|
|
|
<button class="cu-btn bg-white sm plant-shanchu" v-if="v.status!=2" @click.stop="del(k)">删除</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -225,7 +225,7 @@ export default { |
|
|
|
reDetail(id){ |
|
|
|
uni.navigateTo({ |
|
|
|
url:`/pages/massif/plant_plan?id=${id}`, |
|
|
|
event:{update:()=> {this.clean();this.search()} } |
|
|
|
events:{update:()=> {this.clean();this.search()} } |
|
|
|
}) |
|
|
|
}, |
|
|
|
//结束种植 |
|
|
|