Browse Source

推送srm增加装柜日期/汇率

fenghaifu 1 day ago
parent
commit
a982369a54

+ 2 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/shippingDetails/entity/VO/PurchasePreDeliverDetailVo.java

@@ -78,6 +78,8 @@ public class PurchasePreDeliverDetailVo {
     private String purchaseOrderId;
     // 采购委外账套
     private String sysOrgCode;
+    // 汇率
+    private String exchangeRate;
 
     // 面辅料合并时主键:采购委外主表ID+发货日期+存货编码
     public String toFabricUnicId(){

+ 4 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/syShippingOrder/entity/VO/ReqShippingOrderItemVO.java

@@ -28,6 +28,8 @@ public class ReqShippingOrderItemVO {
     private BigDecimal number;
     // 报关单价(表体)
     private BigDecimal declarationUnitPrice;
+    // 装柜日期(表头)
+    private String loadingDate;
 
 
     public void fromShippingOrder(SyShippingOrderItem shippingOrderItem,
@@ -40,6 +42,8 @@ public class ReqShippingOrderItemVO {
         exportInvoiceNo = shippingOrder.getExportInvoiceNo();
         if("成衣".equals(shippingOrder.getReadyFabric())){
             exportInvoiceNo = vbillcode;
+            loadingDate = shippingOrder.getLatestDateOfShipment();
         }
+
     }
 }