|
@@ -22,6 +22,7 @@ import u8c.ui.mytest.action.DemandEditAction;
|
|
|
import u8c.ui.mytest.action.DemandExportAction;
|
|
|
import u8c.ui.mytest.action.DemandImportAction;
|
|
|
import u8c.ui.mytest.action.DemandQueryAction;
|
|
|
+import u8c.ui.mytest.action.DemandReturnFromCardToListAction;
|
|
|
import u8c.ui.mytest.action.DemandSaveAction;
|
|
|
import u8c.ui.mytest.action.DemandUnApproveAction;
|
|
|
import u8c.ui.mytest.button.DemandBtnStateReg;
|
|
@@ -35,7 +36,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);
|
|
@@ -52,12 +53,12 @@ public class DemandTestUI extends FrameUI{
|
|
|
// getBtnManager().addButtonByID(AbstractBtnReg.SYSBTN_EXPORT);
|
|
|
// getBtnManager().addButtonByID(AbstractBtnReg.SYSBTN_IMPORT);
|
|
|
// getBtnManager().addButtonByID(AbstractBtnReg.USERBTN_ADDPRAYBILL);
|
|
|
- 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().regCmd(AbstractBtnReg.SYSBTN_ADD, new DemandAddAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_EDIT, new DemandEditAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_DELETE, new DemandDeleteAction(this));
|
|
@@ -68,7 +69,7 @@ public class DemandTestUI extends FrameUI{
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_ADD_LINE, new AddLineAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_EDIT_LINE, new EditLineAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_DEL_LINE, new DeleteLineAction(this));
|
|
|
- getBtnManager().regCmd(AbstractBtnReg.SYSBTN_RETURN, new ReturnFromCardToListAction(this));
|
|
|
+ getBtnManager().regCmd(AbstractBtnReg.SYSBTN_RETURN, new DemandReturnFromCardToListAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_EXAMINE, new DemandApproveAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_CANCELEXAMINE, new DemandUnApproveAction(this));
|
|
|
getBtnManager().regCmd(AbstractBtnReg.SYSBTN_EXPORT, new DemandExportAction(this));
|
|
@@ -78,7 +79,7 @@ public class DemandTestUI extends FrameUI{
|
|
|
|
|
|
|
|
|
|
|
|
- // ��ť����
|
|
|
+ // 锟斤拷钮锟斤拷锟斤拷
|
|
|
getBtnManager().adjustButtonOrder(new int[] {
|
|
|
AbstractBtnReg.SYSBTN_ADD,
|
|
|
AbstractBtnReg.SYSBTN_EDIT,
|
|
@@ -102,44 +103,44 @@ public class DemandTestUI extends FrameUI{
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- protected MainPanel createMainPanel() { // ������
|
|
|
+ protected MainPanel createMainPanel() { // 锟斤拷锟斤拷锟斤拷
|
|
|
ManageDataModel model = (ManageDataModel) getDataModel();
|
|
|
return new DemandMainPanel(this, model.getBillTempletCode(), model.getBillTempletBusiType());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- protected TopPanel createTopPanel() { //�������
|
|
|
+ protected TopPanel createTopPanel() { //锟斤拷锟斤拷锟斤拷锟�
|
|
|
return new DemandTopPanel(this);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- protected BtnStateReg createButtonStateRegister() { // ��ť״̬ע����
|
|
|
+ protected BtnStateReg createButtonStateRegister() { // 锟斤拷钮状态注锟斤拷锟斤拷
|
|
|
return new DemandBtnStateReg(getDataModel().getState());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- protected DemandDataModel createDataModel() { // ������ģ����
|
|
|
+ protected DemandDataModel createDataModel() { // 锟斤拷锟斤拷锟斤拷模锟斤拷锟斤拷
|
|
|
return new DemandDataModel();
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public boolean needLeftPanel() { // ����Ҫ��˵���
|
|
|
+ public boolean needLeftPanel() { // 锟斤拷锟斤拷要锟斤拷说锟斤拷锟�
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public boolean needTopPanel() { //��Ҫ�������
|
|
|
+ public boolean needTopPanel() { //锟斤拷要锟斤拷锟斤拷锟斤拷锟�
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String getQueryNodeKey() { // �ڡ����ܽڵ�Ĭ��ģ�����á��в�ѯģ��Ľڵ��ʶ
|
|
|
- // (����������ò��ԣ������ѯ��ťʱ�ͻᱨ��ǰ�û�û�п��õIJ�ѯģ��)
|
|
|
+ public String getQueryNodeKey() { // 锟节★拷锟斤拷锟杰节碉拷默锟斤拷模锟斤拷锟斤拷锟矫★拷锟叫诧拷询模锟斤拷慕诘锟斤拷识
|
|
|
+ // (锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷貌锟斤拷裕锟斤拷锟斤拷锟斤拷询锟斤拷钮时锟酵会报锟斤拷前锟矫伙拷没锟叫匡拷锟矫的诧拷询模锟斤拷)
|
|
|
return "400303";
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public String getModuleCode() { // �ڵ����
|
|
|
+ public String getModuleCode() { // 锟节碉拷锟斤拷锟�
|
|
|
return "400303";
|
|
|
}
|
|
|
|