|
|
@ -212,7 +212,7 @@ |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<u-form class="inline" errorType="toast" :model="formData" :rules="rules" ref="form" labelWidth="auto"> |
|
|
|
<template v-if="/^用药$|^施肥$/.test(formData.farmingType)"> |
|
|
|
<template v-if="/^用药$/.test(formData.farmingType)"> |
|
|
|
<d-form label="防治对象" type="select" :value="[formData.pestsType]" @select="formData.pestsType=$event.slice(-1)[0].value" :columns="[[{label:'病害',value:'病害'},{label:'虫害',value:'虫害'}]]"/> |
|
|
|
<d-form :label="()=>`${formData.pestsType||'病虫害'}名称`" type="navigate" :value="formData.pests" :btnFun="pestsFun"/> |
|
|
|
</template> |
|
|
|