|
|
@ -59,11 +59,22 @@ |
|
|
|
margin-bottom:6rpx; |
|
|
|
} |
|
|
|
.mu{ |
|
|
|
color:#10C176; |
|
|
|
font-size:32rpx; |
|
|
|
font-weight: bold; |
|
|
|
&:after{ |
|
|
|
content:"亩"; |
|
|
|
display:flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: space-between; |
|
|
|
&>text{ |
|
|
|
color:#10C176; |
|
|
|
font-size:32rpx; |
|
|
|
font-weight: bold; |
|
|
|
&:after{ |
|
|
|
content:"亩"; |
|
|
|
} |
|
|
|
} |
|
|
|
button{ |
|
|
|
margin:-20rpx 0!important; |
|
|
|
padding:20rpx; |
|
|
|
height: auto; |
|
|
|
background: transparent; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -100,7 +111,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
button{ |
|
|
|
&>button{ |
|
|
|
flex-shrink: 0; |
|
|
|
margin:20rpx auto!important; |
|
|
|
} |
|
|
@ -120,16 +131,22 @@ |
|
|
|
</view> |
|
|
|
<view class="batch" style="--c:#999;">种植批次号:{{v.plantBatch}}</view> |
|
|
|
<view class="recovery" style="--c:#FFC760;">已采收:{{v.harvested}}kg</view> |
|
|
|
<view class="mu">{{v.plantArea}}</view> |
|
|
|
<view class="mu"> |
|
|
|
<text>{{v.plantArea}}</text> |
|
|
|
<button class="cu-btn bg-white sm plant-shanchu" @click.stop="del">删除</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="date"> |
|
|
|
<text>本次预估采收时间:{{v.harvestTime}}</text> |
|
|
|
<text>预估采收时间:{{v.harvestTime}}</text> |
|
|
|
<template v-if="v.status==1"> |
|
|
|
<button class="cu-btn" style="--c:255, 196, 87;" @click.stop="finishPlant(k)">结束种植</button> |
|
|
|
<button class="cu-btn" style="--c:153, 153, 153;" @click.stop="toAdd(v.id)">采收</button> |
|
|
|
</template> |
|
|
|
<text v-if="v.status==2" class="over">已结束</text> |
|
|
|
<template v-else-if="v.status==2"> |
|
|
|
<button v-if="v.plantType=='水果'" class="cu-btn" style="--c:16, 193, 118;" @click.stop="">复制当前计划</button> |
|
|
|
<text class="over">已结束</text> |
|
|
|
</template> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<u-empty v-if="list.length==0" text="为查询到相关信息" width="70%" icon="/static/noData.png"/> |
|
|
@ -232,7 +249,18 @@ export default { |
|
|
|
url:`/pages/massif/plant_info?plantId=${plantId}&plotId=${this.plotId}`, |
|
|
|
events:{ toRecovery:()=> this.$emit("trigger",{tabIndex:2,plantId}) } |
|
|
|
}) |
|
|
|
} |
|
|
|
}, |
|
|
|
del(){ |
|
|
|
uni.showModal({ |
|
|
|
title:"提示", |
|
|
|
content:"确定删除!", |
|
|
|
success: async e=>{ |
|
|
|
if(e.confirm){ |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |