From 660512bfd9c97321f5f530801011a2aa2924f5ab Mon Sep 17 00:00:00 2001 From: zhangdi <15053473693@163.com> Date: Wed, 11 Feb 2026 17:55:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E7=BA=A7=E5=87=BA=E5=BA=93=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondOrder/components/outDialog.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/secondOrder/components/outDialog.vue b/src/views/secondOrder/components/outDialog.vue index a99da17..8fb268b 100644 --- a/src/views/secondOrder/components/outDialog.vue +++ b/src/views/secondOrder/components/outDialog.vue @@ -504,11 +504,20 @@ export default { this.inInit(); } this.sizeForm.userInfoVO = this.userInfo; - console.log(this.userInfo,'userInfo'); + console.log(this.userInfo, "userInfo"); this.getDetailedItems(); this.getOutGroupName(); }, methods: { + isRowSelectable(row) { + // 确保 materialName 是非空字符串,materialId 是非空值(字符串或数字) + return ( + (row.materialName && + row.materialName.trim() !== "" && + row.materialId != null && + row.materialId !== "")||(rowinventory 0) { group.twoInventoryVOList.forEach((element) => { - if(element.type === "NY"){ + element.applyNum = group.applyNum; + if (element.type === "NY") { element.num = 1; } else { element.num = group.applyNum; @@ -737,6 +747,9 @@ export default { this.sizeForm.ldTwoOutStorage.departmentInfo = departmentArr.length > 0 ? departmentArr[0] : {}; + if(this.sizeForm.groupName!='自由出库'){ + this.groupTableData = res.data.result.ldTwoOutStorageDetailList + } // this.sizeForm.ldTwoOutStorage.proposerInfo={} }); }