Browse Source

回签单信息为空只在海盐站点生效

hu 3 năm trước cách đây
mục cha
commit
8c3c69ceef
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 4 1
      src/apps/saorder/saorder.java

+ 4 - 1
src/apps/saorder/saorder.java

@@ -646,7 +646,10 @@ public class saorder extends BaseSaorder {
         super.submitvalidate(issubmit);
         super.submitvalidate(issubmit);
         if ("".equals(getString("fsignbacknum"))) {
         if ("".equals(getString("fsignbacknum"))) {
             if ("工具订单".equals(getString("ftype")) || "标准订单".equals(getString("ftype")) || "项目订单".equals(getString("ftype"))) {
             if ("工具订单".equals(getString("ftype")) || "标准订单".equals(getString("ftype")) || "项目订单".equals(getString("ftype"))) {
-                throw new P2AppException("", "回签单信息不可为空!");
+            	if(getSite().equals("HY")) {
+            		 throw new P2AppException("", "回签单信息不可为空!");
+            	}
+               
             }
             }
         }
         }
         if ("工具借出单".equals(getString("ftype"))) {
         if ("工具借出单".equals(getString("ftype"))) {