|
@@ -12,6 +12,7 @@ import nc.ui.hr.frame.bill.manage.ManageDataModel;
|
|
|
import nc.ui.hr.frame.button.AbstractBtnReg;
|
|
|
import nc.ui.hr.frame.button.BtnStateReg;
|
|
|
import nc.ui.pub.bill.BillCardPanel;
|
|
|
+import u8c.ui.mmpac.action.CardRefreshAction;
|
|
|
import u8c.ui.mmpac.action.GenOtheroutinAction;
|
|
|
import u8c.ui.mmpac.action.OrderAddAction;
|
|
|
import u8c.ui.mmpac.action.OrderApproveAction;
|
|
@@ -23,12 +24,14 @@ import u8c.ui.mmpac.action.OrderQueryAction;
|
|
|
import u8c.ui.mmpac.action.OrderReturnFromCardToListAction;
|
|
|
import u8c.ui.mmpac.action.OrderSaveAction;
|
|
|
import u8c.ui.mmpac.action.OrderUnApproveAction;
|
|
|
+import u8c.ui.mmpac.action.OutSourcingAction;
|
|
|
import u8c.ui.mmpac.action.PrintBarcodeAction;
|
|
|
import u8c.ui.mmpac.action.PushMaterialAction;
|
|
|
import u8c.ui.mmpac.action.PushOtherInAction;
|
|
|
import u8c.ui.mmpac.action.PushOtherOutAction;
|
|
|
import u8c.ui.mmpac.action.PushProductAction;
|
|
|
import u8c.ui.mmpac.action.PushSaleOutAction;
|
|
|
+import u8c.ui.mmpac.action.UpdateColorAction;
|
|
|
import u8c.ui.mmpac.datamodel.OrderDataModel;
|
|
|
import u8c.ui.mytest.button.MyBtnStateReg;
|
|
|
|
|
@@ -60,20 +63,28 @@ public class OrderTestUI extends FrameUI{
|
|
|
|
|
|
|
|
|
|
|
|
- getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_GENOUTIN);
|
|
|
+
|
|
|
+ getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_PRINTBARCODE);
|
|
|
getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_boExportImport);
|
|
|
getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_ADDPRAYBILL);
|
|
|
- getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_PRINTBARCODE);
|
|
|
+ getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_WEIWAI);
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
getBtnManager().addChildButtonsByIDs(AbstractBtnReg.USERBTN_ADDPRAYBILL ,
|
|
|
new int []{AbstractBtnReg.USERBTN_PUSHMATERIAL,AbstractBtnReg.USERBTN_PUSHPRODUCT,
|
|
|
AbstractBtnReg.USERBTN_PUSHOTHEROUT,AbstractBtnReg.USERBTN_PUSHOTHERIN,AbstractBtnReg.USERBTN_PUSHSALEOUT});
|
|
|
|
|
|
getBtnManager().addChildButtonsByIDs(AbstractBtnReg.USERBTN_boExportImport ,
|
|
|
new int []{AbstractBtnReg.SYSBTN_EXPORT,AbstractBtnReg.SYSBTN_IMPORT});
|
|
|
-
|
|
|
|
|
|
|
|
|
+ getBtnManager().addChildButtonsByIDs(AbstractBtnReg.USERBTN_WEIWAI ,
|
|
|
+ new int []{AbstractBtnReg.USERBTN_isweiwai,AbstractBtnReg.USERBTN_GENOUTIN,AbstractBtnReg.USERBTN_gcolor,AbstractBtnReg.USERBTN_Refresh});
|
|
|
+
|
|
|
|
|
|
+
|
|
|
+ getBtnManager().regCmd(AbstractBtnReg.USERBTN_PRINTBARCODE, new PrintBarcodeAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_ADD, new OrderAddAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_EDIT, new OrderEditAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_DELETE, new OrderDeleteAction(this));
|
|
@@ -95,8 +106,9 @@ public class OrderTestUI extends FrameUI{
|
|
|
getBtnManager().regCmd(AbstractBtnReg.USERBTN_PUSHOTHEROUT, new PushOtherOutAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.USERBTN_PUSHOTHERIN, new PushOtherInAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.USERBTN_PUSHSALEOUT, new PushSaleOutAction(this));
|
|
|
- getBtnManager().regCmd(AbstractBtnReg.USERBTN_PRINTBARCODE, new PrintBarcodeAction(this));
|
|
|
-
|
|
|
+ getBtnManager().regCmd(AbstractBtnReg.USERBTN_isweiwai, new OutSourcingAction(this));
|
|
|
+ getBtnManager().regCmd(AbstractBtnReg.USERBTN_gcolor, new UpdateColorAction(this));
|
|
|
+ getBtnManager().regCmd(AbstractBtnReg.USERBTN_Refresh, new CardRefreshAction(this));
|
|
|
getBtnManager().adjustButtonOrder(new int[] {
|
|
|
AbstractBtnReg.SYSBTN_ADD,
|
|
|
AbstractBtnReg.SYSBTN_EDIT,
|
|
@@ -121,7 +133,12 @@ public class OrderTestUI extends FrameUI{
|
|
|
AbstractBtnReg.USERBTN_PUSHOTHEROUT,
|
|
|
AbstractBtnReg.USERBTN_PUSHOTHERIN,
|
|
|
AbstractBtnReg.USERBTN_PUSHSALEOUT,
|
|
|
+ AbstractBtnReg.USERBTN_WEIWAI,
|
|
|
+ AbstractBtnReg.USERBTN_gcolor,
|
|
|
+ AbstractBtnReg.USERBTN_isweiwai,
|
|
|
+ AbstractBtnReg.USERBTN_Refresh,
|
|
|
AbstractBtnReg.USERBTN_PRINTBARCODE
|
|
|
+
|
|
|
}
|
|
|
);
|
|
|
}
|