Browse Source

新增农事 添加表单

master
邓宏 1 year ago
parent
commit
7b821ae377
  1. 1
      pages/massif/add_farming.vue

1
pages/massif/add_farming.vue

@ -215,6 +215,7 @@
<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="防治对象" 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"/> <d-form :label="()=>`${formData.pestsType||'病虫害'}名称`" type="navigate" :value="formData.pests" :btnFun="pestsFun"/>
<d-form label="作用面积" type="digit" v-model="formData.roleArea"/>
</template> </template>
<d-form <d-form
v-for="(v,k) in fields" v-for="(v,k) in fields"

Loading…
Cancel
Save