From fef14fc04e8e64f82d49eb1eca51e53d4cad27b1 Mon Sep 17 00:00:00 2001 From: sjz-mxj <1375998991@qq.com> Date: Thu, 8 Jun 2023 15:03:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/massif/add_farming.vue | 2 +- pages/warehouse/info.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/massif/add_farming.vue b/pages/massif/add_farming.vue index e8032fa..c584a7b 100644 --- a/pages/massif/add_farming.vue +++ b/pages/massif/add_farming.vue @@ -258,7 +258,7 @@ export default { plantBaseInfoId: this.$store.state.baseInfo.id, }, rules:{ - userNum:{required:true,message:"人工投入必填!",trigger:'blur'}, + userNum:{required:true,type:'number',message:"人工投入必填!",trigger:'blur'}, farmingTime:{required:true,message:"操作日期必填!",trigger:'blur'}, farmingPlanId:{required:true,message:"种植计划必选!",trigger:'blur'}, }, diff --git a/pages/warehouse/info.vue b/pages/warehouse/info.vue index 40c4428..10988e0 100644 --- a/pages/warehouse/info.vue +++ b/pages/warehouse/info.vue @@ -28,7 +28,7 @@ import request from '@/common/request.js' return{ fields:{ warehouseName:{label:"仓库名称"}, - warehouseNo:{label:"仓库编号"}, + warehouseNo:{label:"仓库编号",filter:v=>v.replace(/[\u2E80-\u9FFF]/g,'')}, warehouseAddress:{label:"仓库位置",type:"textarea"}, warehouseVolume:{label:"仓库容量(㎡)", type:"digit",placeholder:"请输入仓库容量"}, goodsType:{label:"存储物品类型",type:"select",columns:[],value:[]},