Browse Source

农产品入库 修改表单

master
邓宏 2 years ago
parent
commit
c09d961916
  1. 8
      pages/stock/prodWarehouse.vue

8
pages/stock/prodWarehouse.vue

@ -31,12 +31,12 @@ export default {
fields:{ fields:{
inOutType:{label:"入库类型",type:"select",columns:[],value:[]}, inOutType:{label:"入库类型",type:"select",columns:[],value:[]},
varietyName:{label:"名称"}, varietyName:{label:"名称"},
number:{label:"入库数量"}, number:{label:"入库数量",type:"digit"},
detailType:{label:"作物类型",type:"select",columns:[[]],value:[]}, detailType:{label:"作物类型",type:"select",columns:[[]],value:[]},
operateTime:{label:"入库时间",type:"calendar"}, operateTime:{label:"入库时间",type:"calendar"},
pic:{label:"单据、凭证图片",type:"upImg",value:""},
warehouseId:{label:"仓库",type:"select",columns:[],value:[]}, warehouseId:{label:"仓库",type:"select",columns:[],value:[]},
remark:{label:"备注"}, pic:{label:"单据、凭证图片",type:"upImg",value:""},
remark:{label:"备注",type:"textarea"},
}, },
formData:{ formData:{
enterpriseId: this.$store.getters['userInfo'].companyId, enterpriseId: this.$store.getters['userInfo'].companyId,
@ -54,7 +54,7 @@ export default {
rules:{ rules:{
inOutType:{required:true,message:"入库类型必选!"}, inOutType:{required:true,message:"入库类型必选!"},
varietyName:{required:true,message:"名称必填!"}, varietyName:{required:true,message:"名称必填!"},
number:{required:true,message:"入库数量必填!"}, number:{required:true,type:'number',message:"入库数量必填!"},
detailType:{required:true,message:"作物类型必选!"}, detailType:{required:true,message:"作物类型必选!"},
operateTime:{required:true,message:"入库时间必选"}, operateTime:{required:true,message:"入库时间必选"},
warehouseId:{required:true,message:"仓库必选!"}, warehouseId:{required:true,message:"仓库必选!"},

Loading…
Cancel
Save