Prechádzať zdrojové kódy

核销单选择收入凭证时计算未核销金额

沈静伟 4 rokov pred
rodič
commit
85542b82c6
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/apps/twriteoffbill/twriteoffbill.java

+ 1 - 0
src/apps/twriteoffbill/twriteoffbill.java

@@ -186,6 +186,7 @@ public class twriteoffbill extends PaoCust {
             if (!ficashbillSet.isEmpty()) {
             if (!ficashbillSet.isEmpty()) {
                 double famount = ficashbillSet.getPao(0).getDouble("famount");
                 double famount = ficashbillSet.getPao(0).getDouble("famount");
                 double fwriteoffamount = ficashbillSet.getPao(0).getDouble("fwriteoffamount");
                 double fwriteoffamount = ficashbillSet.getPao(0).getDouble("fwriteoffamount");
+                setValue("funwriteoffamount", Math.add(famount, -fwriteoffamount), 11L);
                 setValue("fwriteoffamount", Math.add(famount, -fwriteoffamount), 11L);
                 setValue("fwriteoffamount", Math.add(famount, -fwriteoffamount), 11L);
             }
             }
         } else if ("FAGENTNUM".equals(fieldname)) {
         } else if ("FAGENTNUM".equals(fieldname)) {