Parcourir la source

销售发票分摊

zthwr il y a 9 mois
Parent
commit
3313fefe65
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      mmpac/so/src/client/nc/ui/so/so002/FtCountDLG.java

+ 6 - 1
mmpac/so/src/client/nc/ui/so/so002/FtCountDLG.java

@@ -21,6 +21,7 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.awt.BorderLayout;
+import java.awt.Color;
 import java.awt.Dimension;
 import java.awt.FlowLayout;
 import java.awt.event.ActionEvent;
@@ -207,7 +208,7 @@ public class FtCountDLG extends UIDialog implements BillEditListener {
 			jlcardPanel = new BillCardPanel();
 			jlcardPanel.setName("jlcardPanel");
 			jlcardPanel.loadTemplet("FT99", null,ce.getUser().getPrimaryKey(),ce.getCorporation().getPrimaryKey());
-	//		billListPanel.setTatolRowShow(true);  //合计
+			jlcardPanel.setTatolRowShow(true);  //合计
 		}
 		return this.jlcardPanel;
 	}
@@ -396,6 +397,10 @@ public class FtCountDLG extends UIDialog implements BillEditListener {
 			 this.getBillCardPanel().setBodyValueAt(10*(i+1)+"", rowcount - 1, "row"); 
 			 this.getBillCardPanel().setBodyValueAt(entry.getKey(), rowcount - 1, "fttype");//开票类型
 			 this.getBillCardPanel().setBodyValueAt(entry.getValue(), rowcount - 1, "totalnum");//合计数量
+			 this.getBillCardPanel().getBillModel().setBackground(Color.yellow,i,
+                     this.getBillCardPanel().getBillModel().getItemIndex("row"));
+                     
+			 
 			 i+=1;
 		 }