From e1797a873bf114329f4870062201d388155ef014 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 14 八月 2026 13:39:51 +0800
Subject: [PATCH] refactor(erp): 移除采购来票审核流程并简化业务逻辑

---
 yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java |   30 +++++++++++++++++++++++-------
 1 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java b/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java
index 63d2389..dd38717 100644
--- a/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java
+++ b/yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/controller/admin/sale/vo/order/ErpSaleOrderRespVO.java
@@ -2,6 +2,7 @@
 
 import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
 import cn.idev.excel.annotation.ExcelProperty;
+import cn.iocoder.yudao.module.system.api.storage.dto.StorageBlobRespDTO;
 import io.swagger.v3.oas.annotations.media.Schema;
 import jakarta.validation.constraints.NotNull;
 import lombok.Data;
@@ -29,7 +30,7 @@
 
     @Schema(description = "瀹㈡埛缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "1724")
     private Long customerId;
-    @Schema(description = "瀹㈡埛鍚嶇О", example = "鑺嬮亾")
+    @Schema(description = "瀹㈡埛鍚嶇О", example = "瓒呯骇绠$悊鍛�")
     @ExcelProperty("瀹㈡埛鍚嶇О")
     private String customerName;
 
@@ -72,17 +73,16 @@
     @Schema(description = "瀹氶噾閲戦锛屽崟浣嶏細鍏�", requiredMode = Schema.RequiredMode.REQUIRED, example = "7127")
     private BigDecimal depositPrice;
 
-    @Schema(description = "闄勪欢鍦板潃", example = "https://www.iocoder.cn")
-    @ExcelProperty("闄勪欢鍦板潃")
-    private String fileUrl;
-
     @Schema(description = "澶囨敞", example = "浣犵寽")
     @ExcelProperty("澶囨敞")
     private String remark;
 
-    @Schema(description = "鍒涘缓浜�", example = "鑺嬮亾")
+    @Schema(description = "闄勪欢鍒楄〃")
+    private List<StorageBlobRespDTO> attachmentList;
+
+    @Schema(description = "鍒涘缓浜�", example = "瓒呯骇绠$悊鍛�")
     private String creator;
-    @Schema(description = "鍒涘缓浜哄悕绉�", example = "鑺嬮亾")
+    @Schema(description = "鍒涘缓浜哄悕绉�", example = "瓒呯骇绠$悊鍛�")
     private String creatorName;
 
     @Schema(description = "鍒涘缓鏃堕棿", requiredMode = Schema.RequiredMode.REQUIRED)
@@ -114,6 +114,14 @@
 
     @Schema(description = "鏄惁鏈夐渶瑕佺敓浜х殑鏄庣粏锛�0=鍚� 1=鏄級", example = "1")
     private Integer needProduction;
+
+    // ========== 鐢熶骇鍏宠仈 ==========
+
+    @Schema(description = "鐢熶骇鐘舵�侊細0-鏈畬鎴愶紝1-宸插畬鎴�", example = "1")
+    private Integer productionStatus;
+
+    @Schema(description = "鐢熶骇瀹屾垚鏃堕棿")
+    private LocalDateTime productionFinishTime;
 
     @Data
     public static class Item {
@@ -156,6 +164,11 @@
         @Schema(description = "鍏宠仈鐨� MPS 缂栧彿", example = "1024")
         private Long mpsId;
 
+        // ========== 鍑哄簱鎵瑰彿 ==========
+
+        @Schema(description = "鍑哄簱鎵瑰彿", example = "B2026001銆丅2026002")
+        private String batchCode;
+
         // ========== 鍏宠仈瀛楁 ==========
 
         @Schema(description = "浜у搧鍚嶇О", requiredMode = Schema.RequiredMode.REQUIRED, example = "宸у厠鍔�")
@@ -168,6 +181,9 @@
         @Schema(description = "搴撳瓨鏁伴噺", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00")
         private BigDecimal stockCount; // 璇ュ瓧娈典粎浠呭湪璇︽儏鍜岀紪杈戞椂浣跨敤
 
+        @Schema(description = "瑙勬牸鍨嬪彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "-")
+        private String productSpecification;
+
     }
 
 }
\ No newline at end of file

--
Gitblit v1.9.3