diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index 3a43c6830..09c935f94 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -343,7 +343,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea if (type == 'tableForm') { // 明细查询页赋值 val.forEach(item=>{ - if(tableData.value.find(item1=>item1['recvBillNum'] == item['recvBillNum'])) return + if(tableData.value.find(item1=>item1['recvBillNum'] == item['recvBillNum']&&item1['poLine'] == item['poLine'])) return const newRow = {...row} newRow[formField] = item[searchField] diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index 96c2e56e7..b2eb7c153 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -1468,6 +1468,35 @@ export const SupplierinvoiceRequestDetailMain = useCrudSchemas(reactive { if (Number(value)>0) {