diff --git a/pages/stock/agrWarehouse.vue b/pages/stock/agrWarehouse.vue index 681294f..34eb9ef 100644 --- a/pages/stock/agrWarehouse.vue +++ b/pages/stock/agrWarehouse.vue @@ -93,6 +93,7 @@ import request from '@/common/request' return{ fields:{ specName:{label:"规格", disabled:true, agr:true}, + price:{label:"采购单价",type:"digit",suffix:"",agr:true}, warning:{label:"预警值",type:"digit",suffix:"",agr:true}, number:{label:"入库数量", type:"digit",suffix:"", tip:""}, inOutBatchNo:{label:"入库批次号",agr:true, btnText:"生成", btnFun:()=>this.formData.inOutBatchNo=`RK${new Date().format('yyyyMMdd')}${new Date().getTime()}`}, @@ -104,6 +105,7 @@ import request from '@/common/request' }, formData:{ enterpriseId: this.$store.getters['userInfo'].companyId, + price:"", specName:"", warning:"", specId:"", @@ -114,11 +116,12 @@ import request from '@/common/request' operateTime:"", pic:[], remark:"", - + substanceType: 1, }, rules:{ number:{required:true,type:"number", message:"入库数量必填!"}, + price:{required:true,type:"number", message:"采购单价必填!"}, warning:{required:true,type:"number", message:"入库数量必填!"}, inOutBatchNo:{required:true, message:"入库批次号必填!"}, warehouseId:{required:true, message:"仓库必选!"}, @@ -224,4 +227,4 @@ import request from '@/common/request' }, }, } - \ No newline at end of file +