沈静伟 4 лет назад
Родитель
Сommit
9da5b89ed9
1 измененных файлов с 3 добавлено и 3 удалено
  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("", "对冲凭证必须为负数");