Browse Source

MRP运算清单按钮最新

zthwr 1 year ago
parent
commit
6b885fba94
1 changed files with 8 additions and 7 deletions
  1. 8 7
      mm/mm/src/client/u8c/ui/mytest/button/MymmBtnStateReg.java

+ 8 - 7
mm/mm/src/client/u8c/ui/mytest/button/MymmBtnStateReg.java

@@ -18,23 +18,24 @@ public class MymmBtnStateReg extends ManageBtnStateReg {
 		// 初始
         ButtonStateVO btnStateVO = new ButtonStateVO();
         btnStateVO.setStateID(StateRegister.STATE_INIT);
-        btnStateVO.setEnableBtnIDs(new int[]{AbstractBtnReg.SYSBTN_QUERY, AbstractBtnReg.SYSBTN_ADD, AbstractBtnReg.SYSBTN_REFRESH,AbstractBtnReg.USERBTN_YS});
-        btnStateVO.setVisibleBtnIDs(new int[]{AbstractBtnReg.SYSBTN_EDIT, AbstractBtnReg.SYSBTN_DELETE, AbstractBtnReg.SYSBTN_EXAMINE,AbstractBtnReg.SYSBTN_CANCELEXAMINE});
+		btnStateVO.setEnableBtnIDs(new int[] {AbstractBtnReg.SYSBTN_QUERY,AbstractBtnReg.SYSBTN_REFRESH,AbstractBtnReg.USERBTN_YS});
+		btnStateVO.setVisibleBtnIDs(new int[] {AbstractBtnReg.SYSBTN_EDIT,AbstractBtnReg.SYSBTN_DELETE, AbstractBtnReg.SYSBTN_EXAMINE,AbstractBtnReg.SYSBTN_CANCELEXAMINE,
+			AbstractBtnReg.USERBTN_PUSHPARYBILL,AbstractBtnReg.USERBTN_PUSHTRANSTOR});
         addStateVO(btnStateVO.getStateID(), btnStateVO);
         
 		// 表头行选择
         btnStateVO = new ButtonStateVO();
         btnStateVO.setStateID(StateRegister.STATE_LINE_SELECTED);
-        btnStateVO.setEnableBtnIDs(new int[]{AbstractBtnReg.SYSBTN_EXAMINE_OPS,AbstractBtnReg.SYSBTN_QUERY, AbstractBtnReg.SYSBTN_ADD, AbstractBtnReg.SYSBTN_EDIT,
-            AbstractBtnReg.SYSBTN_DELETE,AbstractBtnReg.SYSBTN_EXAMINE,AbstractBtnReg.SYSBTN_CANCELEXAMINE,/*AbstractBtnReg.SYSBTN_EXPORT,*/AbstractBtnReg.USERBTN_YS});
-        btnStateVO.setVisibleBtnIDs(new int[]{ });
+		btnStateVO.setEnableBtnIDs(new int[] {AbstractBtnReg.SYSBTN_EXAMINE_OPS,AbstractBtnReg.SYSBTN_QUERY,AbstractBtnReg.SYSBTN_EDIT,AbstractBtnReg.SYSBTN_DELETE,AbstractBtnReg.SYSBTN_EXAMINE,
+			AbstractBtnReg.SYSBTN_CANCELEXAMINE,AbstractBtnReg.USERBTN_YS});
+        btnStateVO.setVisibleBtnIDs(new int[]{AbstractBtnReg.USERBTN_PUSHPARYBILL, AbstractBtnReg.USERBTN_PUSHTRANSTOR});
         addStateVO(btnStateVO.getStateID(), btnStateVO);
         
         // 浏览
         btnStateVO = new ButtonStateVO();
         btnStateVO.setStateID(StateRegister.STATE_NOTEDIT);
-        btnStateVO.setEnableBtnIDs(new int[]{AbstractBtnReg.SYSBTN_ADD, AbstractBtnReg.SYSBTN_EDIT, AbstractBtnReg.SYSBTN_DELETE,
-            AbstractBtnReg.SYSBTN_RETURN,AbstractBtnReg.SYSBTN_EXAMINE,AbstractBtnReg.SYSBTN_CANCELEXAMINE,/*AbstractBtnReg.SYSBTN_EXPORT,*/AbstractBtnReg.USERBTN_YS});
+		btnStateVO.setEnableBtnIDs(new int[] {AbstractBtnReg.SYSBTN_EDIT,AbstractBtnReg.SYSBTN_DELETE,AbstractBtnReg.SYSBTN_RETURN,AbstractBtnReg.SYSBTN_EXAMINE,AbstractBtnReg.SYSBTN_CANCELEXAMINE,
+			AbstractBtnReg.USERBTN_YS,AbstractBtnReg.USERBTN_PUSHPARYBILL,AbstractBtnReg.USERBTN_PUSHTRANSTOR});
         btnStateVO.setVisibleBtnIDs(new int[]{AbstractBtnReg.SYSBTN_EXAMINE_OPS,AbstractBtnReg.SYSBTN_QUERY, AbstractBtnReg.SYSBTN_REFRESH});
         addStateVO(btnStateVO.getStateID(), btnStateVO);