Pārlūkot izejas kodu

凭证可以为0

沈静伟 4 gadi atpakaļ
vecāks
revīzija
9da5b89ed9
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      src/apps/ficashbill/ficashbill.java

+ 3 - 3
src/apps/ficashbill/ficashbill.java

@@ -495,9 +495,9 @@ public class ficashbill extends PaoCust {
                     throw new P2AppException("", "金额不可小于0");
                 }
             }
-            if (getDouble(fieldname) == 0) {
-                throw new P2AppException("", "金额不可等于0");
-            }
+//            if (getDouble(fieldname) == 0) {
+//                throw new P2AppException("", "金额不可等于0");
+//            }
             if (getName().equalsIgnoreCase(getString("fsourceobject"))) {
                 if (getDouble(fieldname) >= 0) {
                     throw new P2AppException("", "对冲凭证必须为负数");