Browse Source

界面显示

master
孙家正 2 years ago
parent
commit
fef14fc04e
  1. 2
      pages/massif/add_farming.vue
  2. 2
      pages/warehouse/info.vue

2
pages/massif/add_farming.vue

@ -258,7 +258,7 @@ export default {
plantBaseInfoId: this.$store.state.baseInfo.id, plantBaseInfoId: this.$store.state.baseInfo.id,
}, },
rules:{ rules:{
userNum:{required:true,message:"人工投入必填!",trigger:'blur'}, userNum:{required:true,type:'number',message:"人工投入必填!",trigger:'blur'},
farmingTime:{required:true,message:"操作日期必填!",trigger:'blur'}, farmingTime:{required:true,message:"操作日期必填!",trigger:'blur'},
farmingPlanId:{required:true,message:"种植计划必选!",trigger:'blur'}, farmingPlanId:{required:true,message:"种植计划必选!",trigger:'blur'},
}, },

2
pages/warehouse/info.vue

@ -28,7 +28,7 @@ import request from '@/common/request.js'
return{ return{
fields:{ fields:{
warehouseName:{label:"仓库名称"}, warehouseName:{label:"仓库名称"},
warehouseNo:{label:"仓库编号"}, warehouseNo:{label:"仓库编号",filter:v=>v.replace(/[\u2E80-\u9FFF]/g,'')},
warehouseAddress:{label:"仓库位置",type:"textarea"}, warehouseAddress:{label:"仓库位置",type:"textarea"},
warehouseVolume:{label:"仓库容量(㎡)", type:"digit",placeholder:"请输入仓库容量"}, warehouseVolume:{label:"仓库容量(㎡)", type:"digit",placeholder:"请输入仓库容量"},
goodsType:{label:"存储物品类型",type:"select",columns:[],value:[]}, goodsType:{label:"存储物品类型",type:"select",columns:[],value:[]},

Loading…
Cancel
Save