From e5e32c99032d447d9a1a15dc66d537c80f447fd4 Mon Sep 17 00:00:00 2001 From: majingfu <1344267175@qq.com> Date: Sun, 25 Jun 2023 14:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=A2=9E=E5=8A=A0=E9=87=87?= =?UTF-8?q?=E8=B4=AD=E4=BB=B7=E6=A0=BC=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/stock/agrWarehouse.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 +