From 77a3dfe651c07a5fce9f32a4a0dee77098be3096 Mon Sep 17 00:00:00 2001 From: sjz-mxj <1375998991@qq.com> Date: Sat, 25 Feb 2023 17:42:13 +0800 Subject: [PATCH] =?UTF-8?q?type:refactor=20commit:=E5=86=9C=E4=BA=8B?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=A2=9E=E5=8A=A0=E4=BA=BA=E5=B7=A5=E6=8A=95?= =?UTF-8?q?=E5=85=A5=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/add_farming.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index a2a026e..ceeb925 100644 --- a/pages/massif/add_farming.vue +++ b/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'}, },