Browse Source

服务费报表界面调整

lyr 2 weeks ago
parent
commit
f098f2ef6f

+ 14 - 14
hr/hr/src/client/nc/ui/hr/baod_orders/view/ServiceChargeAllocationUI.java

@@ -177,15 +177,15 @@ public class ServiceChargeAllocationUI extends ToftPanel {
 	private UIPanel getUIPanel0() {
 		if (this.ivjUIPanel0 == null) {
 			try {
-				ivjUIPanel0 = new UIPanel();
-				ivjUIPanel0.setLayout(new BorderLayout());
+				this.ivjUIPanel0 = new UIPanel();
+				this.ivjUIPanel0.setLayout(new BorderLayout());
 				UIPanel sel = new UIPanel();
 				sel.setLayout(new FlowLayout());
 				sel.add(getOrgLabel());
 				sel.add(getOrgPanel());
 				sel.add(getperiodclabel());
 				sel.add(getperiodpanel());
-				ivjUIPanel0.add(sel, BorderLayout.WEST);
+				this.ivjUIPanel0.add(sel, BorderLayout.WEST);
 			} catch (Throwable ivjExc) {
 				handleException(ivjExc);
 			}
@@ -222,19 +222,19 @@ public class ServiceChargeAllocationUI extends ToftPanel {
 	}
 
 	private JProgressBar getprogressbar() {
-		if (pb == null) {
-			pb = new JProgressBar();
-			pb.setIndeterminate(false);
+		if (this.pb == null) {
+			this.pb = new JProgressBar();
+			this.pb.setIndeterminate(false);
 		}
 		return pb;
 	}
 
 	private UIPanel getUIPanel2() {
-		if (ivjUIPanel2 == null) {
-			ivjUIPanel2 = new UIPanel();
-			ivjUIPanel2.setLayout(new BorderLayout());
-			ivjUIPanel2.setPreferredSize(new Dimension(0, 500));
-			ivjUIPanel2.add(getTablePanel(), BorderLayout.CENTER);
+		if (this.ivjUIPanel2 == null) {
+			this.ivjUIPanel2 = new UIPanel();
+			this.ivjUIPanel2.setLayout(new BorderLayout());
+			this.ivjUIPanel2.setPreferredSize(new Dimension(0, 500));
+			this.ivjUIPanel2.add(getTablePanel(), BorderLayout.CENTER);
 		}
 		return this.ivjUIPanel2;
 	}
@@ -618,9 +618,9 @@ public class ServiceChargeAllocationUI extends ToftPanel {
 			}
 		};
 		tablepanel.getTable().setModel(model);
-		tablepanel.getTable().setSelectionMode(1);
-		tablepanel.getTable().setAutoResizeMode(0);
-		tablepanel.getTable().setColumnWidth(new int[] { 300, 150, 150, 280, 150, 150, 190, 190, 160 });
+//		tablepanel.getTable().setSelectionMode(1); 2025-03-21
+//		tablepanel.getTable().setAutoResizeMode(0);
+		tablepanel.getTable().setColumnWidth(new int[] { 300, 160, 160, 160, 160, 160, 160, 160, 160 });
 		TableCellRenderer renderer = new DefaultTableCellRenderer() {
 			@Override
 			public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {