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={} }); }