From 899295e031f889082f3b7167176cc53281568aa9 Mon Sep 17 00:00:00 2001 From: "tianyi@bogon" Date: Mon, 6 Nov 2023 10:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/inventory/addinventory.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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)