From 7979226b829e6df76b66b25a6d709832af338e2e Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期五, 03 七月 2026 15:39:15 +0800
Subject: [PATCH] 新增采购退货后,如果对应的采购退货审批也通过,采购退货记录不能删除,删除按钮置灰

---
 src/main/java/com/ruoyi/production/bean/dto/BomImportDto.java |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/main/java/com/ruoyi/production/bean/dto/BomImportDto.java b/src/main/java/com/ruoyi/production/bean/dto/BomImportDto.java
index 10ae162..11393f3 100644
--- a/src/main/java/com/ruoyi/production/bean/dto/BomImportDto.java
+++ b/src/main/java/com/ruoyi/production/bean/dto/BomImportDto.java
@@ -1,38 +1,38 @@
 package com.ruoyi.production.bean.dto;
 
 import com.ruoyi.framework.aspectj.lang.annotation.Excel;
-import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 
 import java.math.BigDecimal;
 
 @Data
 public class BomImportDto {
-    @ApiModelProperty("鐖朵骇鍝佸悕绉�")
+    @Schema(description = "鐖朵骇鍝佸悕绉�")
     @Excel(name = "鐖朵骇鍝佸悕绉�")
     private String parentName;
 
-    @ApiModelProperty("鐖朵骇鍝佽鏍�")
+    @Schema(description = "鐖朵骇鍝佽鏍�")
     @Excel(name = "鐖朵骇鍝佽鏍�")
     private String parentSpec;
 
-    @ApiModelProperty("瀛愪骇鍝佸悕绉�")
+    @Schema(description = "瀛愪骇鍝佸悕绉�")
     @Excel(name = "瀛愪骇鍝佸悕绉�")
     private String childName;
 
-    @ApiModelProperty("瀛愪骇鍝佽鏍�")
+    @Schema(description = "瀛愪骇鍝佽鏍�")
     @Excel(name = "瀛愪骇鍝佽鏍�")
     private String childSpec;
 
-    @ApiModelProperty("鍗曚綅鐢ㄩ噺")
+    @Schema(description = "鍗曚綅鐢ㄩ噺")
     @Excel(name = "鍗曚綅鐢ㄩ噺")
     private BigDecimal unitQty;
 
-    @ApiModelProperty("宸ュ簭")
+    @Schema(description = "宸ュ簭")
     @Excel(name = "宸ュ簭")
     private String process;
 
-    @ApiModelProperty("澶囨敞")
+    @Schema(description = "澶囨敞")
     @Excel(name = "澶囨敞")
     private String remark;
 }

--
Gitblit v1.9.3