瀏覽代碼

单证同步新 同步成衣工厂判断

liuchaohui 2 年之前
父節點
當前提交
f29eb169c3

+ 3 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/service/impl/SyOrderDataServiceImpl.java

@@ -216,6 +216,9 @@ public class SyOrderDataServiceImpl extends ServiceImpl<SyOrderDataMapper, SyOrd
                         sy2.setITaxPrice(ordervo.getITaxPrice());
                         sy2.setGuangpeiGateWidth(ordervo.getGuangpeiGateWidth());
                         sy2.setSupplier(ordervo.getSupplier());
+                        if(sy2.getInventoryCcode().substring(0,2).equals("09")){
+                            sy.setGarmentFactory(ordervo.getSupplier());
+                        }
                         sy2.setSupplierCode(ordervo.getSupplierCode());
                     }
                     if(sy2.getOmpoIdItem()==null || sy2.getOmpoIdItem().equals("")){