Esempio n. 1
0
        // BOM 복사
        public void BOMCopySettings(ProductManagementForm frm, EmployeeVO employee, List <int> ProductIDs, bool IsBomCopy)
        {
            this.ProductIDs = ProductIDs;
            this.IsBomCopy  = IsBomCopy;

            CheckedList = new List <BomVO>();

            BOMBindingSettings(frm, employee, true, "");
        }
Esempio n. 2
0
        private void BOMBindingSettings(ProductManagementForm frm, EmployeeVO employee, bool BomEnrollCheck, string ProductName)
        {
            this.frm            = frm;
            this.employee       = employee;
            this.BomEnrollCheck = BomEnrollCheck;

            txtProductName.Text = ProductName;
            SelectedAllMaterial = bomSv.SelectMaterialSettings("반제품", "재료", ProductID);
            dgv.DataSource      = SelectedAllMaterial; // 반제품, 재료만 조회

            DataSourceBinding();
        }
Esempio n. 3
0
        // BOM 등록 및 수정
        public void BOMSettings(ProductManagementForm frm, EmployeeVO employee, bool BomEnrollCheck, int ProductID,
                                string ProductName, char BOMEnrollStatus)
        {
            this.ProductID       = ProductID;
            this.BOMEnrollStatus = BOMEnrollStatus;

            if (BomEnrollCheck == true)
            {
                this.Text      = "BOM 수정";
                btnSubmit.Text = "수정";
            }

            BOMBindingSettings(frm, employee, BomEnrollCheck, ProductName);
        }