private void createFetch_Click(object sender, EventArgs e)
        {
            #region 保存现有的用料(配件)信息
            List<SQLObj> listSql = new List<SQLObj>();
            SaveMaterialsData(listSql, strReceiveId);
            bool isSecess = DBHelper.BatchExeSQLMultiByTrans(opName, listSql);
            #endregion
            UCFetchMaterialAddOrEdit MaterialAdd = new UCFetchMaterialAddOrEdit();
            UCFetchMaterialManager ucManager = new UCFetchMaterialManager();
            MaterialAdd.wStatus = WindowStatus.Add;
            MaterialAdd.uc = ucManager;
            MaterialAdd.strBefore_orderId = strReceiveId;
            MaterialAdd.CreateFetch();
            base.addUserControl(MaterialAdd, "领料单-新增", "MaterialEdit" + MaterialAdd.strId, this.Tag.ToString(), this.Name);
            isAutoClose = true;

        }
Example #2
0
 private void picWxll_Click(object sender, EventArgs e)
 {
     UCFetchMaterialManager uc = new UCFetchMaterialManager();
     string tag = "CL_RepairBusiness_FetchMaterial|CL_RepairBusiness|CL_RepairBusiness_Reserve";
     UCBase.AddUserControl(uc, "领料单", "CL_RepairBusiness_FetchMaterial", tag, "");
 }