From fbbb225eaed64728f3e40ca269f64286a1a8c2bb Mon Sep 17 00:00:00 2001 From: sjz-mxj <1375998991@qq.com> Date: Fri, 9 Jun 2023 09:47:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=BB=93=E5=BA=93=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/warehouse/info.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/warehouse/info.vue b/pages/warehouse/info.vue index 10988e0..43fc57e 100644 --- a/pages/warehouse/info.vue +++ b/pages/warehouse/info.vue @@ -32,7 +32,7 @@ import request from '@/common/request.js' warehouseAddress:{label:"仓库位置",type:"textarea"}, warehouseVolume:{label:"仓库容量(㎡)", type:"digit",placeholder:"请输入仓库容量"}, goodsType:{label:"存储物品类型",type:"select",columns:[],value:[]}, - warehouseType:{label:"仓库类型",type:"select",columns:[],value:[]}, + // warehouseType:{label:"仓库类型",type:"select",columns:[],value:[]}, // contactPeople:{label:"基地管理员", disabled:this.$store.getters['userInfo'].roleCode=="baseAdmin"}, // contactNumber:{label:"管理员联系方式", disabled:this.$store.getters['userInfo'].roleCode=="baseAdmin"}, warehousePic:{label:"仓库图片",type:"upImg",num:3}, @@ -43,7 +43,7 @@ import request from '@/common/request.js' warehouseAddress:"", warehouseVolume:"", goodsType:'', - warehouseType:"", + // warehouseType:"", // contactPeople:"", // contactNumber:"", warehousePic:[], @@ -55,7 +55,7 @@ import request from '@/common/request.js' warehouseAddress:{required:true, message:"仓库位置必填!", trigger:["blur","change"]}, warehouseVolume:{required:true, message:"仓库容量必填!", type:"number", trigger:["blur","change"]}, goodsType:{required:true, message:"存储物品类型必填!", trigger:["blur","change"]}, - warehouseType:{required:true, message:"仓库类型必选!", trigger:["blur","change"]}, + // warehouseType:{required:true, message:"仓库类型必选!", trigger:["blur","change"]}, // contactPeople:{required:true, message:"基地管理员必填!", trigger:["blur","change"]}, // contactNumber:{required:true, validator(rule,val,call){ // if(!val)call(new Error("管理员联系方式必填!")); @@ -77,7 +77,7 @@ import request from '@/common/request.js' if(e){ this.formData=e this.fields.warehousePic.value=e.warehousePic.join(',') - this.fields.warehouseType.value=[e.warehouseType] + // this.fields.warehouseType.value=[e.warehouseType] this.fields.goodsType.value=[e.goodsType] }else if(this.$store.getters['userInfo'].roleCode=="base_admin"){ // this.formData.contactPeople=this.$store.getters['userInfo'].realname @@ -93,7 +93,7 @@ import request from '@/common/request.js' params:{dictCode: "warehouse_type"} }) if(res.statu){ - this.fields.warehouseType.columns=[res.data] + // this.fields.warehouseType.columns=[res.data] }else{ uni.showModal({ title:"提示",