Browse Source

type:refactor

commit:种植计划增加预估产量字段
master
孙家正 2 years ago
parent
commit
12b95706a9
  1. 2
      pages/massif/plant_plan.vue

2
pages/massif/plant_plan.vue

@ -36,6 +36,7 @@ export default {
varietyName:{label:"品种名称"}, varietyName:{label:"品种名称"},
plantType:{label:"作物类型",type:"select",columns:[[]],value:[]}, plantType:{label:"作物类型",type:"select",columns:[[]],value:[]},
plantArea:{label:"种植面积(亩)",type:"digit"}, plantArea:{label:"种植面积(亩)",type:"digit"},
estimateOutput:{label:"预估产量(kg)",type:"digit"},
startTime:{label:"种植开始日期",type:"calendar"}, startTime:{label:"种植开始日期",type:"calendar"},
harvestTime:{label:"预估采收日期",type:"calendar"}, harvestTime:{label:"预估采收日期",type:"calendar"},
images:{label:"产品图片",type:"upImg",num:3,value:''}, images:{label:"产品图片",type:"upImg",num:3,value:''},
@ -68,6 +69,7 @@ export default {
varietyName: {required:true, message:"品种名称必填!", trigger:"blur"}, varietyName: {required:true, message:"品种名称必填!", trigger:"blur"},
plantType: {required:true, message:"作物类型必选!", trigger:"blur"}, plantType: {required:true, message:"作物类型必选!", trigger:"blur"},
plantArea: {required:true, type:"number", message:"种植面积必填!", trigger:"blur"}, plantArea: {required:true, type:"number", message:"种植面积必填!", trigger:"blur"},
estimateOutput: {required:true, type:"number", message:"预估产量必填!", trigger:"blur"},
startTime: {required:true, message:"种植开始日期必选!", trigger:"blur"}, startTime: {required:true, message:"种植开始日期必选!", trigger:"blur"},
harvestTime: {required:true, message:"预估采收日期必选!", trigger:"blur"}, harvestTime: {required:true, message:"预估采收日期必选!", trigger:"blur"},
images: {required:true, message:"产品图片必选!", trigger:"blur"}, images: {required:true, message:"产品图片必选!", trigger:"blur"},

Loading…
Cancel
Save