Browse Source

type:refactor

commit:农事记录增加人工投入人数
master
孙家正 2 years ago
parent
commit
77a3dfe651
  1. 2
      pages/massif/add_farming.vue

2
pages/massif/add_farming.vue

@ -204,6 +204,7 @@ export default {
fields:{
principal:{label:"操作人",styleType:"parallel", disabled:true},
farmingTime:{label:"操作日期",styleType:"parallel",type:"calendar"},
userNum:{label:"人工投入(个)"},
farmingPlanId:{label:"种植计划",type:"select",columns:[],value:[]},
images:{label:"农事图片",type:"upImg",num:3},
farmingRemarks:{label:"备注",type:"textarea"},
@ -221,6 +222,7 @@ export default {
plantBaseInfoId: this.$store.state.baseInfo.id,
},
rules:{
userNum:{required:true,message:"人工投入必填!",trigger:'blur'},
farmingTime:{required:true,message:"操作日期必填!",trigger:'blur'},
farmingPlanId:{required:true,message:"种植计划必选!",trigger:'blur'},
},

Loading…
Cancel
Save