Browse Source

病虫害记录 修改 类型表单

master
邓宏 2 years ago
parent
commit
892f15772a
  1. 2
      pages/massif/pestRecord.vue

2
pages/massif/pestRecord.vue

@ -32,7 +32,7 @@ export default {
pestSite:{label:"病虫害部位",type:"checkBox",value:[],columns:[{label:"根",value:"根"},{label:"茎",value:"茎"},{label:"叶",value:"叶"}]},
growthProcess:{label:"作物生长过程",type:"select-tab",dictCode:"growth_process"},
symptom:{label:"显著症状",type:"select-tab",dictCode:"symptom"},
pestType:{label:"病虫害类型",type:"select",columns:[[{label:"病害",value:"病害"},{label:"虫害",value:"虫害"}]],value:['虫害']},
pestType:{label:"病虫害类型",type:"radio",columns:[{label:"病害",value:"病害"},{label:"虫害",value:"虫害"}],value:['虫害']},
pestName:{label:()=>`${this.formData.pestType}名称`,type:"navigate",value:"",btnFun:()=>uni.navigateTo({
url:`/pages/massif/pestType?type=${({"病害":"disease","虫害":"pestis"})[this.formData.pestType]}`,
events:{type:e=>{

Loading…
Cancel
Save