lu
2024-11-27 db99fcbc8ce2de42ed4c9f06a3df6b23fc07e9b4
DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.cs
@@ -138,14 +138,15 @@
            toolBarMenu1.guidKey = "";
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_hNo, gridView1);
                lbGuid, txt_hNo, gridView1, "hNo");
            //toolBarMenu1.guidKey = rowGuid;
            if (string.IsNullOrEmpty(rowGuid))
            {
                MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            //MsgHelper.Warning(rowGuid);
            if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定审核吗?"))
                return;
            UcLoading _loading = new UcLoading();
            var _obj = new
            {
@@ -157,16 +158,13 @@
                    _webServiceName + "EditModelSubmit",
                    JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                MsgHelper.Warning(_rtn.rtnData.outMsg.ToString());
                if (_rtn.rtnCode > 0)
                {
                    if (xtraTabControl1.SelectedTabPageIndex == 1)
                        getModel(lbGuid.Text.Trim(), false, 999);
                    else
                        getPageList(1, UtilityHelper.GetPageSize());
                }
                else
                {
                    MsgHelper.Warning(_rtn.rtnMsg);
                }
            }
            catch (Exception ex)
@@ -365,7 +363,7 @@
                    _obj.list.Add(new
                    {
                        Guid = _guid,
                        AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()),
                        AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["caaGuid"].ToString()),
                        LineId = int.Parse(row["daa015"].ToString()),//产线id
                        Yjkgsj = (row["mesStartProd"].ToString()),//预计开工时间
                        Jhrs = row["daa015"].ToString(),//计划人数