From d1805dd94d3fb17564aa13372d953d4114a69e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Thu, 12 Sep 2024 11:14:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?HL-5932=20=E5=8F=91=E6=96=99=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E9=BB=98=E8=AE=A4=E5=8C=85=E8=A3=85=E8=A7=84=E6=A0=BC?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/issueManage/issue/issueRequestMain/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/wms/issueManage/issue/issueRequestMain/index.vue b/src/views/wms/issueManage/issue/issueRequestMain/index.vue index d32b0d392..0a61065d8 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/index.vue +++ b/src/views/wms/issueManage/issue/issueRequestMain/index.vue @@ -176,12 +176,13 @@ const getDefaultPackUnit = async (packUnitList)=>{ list:packUnitList }) console.log('res',res) - if(res&&res.list.length>0){ + if(res&&res.length>0){ tableData.value.forEach(item=>{ if(!item['packUnit']){ - let findItem = res.list.find(item1=>item1.itemCode == item.itemCode) + let findItem = res.find(item1=>item1.itemCode == item.itemCode) if(findItem){ item['packUnit'] = findItem['packUnit'] + item['packQty'] = findItem['packQty'] } } }) From ae3eebea1484af59f626bd7c15abe4f27ae50303 Mon Sep 17 00:00:00 2001 From: tengxiaofei <302828528@qq.com> Date: Thu, 12 Sep 2024 11:21:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?HL-5973=20=E9=87=8F=E4=BA=A7=E5=A4=87?= =?UTF-8?q?=E4=BB=B6bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionitemcodeSpareitemcode.data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts b/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts index 2e780eb83..b9f6be7f2 100644 --- a/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts +++ b/src/views/wms/basicDataManage/itemManage/productionitemcodeSpareitemcode/productionitemcodeSpareitemcode.data.ts @@ -32,7 +32,7 @@ export const ProductionitemcodeSpareitemcode = useCrudSchemas(reactive