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