diff --git a/pages/inventory/addinventory.vue b/pages/inventory/addinventory.vue index 93a2b31..bd0fe22 100644 --- a/pages/inventory/addinventory.vue +++ b/pages/inventory/addinventory.vue @@ -40,7 +40,7 @@ - {{value[1].name}} + {{values[0]}} 数量:{{values[1]}} @@ -50,7 +50,7 @@ - + @@ -149,12 +149,10 @@ productPicture: this.carList1[i].productPicture, productSn:this.carList1[i].productSn, stockLogList: new Map(), - stockLogList1:[], - name:'' + stockLogList1:[] } for (let m = 0; m < this.carList1[i].saleDetailQueryDTO.length; m++) { obj.stockLogList.set(this.carList1[i].saleDetailQueryDTO[m].attributeList,this.carList1[i].saleDetailQueryDTO[m].productCount) - obj.name = this.carList1[i].saleDetailQueryDTO[m].name } console.log("没有数据") this.carList.set(this.carList1[i].id, obj)