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