diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index 9ce1534df..3ebe261c5 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -129,10 +129,10 @@ - + - + + + + + - + + + + + - + diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue index 41cc2505d..ca1ab82ee 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue @@ -233,10 +233,13 @@ const openDetail = async (row: any, titleName: any, titleValue: any) => { getListApi: SupplierdeliverRequestDetailApi.getSupplierdeliverRequestDetailPage // 分页接口 }) const { getList:requestGetList } = requestTableMethods - requestTableObject.params.number = 'REQ0120240506-0002' + requestTableObject.params.requestNumber = row.requestNumber await requestGetList() - row.annexMasterId = requestTableObject.tableList[0].masterId - detailRef.value.openDetail(row, titleName, titleValue,'recordSupplierdeliverMain') + if(requestTableObject.tableList.length>0){ + row.annexMasterId = requestTableObject.tableList[0].masterId + detailRef.value.openDetail(row, titleName, titleValue,'recordSupplierdeliverMain') + } + } // 详情 table 操作扩展 按钮