|
@@ -37,7 +37,7 @@ public class DemandTestUI extends FrameUI{
|
|
|
|
|
|
@Override
|
|
|
protected void initButtons() {
|
|
|
-
|
|
|
+
|
|
|
getBtnManager().addButtonByID(AbstractBtnReg.SYSBTN_ADD);
|
|
|
getBtnManager().addButtonByID(AbstractBtnReg.SYSBTN_EDIT);
|
|
|
getBtnManager().addButtonByID(AbstractBtnReg.SYSBTN_DELETE);
|
|
@@ -54,13 +54,13 @@ public class DemandTestUI extends FrameUI{
|
|
|
|
|
|
|
|
|
|
|
|
- getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_boExportImport);
|
|
|
+ getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_boExportImport);
|
|
|
getBtnManager().addChildButtonsByIDs(AbstractBtnReg.USERBTN_boExportImport ,
|
|
|
new int []{AbstractBtnReg.SYSBTN_EXPORT,AbstractBtnReg.SYSBTN_IMPORT});
|
|
|
getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_ClOSE);
|
|
|
getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_PURCHASEREQUISITION);
|
|
|
|
|
|
-
|
|
|
+
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_ADD, new DemandAddAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_EDIT, new DemandEditAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_DELETE, new DemandDeleteAction(this));
|
|
@@ -81,7 +81,7 @@ public class DemandTestUI extends FrameUI{
|
|
|
getBtnManager().regCmd(AbstractBtnReg.USERBTN_PURCHASEREQUISITION, new DemandPurchaseRequisitionAction(this));
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
getBtnManager().adjustButtonOrder(new int[] {
|
|
|
AbstractBtnReg.SYSBTN_ADD,
|
|
|
AbstractBtnReg.SYSBTN_EDIT,
|
|
@@ -138,12 +138,12 @@ public class DemandTestUI extends FrameUI{
|
|
|
|
|
|
@Override
|
|
|
public String getQueryNodeKey() {
|
|
|
- return "400303";
|
|
|
+ return "40H202";
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public String getModuleCode() {
|
|
|
- return "400303";
|
|
|
+ return "40H202";
|
|
|
}
|
|
|
|
|
|
public BillCardPanel getBillCardPanel() {
|