예제 #1
0
 public override void InitDrop()
 {
     G.BLL.Sys.ND_UserLogic userlogic = new G.BLL.Sys.ND_UserLogic();
     G.BLL.ERP.BaseData.DM_SUPPLIERLogic supplierlogic = new G.BLL.ERP.BaseData.DM_SUPPLIERLogic();
     Initialize.InitDropDown(DROP_SUPCODE, "SUPPLIER", supplierlogic, true);
     Initialize.InitDropDown(DROP_OPERATOR, "USER", userlogic, true);
     Initialize.InitDropDown(DROP_AUDITOR, "USER", userlogic, true);
 }
예제 #2
0
 public override void InitDrop()
 {
     G.BLL.Sys.ND_UserLogic userlogic = new G.BLL.Sys.ND_UserLogic();
     G.BLL.ERP.BaseData.DM_SUPPLIERLogic    supplierlogic = new G.BLL.ERP.BaseData.DM_SUPPLIERLogic();
     G.BLL.ERP.BaseData.DM_CUSTOMERLogic    custlogic     = new G.BLL.ERP.BaseData.DM_CUSTOMERLogic();
     G.BLL.ERP.Assist.SM_ASSISTMSUPPLYLogic assistlogic   = new BLL.ERP.Assist.SM_ASSISTMSUPPLYLogic();
     Initialize.InitDropDown(DROP_OPERATOR, "USER", userlogic, true);
     Initialize.InitDropDown(DROP_AUDITOR, "USER", userlogic, true);
     Initialize.InitDropDown(DROP_CHECKEDPER, "USER", userlogic, true);
     Initialize.InitDropDown(DROP_ASSISTMSCODE, "ASSISTMS", assistlogic, true);
 }
예제 #3
0
 private void InitDrop()
 {
     G.BLL.Sys.ND_UserLogic userlogic = new G.BLL.Sys.ND_UserLogic();
     G.BLL.ERP.BaseData.DM_SUPPLIERLogic supplierlogic = new G.BLL.ERP.BaseData.DM_SUPPLIERLogic();
     G.BLL.ERP.BaseData.DM_ITEMLogic     itemlogic     = new G.BLL.ERP.BaseData.DM_ITEMLogic();
     G.BLL.ERP.BaseData.DM_COLORLogic    colorlogic    = new G.BLL.ERP.BaseData.DM_COLORLogic();
     G.BLL.ERP.BaseData.DM_MOULDLogic    mouldlogic    = new G.BLL.ERP.BaseData.DM_MOULDLogic();
     G.BLL.Sys.ND_ORGINAZITIONLogic      orglogic      = new G.BLL.Sys.ND_ORGINAZITIONLogic();
     Initialize.InitDropDown(DROP_APPLYUSER, "USER", userlogic, true);
     Initialize.InitDropDown(DROP_PURUSER, "USER", userlogic, true);
     Initialize.InitDropDown(DROP_SUPCODE, "SUPPLIER", supplierlogic, true);
     DROP_ITEMCODE.CustomerDropDownForm = new G.Erp.BaseData.ItemSearch();
     Initialize.InitDropDown(DROP_ITEMCODE, "ITEM", itemlogic, true);
     Initialize.InitDropDown(DROP_ATTRIBUTEA, "COLORNAME", colorlogic, true);
     DROP_ATTRIBUTEB.CustomerDropDownForm = new G.Erp.BaseData.MouldSearch();
     Initialize.InitDropDown(DROP_ATTRIBUTEB, "MOULD", mouldlogic, true);
     Initialize.InitDropDown(DROP_DEPCODE, "ORG", orglogic, true);
 }
예제 #4
0
        public void GYS()
        {
            try
            {
                SM_PORDER porder = this.editData as SM_PORDER;
                if (porder.SUPCODE != "")
                {
                    string supcode = G.Core.GConvert.ToString(porder.SUPCODE);
                    G.BLL.ERP.BaseData.DM_SUPPLIERLogic logic = new G.BLL.ERP.BaseData.DM_SUPPLIERLogic();
                    DM_SUPPLIER obj = logic.ExecuteSelect(CK.K["SUPPCODE"].Eq(supcode), OrderBy.Parse("SUPPCODE"), 0, 0)[0];

                    DM_SUPPLIEREDIT supplieredit = new DM_SUPPLIEREDIT();
                    supplieredit.CurEditStatus = EditorStatus.Look;
                    supplieredit.SetData(obj);
                    supplieredit.ShowDialog();
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }