lu
2025-03-29 69ec7e59f74d0797a1350fbb5ef1d800dfdb8185
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkTechnique.cs
@@ -16,7 +16,7 @@
    public partial class Frm_WorkTechnique : DevExpress.XtraEditors.XtraForm
    {
        private List<FilterEntity> _filterList = new List<FilterEntity>();
        private readonly string _webServiceName = "MesItemsManager/";
        private readonly string _webServiceName = "WorkTechnique/";
        public Frm_WorkTechnique()
        {
            InitializeComponent();
@@ -48,7 +48,6 @@
            btnSelect.Click += (s, e) =>
            {
                var frm = new SelectProcess();
                //赋值给明细表
                frm.UpdateParent += (ss, ee) =>
                {
                    try
@@ -58,8 +57,9 @@
                        foreach (dynamic dym in lst)
                        {
                            DataRow _row = _Table.NewRow();
                            _row["guid"] = "";
                            _row["pGuid"] = "";
                            _row["fSeq"] = "001";
                            _row["statStatus"] = "Y-是";
                            _row["collectionName"] = "空";
                            _row["processNo"] = dym.processNo;
                            _row["processName"] = dym.processName;
                            _Table.Rows.Add(_row);
@@ -70,6 +70,7 @@
                        gvMx1.CloseEditor();
                        gvMx1.PostEditor();
                        gvMx1.UpdateCurrentRow();
                        gvMx1.BestFitColumns();
                    }
                    catch (Exception ex)
                    {
@@ -159,7 +160,7 @@
            try
            {
                var strReturn = UtilityHelper.HttpPost("",
                    _webServiceName + "GetListPage", json);
                    "MesItemsManager/GetListPage", json);
                var dd = UtilityHelper.ReturnToTablePage(strReturn);
                if (dd.rtnCode > 0)
                {
@@ -268,6 +269,14 @@
        /// <param name="e"></param>
        private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e)
        {
            string rowGuid = "", rowName = "";
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_itemNo, gridView1);
            if (string.IsNullOrEmpty(rowGuid))
            {
                ToolBox.MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            getModel(rowGuid);
            List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
            gvList.Add(gvMx1);
            UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, true, gvList);
@@ -289,7 +298,7 @@
            try
            {
                var strJson = UtilityHelper.HttpPost("",
                     "WorkTechnique/GetModel",
                    _webServiceName+ "GetModel",
                    JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                if (_rtn.rtnCode > 0)