From 2cdf8ebf19bf41e7a15d2f70d91b611eb7532d5b Mon Sep 17 00:00:00 2001 From: "Mr.sun" <2290907227@qq.com> Date: Mon, 15 Apr 2024 09:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/inventory/index.scss | 2 +- pages/inventory/index.vue | 27 ++++++++++----------------- 2 files changed, 11 insertions(+), 18 deletions(-) diff --git a/pages/inventory/index.scss b/pages/inventory/index.scss index 72b4ebd..bb5bb57 100644 --- a/pages/inventory/index.scss +++ b/pages/inventory/index.scss @@ -150,7 +150,7 @@ align-items: center; .item-title { - // width: 120rpx; + width: 120rpx; font-size: 24rpx; color: #555555; } diff --git a/pages/inventory/index.vue b/pages/inventory/index.vue index 068b08c..7fdd20a 100644 --- a/pages/inventory/index.vue +++ b/pages/inventory/index.vue @@ -47,11 +47,11 @@ - 库存数量: + 库存数量: {{item.quantity}} - 盘点数量: + 盘点数量: {{item.invQty}} @@ -62,16 +62,7 @@ 商品编码: - - 缴库数量: @@ -137,7 +128,8 @@ form:{ goodNo:'', batch:'', - invQty:'' + invQty:'', + id:'' }, isActive:0, loadStatus: 'loadmore', @@ -215,13 +207,14 @@ }, qtyEnter(item){ this.show=true + this.form.id=item.id this.form.goodNo=item.goodNo - this.form.containerCode=item.containerCode - this.form.quantity=item.quantity - this.form.goodName=item.goodName + // this.form.containerCode=item.containerCode + // this.form.quantity=item.quantity + // this.form.goodName=item.goodName this.form.invQty=item.invQty // this.invQty=item.qty - this.invid=item.id + // this.invid=item.id }, noEnter(){ this.show=false @@ -271,7 +264,7 @@ if(!res.rows || res.rows.length == 0){ this.$u.toast("当前托盘内商品不存在"); }else if(res.code == '200'){ - res.row.forEach(item=>{ + res.rows.forEach(item=>{ item.invQty=item.quantity }) this.dataList=res.rows